免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7082 | 回复: 2
打印 上一主题 下一主题

[samba] 怎样取消登录samba时的用户名、密码提示? [复制链接]

论坛徽章:
1
巨蟹座
日期:2014-08-15 14:56:13
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-21 12:41 |只看该作者 |倒序浏览
配了一个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
[global]
    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
[homes]
    comment = Home Directories
    browseable = No
    read only = No
    inherit acls = Yes
[profiles]
    comment = Network Profiles Service
    path = %H
    read only = No
    store dos attributes = Yes
    create mask = 0600
    directory mask = 0700
[users]
    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/
[groups]
    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes
[printers]
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No
[print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775

[m2000]
    comment = m2000_dailyBuild
    inherit acls = Yes
    path = /export/home
    read only = No
    guest ok = Yes

论坛徽章:
0
2 [报告]
发表于 2009-12-21 18:56 |只看该作者
http://bbs2.chinaunix.net/thread-1585291-1-2.html
对照点检一遍吧。
当然第一步,你得有samba用户。

论坛徽章:
1
巨蟹座
日期:2014-08-15 14:56:13
3 [报告]
发表于 2009-12-24 10:53 |只看该作者
已经搞定啦
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP