|
发表于 2004-9-22 18:59:02
|
显示全部楼层
我已經用了
smbpasswd -a root
的密碼了,還是不行哦........但是windows會發現有此域,不用驗證的用戶名和密碼...怎麽回事...
useradd -d /dev/null -c "machine name -peter" -s /bin/false peter$
也運行了..我的windows機器名為peter
192.168.7.112b也就是做samba的那一台...它上面的samba共用等是正常的哦..
用其中的用戶名如sp02001輸入相應的密碼是可以進入的哦..........
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[samba]
writable = yes
path = /public/public
force directory mode = 777
force group = users
guest ok = Yes
force create mode = 777
comment = Public Directory
create mode = 777
directory mode = 777
[sj]
comment = SJ Directory
path = /other/sj
force directory mode = 777
directory mode = 777
create mode = 777
force group = sj
valid users = @sj,@mis
write list = @sj,@mis |
|