|
smb.conf 内容如下:
[global]
log file = /var/log/samba/%m.log
load printers = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
server string = Samba Server
workgroup = Workgroup
os level = 33
security = user
max log size = 0
[homes]
browseable = no
writeable = yes
create mode = 0664
directory mode = 0775
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[public]
comment = Public Stuff
path = /tmp
public = yes
writable = yes
printable = no
从别的机子上访问它,提示输入用户名和口令后,可以访问 public ,读写都没有问题,可是不能打开自己的主目录
smb的版本是:samba-3.0.25b-0.el5.4
请高手指教,谢谢!! |
|