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

Re: slapdadd of exported Mozilla LDIF



ons, 2002-12-04 kl. 02:36 skrev Hanasaki JiJi:

> slapadd seems to have a problem with the blank line inbetween ldif 
> entries of exported Mozilla addressbooks.

> Any thoughts on what could be causing this?  How to sucessfully do an 
> export/add from mozilla to openldap?

It isn't the blank line it's complaining about, it's the space dash
space in:

dn: cn=List - KCLUG,mail=kclug@kclug.org.It's hopping over the blank
line.

If and when you correct this (escaping? removing the spaces?), it will
start complaining about the DNs. There's no way you can organize what
you have in a single DIT.

Why not try reading the guide on openldap.org?

Best,

Tony
 
> === First two lines of ldif file ===
> dn: cn=List-Debian-User,mail=debian-user@lists.debian.org
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> objectclass: mozillaAbPersonObsolete
> givenName: Debian
> sn: User-Llist
> cn: List-Debian-User
> xmozillanickname: debian
> mail: debian-user@lists.debian.org
> xmozillausehtmlmail: false
> modifytimestamp: 0Z
> 
> dn: cn=List - KCLUG,mail=kclug@kclug.org
> objectclass: top
> objectclass: person
> objectclass: organizationalPerson
> objectclass: inetOrgPerson
> objectclass: mozillaAbPersonObsolete
> givenName: KCLUG
> sn: List
> cn: List - KCLUG
> mail: kclug@kclug.org
> xmozillausehtmlmail: false
> modifytimestamp: 0Z
-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni@billy.demon.nl
www:		http://www.billy.demon.nl