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

Re: about inapropriate authtentication



At 12:11 PM 2001-10-11, Albert Medina Banda wrote:
>i ejecuted ldapsearch and it's ok too, but I have this error when I executed :
>ldapadd -f/test.ldif -cvx -w secret -D"cn=ldap,o=serv.info"
>
>I get:
>        ldap_initialize(<DEFAULT>)
>        ldap_bind Inappropriate authentication

See the FAQ for common reasons why this error message is reported.
http://www.openldap.org/faq/index.cgi?file=53
>and if i executed:
>ldapadd -f/test.ldif -cvx -D "cn=ldap,o=serv.info"
>ldap_add: insufficient access

That's an unauthenticated (anonymous) access, so the
'insufficient access' error seems quite appropriate (unless
you've actually granted anonymous write permission).

I suggest you start by following the example in the Quick
Start Guide. http://www.openldap.org/doc/admin/