免费注册 查看新帖 |

Chinaunix

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

[ldap] openldap-2.2.13-4 不可以添加数据 怎么解决 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-12 16:17 |只看该作者 |倒序浏览
使用了Redhat ES4 同样的OS在自己办公室就好好的
结果到了其他办公室里面 就不能添加数据
提示的error是
ldap_add: Internal (implementation specific) error (80)
        additional info: no structuralObjectClass operational attribute

而在log里面显示的是:
Jun 12 15:54:19 ackullx01 slapd[32628]: conn=9 fd=3 ACCEPT from IP=127.0.0.1:45890 (IP=0.0.0.0:389)
Jun 12 15:54:19 ackullx01 slapd[32628]: conn=9 op=0 BIND dn="cn=Manager,dc=ufreight,dc=com" method=128
Jun 12 15:54:19 ackullx01 slapd[32628]: conn=9 op=0 BIND dn="cn=Manager,dc=ufreight,dc=com" mech=SIMPLE ssf=0
Jun 12 15:54:19 ackullx01 slapd[32628]: conn=9 op=0 RESULT tag=97 err=0 text=
Jun 12 15:54:19 ackullx01 slapd[32628]: conn=9 op=1 ADD dn="uid=bladesun,ou=icilszx,ou=People,dc=ufreight,dc=com"
Jun 12 15:54:19 ackullx01 slapd[32628]: No structuralObjectClass for entry (uid=bladesun,ou=icilszx,ou=People,dc=ufreight,dc=com)
Jun 12 15:54:19 ackullx01 slapd[32628]: conn=9 op=1 RESULT tag=105 err=80 text=no structuralObjectClass operational attribute
Jun 12 15:54:19 ackullx01 slapd[32628]: conn=9 op=2 UNBIND


不太明白是什么问题……

论坛徽章:
0
2 [报告]
发表于 2007-06-12 16:20 |只看该作者
我有在google查过 有的说是版本的问题 但是也都不太肯定……
因为同样的版本在同样的服务器同样的OS上面运行的很好……

论坛徽章:
0
3 [报告]
发表于 2007-06-13 08:50 |只看该作者
看看 slapd.conf ,uid=bladesun,ou=icilszx,ou=People,dc=ufreight,dc=com 记录的所有属性是不是在你 include 进来的文件有定义

论坛徽章:
0
4 [报告]
发表于 2007-06-13 19:18 |只看该作者
Please, print out the relative lines in your LDIF file about "uid=bladesun,ou=icilszx,ou=People,dc=ufreight,dc=com".

论坛徽章:
0
5 [报告]
发表于 2007-06-14 10:36 |只看该作者
No structuralObjectClass for entry

论坛徽章:
0
6 [报告]
发表于 2007-06-14 10:37 |只看该作者
No structuralObjectClass for entry   这个就是不能添加条目的原因 在LDIF的RFC定义中 每个条目至少含有一个structural 类型的 ObjectClass  应该是你添加条目的时候,这个条目中没有这样的ObjectClass

论坛徽章:
0
7 [报告]
发表于 2007-06-14 17:13 |只看该作者
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP