On Thu, May 18, 2006, Darryl Hoar wrote:

> [...]
>
> suffix          "dc=osborneinternal, dc=com"
> rootdn          "cn=Manager, dc=osborneinternal, dc=com"
> rootpw secret
>
> [...]
> 
> when I try to do a :
> 
> mailman# ldapadd -D 'dc=osborneinternal, dc=com' -f directory.ldif -W
> the system prompts
> Enter LDAP Password:
> I type in my password exactly as it is in the slapd.conf.  So in the above
> slapd.conf it would be the password "secret" without quotes.  No, its not
> really the word
> secret, and yes its internal so its intended to be a clear text password.
>
> The system replies with :
> ldap_bind: Invalid credentials
> 
> how the heck do I get this to work ?



You aren't using the rootdn specified in the above configuration.

If you want to auth against your rootdn, the correct command line would
be:

% ldapadd -xWD 'cn=Manager,dc=osborneinternal,dc=com' < directory.ldif

--
Mahlon E. Smith  
[EMAIL PROTECTED] | http://www.martini.nu/

Attachment: pgpMlbvmRe7xw.pgp
Description: PGP signature

Reply via email to