[Date Prev][Date Next]
Re: ldif import problems
I doubt that your file may be having some
special/junk characters which is causing this. If you
have ftped the file a different system, this is more
probabale. open ur file in vi and see if it is a dos
format file. if so convert it to unix format using
dos2unix tool. or else search if CTRL-M characters are
there and replace them.
--- synrat <email@example.com> wrote:
> nothing is there except for root dc and ou people.
> if i do a search with "(objectclass=*)" I onley get
> 2 entries.
> Quanah Gibson-Mount wrote:
> > --On Saturday, August 28, 2004 10:17 PM -0400
> > <firstname.lastname@example.org> wrote:
> >> openldap-server-2.2.14 and same version client
> >> running on freebsd 4.10
> >> MailRoutingAddress is in the misc.schema and it
> doesn't seem to be
> >> an alias. I tried importing stuff without
> mailRoutingAddress and got the
> >> same error message, then I removed mailhost
> addribute and I got a
> >> different error.
> >> ldap_add: Type or value exists (20)
> >> additional info: objectClass: value #0
> provided more than once
> >> There are no duplicate entries anywhere in ldif,
> so I'm not sure what
> >> this error message means?
> > Hm, are you sure this entry doesn't already exist
> in the server you are
> > loading it into, if you are using ldapadd?
> > --Quanah
> > --
> > Quanah Gibson-Mount
> > Principal Software Developer
> > ITSS/Shared Services
> > Stanford University
> > GnuPG Public Key:
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!