[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problems with ldapadd and/or ldif file
Hello,
I am a newbie to LDAP and other directory services and am having problems
adding to my database. I have looked over my ldif file several times and it
seems to be okay; however, I get an error every time I try to add it.
Here is my ldif file (joshtest.ldif):
dn: dc=eswoosh,dc=com
objectclass: dcObject
objectclass: organization
dc: eswoosh
o: eswoosh.com, Inc.
dn: cn=Manager,dc=eswoosh,dc=com
objectclass: organizationalRole
cn: Manager
dn: ou=development,dc=eswoosh,dc=com
ou: development
objectclass: organizationalUnit
dn: uid=jdawson,ou=development,dc=eswoosh,dc=com
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
uid: jdawson
givenname: Jerald
sn: Dawson
cn: Jerald Dawson
telephonenumber: 555-555-5555
o: eswoosh.com
mail: temp1@eswoosh.com
dn: uid=joedawson,ou=development,dc=eswoosh,dc=com
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
uid: joedawson
givenname: Joseph
sn: Dawson
cn: Joe Dawson
cn: Joseph Dawson
telephonenumber: 555-555-5555
o: eswoosh.com
mail: temp2@eswoosh.com
I have tried to add entries by typing:
sh-2.04$ ldapadd -D "cn=Manager,dc=eswoosh,dc=com" -w secret -f
joshtest.ldif -x
Unfortunately, this command provides me with the following error:
adding new entry "dc=eswoosh,dc=com"swoosh,dc=com" -w secret -f
joshtest.ldif -x
ldap_add: Unknown error
additional info: next_id add failed
ldif_record() = 80
Try as I can, I cannot figure out what the problem is and how to rectify it.
Any help would be greatly appreciated.
Joshua Poling-Goldenne
josh@eswoosh.com