Linux下用Samba作PDC配置方法,window能弹出登录框但是进不去

这个是报错日志
[2015/12/16 23:52:05, 1] smbd/service.c:make_connection_snum(1085)
huangjiale (192.168.241.1) connect to service root initially as user root (uid=0, gid=0) (pid 5684)
[2015/12/16 23:52:12, 1] smbd/service.c:close_cnum(1282)
huangjiale (192.168.241.1) closed connection to service netlogon
[2015/12/16 23:52:22, 1] smbd/service.c:close_cnum(1282)
huangjiale (192.168.241.1) closed connection to service root
[2015/12/17 00:00:04, 0] lib/util_sock.c:read_data(540)
read_data: read failure for 4 bytes to client 192.168.241.1. Error = Connection reset by peer
[2015/12/17 00:00:25, 0] lib/util_sock.c:read_data(540)
read_data: read failure for 4 bytes to client 192.168.241.1. Error = Connection reset by peer

下面是smb.conf的配置
[global]
    workgroup = lduan
    server string = Samba Server Version %v
    # logs split per machine
    # max 50KB per log file, then rotate
    security = user
    passdb backend = tdbsam
    security = user
    domain master = yes
    domain logons = yes
    # the login script name depends on the machine name
    logon script = test.bat
    # the login script name depends on the unix user used
    logon path = \\%N\%U\profile
    logon home =\\%N\%U
    # disables profiles support by specifing an empty path
    local master = yes
    os level = 100
    preferred master = yes
    wins support = yes
    load printers = yes
    cups options = raw
    #obtain list of printers automatically on SystemV

[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
write list =root

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐