LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 556|回复: 1

samba + pdc

[复制链接]
发表于 2004-5-23 17:38:42 | 显示全部楼层 |阅读模式
我做了一个samba pdc 主机,但每次从win2000 退出时, 总是提示:

windows 无法为\Device\LanmanRedirector\linux\profiles\wu\prf39.tmp文件保存所有数据。数据已丢失。这个错误可能是由于您的计算机硬件或网络连接的失败造成。请尝试把这份文件保存到别处。

实际上每次从win2000 登入samba pdc 时, 无法从samba pdc上得到正确的profile for win2000. win2000总是从本机上获得profile。

另外, 在win2000上copy samba pdc中的文件速度正常,但是从samba pdc 上copy win2000 中的文件速度慢得让人无法忍受。

下面是我的smb.conf, 望高手给看看有什么地方不对。谢谢。

# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/05/20 00:26:39

# Global parameters
[global]
        client code page = 936
        workgroup = SUSE
        netbios name = LINUX
        server string = Samba %v on (%L)
        security = user
        encrypt passwords = yes
        log file = /var/log/samba/%m.log
        max log size = 0
        map to guest = Bad User
        unix extensions = Yes
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
        printcap name = CUPS
###################################
        os level = 64
        preferred master = yes
        domain master = yes
        local master = yes
        domain logons = yes
        logon script = startup.bat
#       logon script = %U.bat
#       logon home = \\%L\%u
        logon path = \\%L\profiles\%U
        wins support = yes
        dns proxy = no
        time server = Yes
###################################
        printing = cups
        veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        create mask = 0640
        directory mask = 0750
        browseable = no

[netlogon]
        comment = Network Logon Service
        path = /samba/netlogon
        writable = no
        write list = root wu
        follow symlinks = yes
        guest ok = yes

[profiles]
        comment = Roaming profiles directory
        path = /samba/profiles
        read only = no
        create mask = 0600
        directory mask = 0700
        browseable = no

[printers]
        comment = All Printers
        path = /var/tmp
        create mask = 0600
        printable = Yes
        browseable = No

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
发表于 2004-6-3 02:22:03 | 显示全部楼层
权限
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表