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

Re: ldapadd error

On Mon, 2006-04-10 at 15:59 -0500, Adam Williams wrote:

> this is my first time using openldap, so I may need a little hand 
> holding? :)
> according to http://www.openldap.org/faq/data/cache/157.html to check 
> the parent I need to run this but I get another error:
> ldapsearch -b 'dc=mdah,dc=state,dc=ms,dc=us' -s base '(objectclass=*)'

You were trying to add "uid=root,ou=People,dc=mdah,dc=state,dc=ms,dc=us"
so to check for the parent you should use
"ou=People,dc=mdah,dc=state,dc=ms,dc=us" as search base with ldapsearch.
If you further get "no such object, then you should go down all the way
to your database's suffix.

> SASL/DIGEST-MD5 authentication started
> Please enter your password:
> ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
>         additional info: SASL(-13): user not found: no secret in database
> but i put in my password which is secret.  any suggestions?

Why do you use simple bind ("-x") when doing ldapadd, and SASL bind (no
"-x") when doing ldapsearch?


Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it