I've seen similar sample files to this one, but nobody's
posted an answer on the list (that I could find anyway). I'm exporting a Mozilla
addressbook, and the result looks like the following:
dn: cn=Joe
User,mail=juser@company.com
objectclass: top objectclass: person objectclass: organizationalPerson objectclass: inetOrgPerson objectclass: mozillaAbPersonObsolete givenName: Joe User cn: Joe User mail: juser@company.com modifytimestamp: 0Z This fails with "Object Not Found" if I try to load it through
ldapadd. Obviously the DN isn't correct -- if I type in the suffix it works (and
if I remove the modifytimestamp -- I've already added the mozilla objectclass).
Is anybody aware of a way to "convince" ldapadd to load this data (perhaps this
is where the BASE suffix in ldap.conf comes in?) or must I resort to massaging
the data by hand?
If anybody has successfully gotten one of these ldif exports
to work from Mozilla, I'd love to know what you did.
Cheers,
Tom
|