Problem - ldapadd invalid syntex (21)
Hello
I am newbie in use OpenLdap , I have simple problem I canīt add structure of tree directory, the file org.lidf show my structure dn: dc=labcom,dc=factory objectClass: top objectClass: dcObject #objectClass: organization dc: labcom o : Linuxtech When I type this command ldapadd -f /etc/openldap/lidfs/org.ldif -x -D "cn=adm,dc=labcom,dc=factory" -W Show this message error Enter LDAP Password: adding new entry "dc=labcom,dc=factory " ldapadd: Invalid syntax (21) Why this message error ? I have include the follow schemas include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema The process slapd have been started by user root, so havenīt problem of permission That is ... Thanks |
Without any additional info, I guess you have to completely remove the commented line (#objectClass: organization), even though "objectClass: organization" is a typical objectClass used by many applications.
|
All times are GMT -5. The time now is 01:00 AM. |