无法向LDAP服务器添加对象


Could not add the object to the LDAP server

我正在使用LDAP服务器,我正在尝试创建一个组织级别的对象。

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

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.

是否有办法从日志文件中获得有关此错误的更多信息?

以前有人遇到过这个错误吗?

您尝试从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.