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

Re: ldapadd error



On 4/10/06, Adam Williams <awilliam@mdah.state.ms.us> wrote:
>
>
> Pierangelo Masarati wrote:
> >
> > Check that the parent (i.e. "ou=People,dc=mdah,dc=state,dc=ms,dc=us")
> > exists.
> >
> > p.
> >
> >
>
> 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=*)'
> 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?
>

>From your first ldapsearch it appears you're using a simple bind. So
for the second search you should also specify -x:

ldapsearch -x -b 'dc=mdah,dc=state,dc=ms,dc=us' -s base '(objectclass=*)'

And you should be checking that ou=people exists:

ldapsearch -x -b 'ou=people,dc=mdah,dc=state,dc=ms,dc=us' -s base
'(objectclass=*)'

--
Steve Feehan