Sorry, I removed '#' for commentary, the problem continues. some other idea ? thanks for all
On 7/24/09, Dieter Kluenter dieter@dkluenter.de wrote:
Bruno Steven aspenbr@gmail.com writes:
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 ?
Because your ldif file is wrong.
- a comment is not allowed within an entry
- objectClass dcobject is only an auxiliary class.
-Dieter
-- Dieter Klünter | Systemberatung http://dkluenter.de GPG Key ID:8EF7B6C6 53°08'09,95"N 10°08'02,42"E