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

RE: ldapadd "ldap_bind: Invalid credentials (49)"



--On Thursday, August 29, 2013 12:35 AM +0000 Clint Petty <cpetty@luthresearch.com> wrote:
>
>
> After upgrading from OpenLDAP 2.4.23 to 2.4.36, I can no longer add a
> user:
>
>
>
># ldapadd -x -D "cn=Manager,dc=luthresearch,dc=net" -w secret -f # 
>/etc/openldap/adduser.ldif

Check Your config for RootPW and whether the hash algorithm used is still supported by 
Your build of OpenLDAP.

Had a similar problem on an old server because --enable-crypt was not set when 
building OpenLDAP 2.4.36.

You can check that by using slappasswd to create a String like the one used in Your config:

# /usr/local/sbin/slappasswd -s secret -h '{crypt}'
Password generation failed for scheme {crypt}: scheme not recognized

--Jürgen Sprenger