huangjialegaoan 2015-12-16 17:15 采纳率: 0%
浏览 2043

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条回答 默认 最新

报告相同问题?

悬赏问题

  • ¥15 Python爬取指定微博话题下的内容,保存为txt
  • ¥15 vue2登录调用后端接口如何实现
  • ¥65 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?