免费注册 查看新帖 |

Chinaunix

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

[ldap] openldap用mysql作后台支持后smbldap-tools的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-04 16:25 |只看该作者 |倒序浏览
用mysql作openldap的后台支持,配置好像是成功了,因为服务都正常启动了,跟踪进程也没有发现错误。
现在有两个问题:
1、 用mysql作后台支持时,slapd.conf中对根容器的定义默认为“o=sql,c=RU”,可以改成“dc=xxx,dc=yyy”吗?
2、 在smbldap-tools进行smbldap-populate的时候,报错。

不知道是我配置上的问题还是smbldap-tools本身仅用于BDB后台库。

请帮忙!

附错误信息:
# smbldap-populate                        
Populating LDAP directory for domain KAIWEN (S-1-5-21-1678692873-1867382243-2491869893)
(using builtin directory structure)

Use of uninitialized value in string ne at /usr/sbin/smbldap-populate line 168.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/smbldap-populate line 173.

adding new entry: o=sql,c=RU
failed to add entry: operation not permitted within namingContext at /usr/sbin/smbldap-populate line 499, <GEN1> line 2.
adding new entry: ou=Users,o=sql,c=RU
failed to add entry: operation not permitted within namingContext at /usr/sbin/smbldap-populate line 499, <GEN1> line 3.
adding new entry: ou=Groups,o=sql,c=RU
failed to add entry: operation not permitted within namingContext at /usr/sbin/smbldap-populate line 499, <GEN1> line 4.
adding new entry: ou=Computers,o=sql,c=RU
failed to add entry: operation not permitted within namingContext at /usr/sbin/smbldap-populate line 499, <GEN1> line 5.
adding new entry: ou=Idmap,o=sql,c=RU
failed to add entry: operation not permitted within namingContext at /usr/sbin/smbldap-populate line 499, <GEN1> line 6.
adding new entry: uid=root,ou=Users,o=sql,c=RU
failed to add entry: operation not permitted within namingContext at /usr/sbin/smbldap-populate line 499, <GEN1> line 7.

# net getlocalsid
[2008/11/01 16:02:05, 0] lib/smbldap.c:smbldap_search_suffix(1155)
  smbldap_search_suffix: Problem during the LDAP search:  (No such object)
SID for domain KAIWEN is: S-1-5-21-1678692873-1867382243-2491869893

[ 本帖最后由 戏园子 于 2008-11-5 09:12 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP