[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to add entry when ldap database is empty (Problem solved)


I already solved my problem.I used the ldif below to add entry to my
LDAP server.

dn: dc=CLIENT8,dc=MYTESQ,dc=COM
objectclass: dcObject
objectClass: organization
dc: te
o: TestExample
description: Working company

dn: cn=Manager,dc=CLIENT8,dc=MYTESQ,dc=COM
objectClass: organizationalRole
cn: Manager
description: Directory Manager

Then run command :

ldapadd -f add.ldif -x -D "cn=Manager,dc=CLIENT8,dc=MYTESQ,dc=COM" -w

I don't have any errors now. 

A thousand thanks for those who contribute ideas to help me to solve my