怎樣取消登錄samba時的用戶名、密碼提示?

火星人 @ 2014-03-04 , reply:0


怎樣取消登錄samba時的用戶名、密碼提示?

配了一個samba,在windows下訪問時總是提示輸入用戶名密碼,用系統root登錄也登不上,請大家幫忙看看是怎麼回事?謝謝了先


# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-06-16

    workgroup = CHINA
    printing = cups
    printcap name = cups
    printcap cache time = 750
    cups options = raw
    map to guest = Bad User
    include = /etc/samba/dhcp.conf
    logon path = \\%L\profiles\.msprofile
    logon home = \\%L\%U\.9xprofile
    logon drive = P:
    usershare allow guests = Yes

    comment = Home Directories
    browseable = No
    read only = No
    inherit acls = Yes

    comment = Network Profiles Service
    path = %H
    read only = No
    store dos attributes = Yes
    create mask = 0600
    directory mask = 0700

    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/

    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes

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

    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775


    comment = m2000_dailyBuild
    inherit acls = Yes
    path = /export/home
    read only = No
    guest ok = Yes
《解決方案》

http://bbs2.chinaunix.net/thread-1585291-1-2.html
對照點檢一遍吧。
當然第一步,你得有samba用戶。
《解決方案》

已經搞定啦:mrgreen:




[火星人 via ] 怎樣取消登錄samba時的用戶名、密碼提示?已經有211次圍觀

http://www.coctec.com/docs/service/show-post-19428.html