0

我正在使用 LDAP 服务器,并且正在尝试在 Organsation 级别创建一个对象。

但是当我尝试创建一个填充所有属性的对象时,它会抛出以下错误。

Could not add the object to the LDAP server.
LDAP said:  Object class violation
Error number:   0x41 (LDAP_OBJECT_CLASS_VIOLATION)
Description:    You tried to perform an operation that would cause an undefined attribute   
                to exist or that would remove a required attribute, given the current list   
                of ObjectClasses. This can also occur if you do not specify a structural   
                objectClass when creating an entry, or if you specify more than one structural objectClass.

有什么方法可以从某个日志文件中获取有关此错误的更多信息?

有没有人遇到过这个错误?如果是,请分享此问题的解决方案。

4

1 回答 1

0

您已尝试添加一个对象,该对象缺少 objectClass 中定义的一个必需属性。检查您正在使用的对象类的所有必需属性。

Error:  LDAP_OBJECT_CLASS_VIOLATION
Number: 65 (0x41)
Cause:  An object class violation occurred when using the current schema, for example, a "must" attribute was missing when adding an entry.
于 2014-07-25T19:23:54.857 回答