|
发表于 2006-6-14 12:39:33
|
显示全部楼层
公司的有几台跑Samba的机器:4.11+Samba2,5.4/6.0+Samba3.
首先Samba并不需要inetd.
其次Samba2跟3的配置文件有些地方不一样,不能互换.
第三,把inted禁用之后,重启电脑,贴sockstat -4l,/etc/rc.conf
第四就是看LOG.
给一个简单的samba2的smb.conf参考
- [global]
- client code page = 936
- workgroup = ServerGroup
- server string = Samba Server
- #security = user
- security = SERVER
- encrypt passwords = Yes
- max log size = 50
- dead time = 0
- os level = 20
- #local master = Yes
- #domain master = Yes
- #preferred master = Yes
- dns proxy = No
- #hosts allow = 10.0. 127.
- [homes]
- comment = Home Directories
- valid users = %S
- write list = %S
- read only = No
- create mask = 0666
- directory mask = 0777
- browseable = No
复制代码 |
|