免费注册 查看新帖 |

Chinaunix

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

[samba] CENTOS 5.7 samba通过AD验证的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-04-24 09:06 |只看该作者 |倒序浏览
最近在测试samba 通过windows 2008R2 的AD进行身份验证,但在加入域出现台下提示,好像是说Centos的机器名:FILECENTOS已经存在于域PRECI.COM中了,但我的域也是新建的,samba也是新装的,之前从来没加过域,并且我也试过在samba中更改过netbios name 也是同样的进示,这是什么原因呢,麻烦大家帮忙分析分析谢谢!

[root@fileserver etc]# net ads join -U administrator@PRECI.COM
administrator@PRECI.COM's password:
Using short domain name -- PRECI
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Deleted account for 'FILECENTOS' in realm 'PRECI.COM'
Failed to join domain: Type or value exists

samba 配置文 件如下:
workgroup = PRECI
        server string = Samba
        netbios name = filecentos
        password server = 192.168.1.2
        realm = PRECI.COM
        security = ADS
        idmap uid = 16777216-33554431
        idmap gid = 16777216-33554431
        template shell = /sbin/nologin
        template homedir = /home/%U
        winbind use default domain = yes
        winbind offline logon = yes
        winbind enum groups = yes
        winbind enum users = yes
        winbind separator = /
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP