# workgroup = NT-Domain-Name or Workgroup-Name workgroup = calysc netbios name = calys-c # server string is the equivalent of the NT Description field server string = Samba Server
# This option 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.conf man page hosts allow = 210.38.5. 10.0.0. 127. 11.0.0.
# if you want to automatically load your printer list rather # than setting them up individually then you'll need this printcap name = /etc/printcap ; load printers = yes
# It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx printing = lprng
# Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used ; guest account = pcguest
# this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb). max log size = 0
# Security mode. Most people will want user level security. See # security_level.txt for details. security = user # Use password server option only with security = server or # security = domain ; password server =
# Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. ; password level = 8 ; username level = 8
# You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents ; encrypt passwords = yes ; smb passwd file = /etc/samba/smbpasswd
# about the pdc samba
preferred master = yes domain master = yes local master = yes wins support = yes
os level = 100 domain logons = yes logon drive = K: time server = yes admin users = root ; logon path = \\%N\%U\profile ; logon home = \\%N\%U username map = /etc/samba/smbusers
# about pdc path
[homes] comment = Home Directories browseable = no writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons ; [netlogon] ; comment = Network Logon Service ; path = /home/netlogon ; guest ok = yes ; writable = no ; share modes = no 省略........ 以上是我的配置文件,但是我的xp是能識別網域名,但是等入提示:未知的用戶名或密碼 帳戶密碼也沒錯阿 , 那是什麼錯? 防火牆和selinux都關了 。 求解,跪謝。