5、al Settings =====================================[global]# workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4# 设定所在工作群组 workgroup = center# server string is the equivalent of the NT Description field# 该主机的解 server string = blah~# This option
6、 is important for security. It allows you to restrict# connections to machines which are on your local network. The# following example restricts access to two C class networks and# the "loopback" interface. For more examples of the syntax see# the smb.
7、conf man page# 允许连线的主机,允许 163.16.1.99 和 127.*.*.* 连线 hosts allow = 163.16.1.99 127.# If you want to automatically load your printer list rather# than setting them up individually then you'll need this# 我没有 printer ,所以有关 printer 的都会关掉; load printers
8、 = yes# Uncomment this if you want a guest account, you must add this to /etc/passwd# otherwise the user "nobody" is used# 这里设定免密码的帐号,你设什麽帐号,连进来的 client就是那个身份,了吗?# 所以我把这儿改成 ftp 这个帐号,因为我 share 出来的目录 owner 是 ftp# 这样我才能以免密码又是 ftp 的身份对目录有完整