[Date Prev][Date Next]
Re: adding a user
- To: Brandon McCombs <firstname.lastname@example.org>, openldap-software@OpenLDAP.org
- Subject: Re: adding a user
- From: matthew sporleder <email@example.com>
- Date: Wed, 8 Feb 2006 09:33:19 -0500
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uCO2YwnysHIBTmllcwzrq/1Wi1OwUZ5g0GhK76eBKcSzHD7oo24Cn3wYKHT7ibduxc88DQlKXw3qS7iTCWUGn2HwWQD3h1xehEFEOnfAOOsTku5Uk71eHACNt1GrTogUAUMlGcOR1Q0K5uWg+nODJa088KZoQ7Nn2SqT5y+Bf4o=
- In-reply-to: <43E93F63.firstname.lastname@example.org>
- References: <43E82A89.email@example.com> <firstname.lastname@example.org> <43E93F63.email@example.com>
> command as root to see if that works). I get the following error either way:
> SASL/DIGEST-MD5 authentication started
> ldap_sasl_interactive_bind_s: internal (implementation specific) error
> (80) additional info: SASL(-13): user not found: no secret in database.
> What am i missing?
You're probably missing a -x to specify a simple bind.
> > Also- make sure you don't have ldapadd aliased anywhere.
> i don't. I got it to work before but since this is such a convoluted
> piece of software and I don't use it enough I forgot how I got it to
> work before. I'm working on creating an application that will allow me
> to avoid having to remember the cryptic syntax.
Yes, most server software is complicated. Isn't it cool that you can
let this one run long enough without intervention that you forget
about it? ;)
See the man page LDAP.CONF(5) on how to set defaults for ldapsearch.
That way you can avoid all your typing without even shell scripting.
But if you want to make a command, here's one for free:
ldapsearch -D dn -b base -x -W -L $1