QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 559|回复: 1

我的samba配置,就是不行呀,windows2000 提

[复制链接]
发表于 2003-4-11 13:38:53 | 显示全部楼层 |阅读模式
#======================= Global Settings =====================================
[global]
   workgroup = WORKGROUP
   netbios name = YITINGLINUX
   server string = linux file server
   hosts allow = 10.69.52.137, 10.69.52.77, 10.69.52.
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
  guest account = pcguest
   log file = /var/log/samba/%m.log
   max log size = 0
   security = share
;  password server = <NT-Server-Name>
;  password level = 8
;  uname level = 8
   encrypt passwords = no
   smb passwd file = /etc/samba/smbpasswd
;  ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
   unix password sync = Yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
   pam password change = yes
   uname map = /etc/samba/smbusers
;  include = /etc/samba/smb.conf.%m
   obey pam restrictions = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
;  interfaces = 192.168.12.2/24 192.168.13.2/24
;  remote browse sync = 192.168.3.25 192.168.5.255
;  remote announce = 192.168.1.255 192.168.2.44
;   local master = no
   os level = 33
   domain master = yes
   preferred master = yes
   domain logons = yes
   logon script = %m.bat
   logon script = %U.bat
;   logon path = \\%L\Profiles\%U
;   wins support = yes
   wins server = 10.69.52.77
   wins proxy = yes
   dns proxy = no
;  preserve case = no
;  short preserve case = no
;  default case = lower
;  case sensitive = no

#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = yes
   writable = yes
   valid users = %S
   create mode = 0664
   directory mode = 0775
; map to guest = bad user

; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes

;[printers]
;   comment = All Printers
;   path = /var/spool/samba
;   browseable = no
;   guest ok = no
;   writable = no
;   printable = yes

;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

[public]
   comment = Public Stuff
   path = /usr/download/
   guest ok = yes
   public = yes
   writable = yes
   printable = no
   write list = @staff

;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /home/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

;[pchome]
;  comment = PC Directories
;  path = /usr/local/pc/%m
;  public = no
;  writable = yes

;[public]
;   comment = linux download
;   path = /usr/download/
;   public = yes
;   only guest = no
;   writable = no

;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
发表于 2003-5-28 15:35:32 | 显示全部楼层
你把write list 注示掉
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 14:21 , Processed in 0.077259 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表