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

Re: Failure populating ldap.



try it with the -c flag. :)

I have a feeling the first record already exists and it errors out and
stops. The -c flag continues on error.

My second guess would be you have a space at the end of your entry in your
ldif which will give you a similar error.

I have also seen a similar error with I believe it is cache corruption and
the database isn't synced with the database cache, and deleting and
readding the entry gets rid of that error.

But I could be wrong. It might not be any of those. :)

Sean


On Thu, 4 Sep 2008, John Nietzsche wrote:

> Hi openldap comunnity,
>
> i am having a hard time to populate my ldap server. Below is what i get:
>
> etosha# ldapadd -x -D 'cn=Manager,dc=cpd,dc=ufv,dc=br' -W -f top.ldif
> Enter LDAP Password:
> ldap_bind: Invalid DN syntax (34)
>         additional info: invalid DN
>
>
> etosha# cat top.ldif
> etosha# ldapadd -x -D 'cn=Manager,dc=cpd,dc=ufv,dc=br' -W -f top.ldif
> Enter LDAP Password:
> ldap_bind: Invalid DN syntax (34)
>         additional info: invalid DN
> etosha#
>
> Does anybody have any ideia about what is going on?
>
> Thanks.
>

--------------------------------------
  Sean O'Malley, Information Technologist
  Michigan State University
-------------------------------------