免费注册 查看新帖 |

Chinaunix

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

[samba] samba加入ad域问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-04-25 11:55 |只看该作者 |倒序浏览
已经加入域了但是在测试该samba服务器与域的信任关系
出现问题
[root@samba ~]# wbinfo -t
checking the trust secret via RPC calls failed
error code was NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND (0xc0000233)
Could not check secret

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

论坛徽章:
0
3 [报告]
发表于 2009-04-27 09:48 |只看该作者

回复 #1 daitaohong 的帖子

你的samba,winbindd ,nmbd都启动了没有?加入域后要重启这些服务一次

论坛徽章:
0
4 [报告]
发表于 2009-04-27 09:49 |只看该作者
可以参考一下http://wiki.samba.org/index.php/ ... with_AD-Integration

[ 本帖最后由 pet-dtg 于 2009-4-27 09:51 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2009-04-27 11:17 |只看该作者
[root@samba ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Press enter to see a dump of your service definitions

[global]
        workgroup = TEST.NET
        realm = TEST.NET
        server string = Samba Server Version %v
        security = ADS
        password server = user-server.test.net
        passdb backend = tdbsam
        idmap uid = 1000000-2000000
        idmap gid = 1000000-2000000
        template shell = /bin/bash
        winbind separator = /
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = Yes
        cups options = raw

[homes]
        comment = Home Directories
        path = /home/$D/$U
        read only = No
        create mask = 0777
        directory mask = 0777
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
[root@samba ~]#

论坛徽章:
0
6 [报告]
发表于 2009-04-28 09:35 |只看该作者

回复 #5 daitaohong 的帖子

试试security = domain
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP