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

importing ldif



hi,

I am getting an "additional info: naming attribute 'uid' is not
present in entry" error when importing an ldif file.

here is the sample entry:

dn: uid=testuid,ou=testou,dc=testdomain,dc=com
cn: testcn
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: OfficePerson
mail: test@testdomain.com
URL: http://www.testdomain.com
o: test
givenName: testname
initials: testinitial
sn: testsn
ou: testou

i could add a line: uid: testuid under the dn and it imports just fine
but the ldif file has at least 2000 entries.
is there an easier way to go about this.

any help would be appreciated in pointing me to the right direction

thank you