Openldap problem
Mahlon E. Smith
mahlon at martini.nu
Fri May 19 09:33:02 PDT 2006
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
mahlon at martini.nu | http://www.martini.nu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060519/8bca0bfd/attachment.pgp
More information about the freebsd-questions
mailing list