免费注册 查看新帖 |

Chinaunix

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

[samba] 从windows上访问samba,报域间关系信任失败,怎么解决?非常感谢! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-02-20 16:17 |只看该作者 |倒序浏览

论坛徽章:
0
2 [报告]
发表于 2009-02-24 16:26 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
3 [报告]
发表于 2009-03-04 17:09 |只看该作者
谢谢版主帮忙。

我的smb.cfg文件。

[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
        domain logons = No
        domain master = No
        password server = *
        security = domain
        wins support = No
        passdb backend = smbpasswd
        wins server =
[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        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
[root]
        comment = rootdir
        path = /
        writeable = yes
        browseable = yes
        guest ok = no
        printable = no
[user1]
        comment =
        path = /
        create mask = 0664
        directory mask = 0775
        writeable = no
        valid users = user1
        browseable = yes


其实我的需求很简单,就是要添加一个user1用户,让这个用户可以访问整个文件系统,但只能读。
但我从windows上连接的时候就报域间信任关系失败错误。

版主,你能帮帮我吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP