Ldap syntax wrong ?
Hello,
what is wrong with the following ldif file : Code:
dn: dc=mydomain Code:
[root@1 ~]# /usr/bin/ldapadd -x -D "cn=Manager,dc=mydomain" -W -f /etc/openldap/basic.ldif |
Are you trying to recreate the root LDAP tree? If not and it exists, then you only have to put in the file the new entries (regardless the error message is accurate or not). If so, then you should use slapcat/slapadd with ldap stopped.
You can take a look at "man ldapadd" or the relevan man pages for examples. |
All times are GMT -5. The time now is 12:43 PM. |