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

Re: ldap_bind: Invalid credentials (49)



On Mon, Aug 16, 2004 at 08:34:44PM +0300, Harijs Kokins wrote:
> when i do cmd
> ldapadd -f haris.ldif -D "cn=Manager,dc=loclhost,dc=localdomain" -w secret
> i got answer from server
> ldap_bind: Invalid credentials (49)
> maybe anyone can help me
> Thanks

You are missing "-x". Without it, ldapadd will try SASL, and -D doesn't make sense
with SASL. "-x" forces simple binds, where -D (and -w) come into play.