[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
using ldapmodify instead of ldif2ldbm
Hello out there,
I'm trying to use ldapmodify instead of ldif2ldbm to build a new
database. Here's an example of what's in the flat file called
"newparsed.ldif":
dn: o=coat.com,c=US
o: coat.com
objectclass: organization
changetype: add
add: dn
dn: uid=jsbach,o=coat.com,c=US
userpassword: bwv232
objectclass: person
sn: jsbach
cn: Admin Login
uid: jsbach
changetype: add
add: dn
dn: uid=fbarnes,o=coat.com,c=US
userpassword: {crypt}bfAMkaqxQwUmc
objectclass: person
cn: Floria Barnes
sn: Barnes
uid: fbarnes
mail: Floria.Barnes@coat.com
etc. etc.
At the command line, I type
"ldapmodify -a -f newparsed.ldif -D "uid=jsbach,o=coat.com,c=US" -w
bwv232
-p 389
And I get
LDAP Server is V2: execute command with LDAP V2...
add o:
coat.com
add objectclass:
organization
adding new entry o=coat.com,c=US
ldap_add_s: Already exists
Any ideas on what I'm doing wrong?
Thank you,
Chris