[global] # workgroup = NT-Domain-Name or Workgroup-Name workgroup = cauic # netbios name = 机器名 netbios name = linuxzrm # server string is the equivalent of the NT Description field server string = Linuxzou Samba Server # security =用户认证方法: 本地认证(user)或域控制器认证(server) security = user ; security = server # 本地认证时,用此口令文件 smb passwd file = /etc/smbpasswd encrypt passWords = yes guest account = nobody allow hosts = 202.112.162. deny hosts = all [film] available = yes path = /disk1/film