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

Re: HPUX OpenLDAP 2.1.14 : authentication problem + core with ldappasswd



Problem solved; 2.1.14 doesn't enable crypt by default. I needed the --enable-crypt flag. I'll recompile. Sorry about this !

Peter.

Peter Van Biesen wrote:

Hello,

I'm trying to migrate from a 2.0.23 to a 2.1.14 openldap server. I exported the data and imported it in the 2.1, including the userPassword entries. However, I'm unable to connect to the server, I always get an 'invalid credentials' error ( the rootdn and anonymous bind still works ... ).

I tried to alter the password with :
ldappasswd -h brussel4.vlafo.be -D "cn=Manager" -W -S "uid=pxv,ou=people,o=vlafo.be"


But this produces an error :
ldappasswd: ldap_result: Can't contact LDAP server (81)

and cores the server :
ber_get_next
ber_get_next on fd 10 failed errno=11 (Resource temporarily unavailable)
send_ldap_extended: err=10 oid= len=0
send_ldap_response: msgid=2 tag=120 err=10
Assertion failed: err != LDAP_REFERRAL, file result.c, line 300
Abort(coredump)

Is there a problem with {crypt} with the 2.1.14 version ? The userPassword entries are copies of the hash contained in the passwd file on HPUX.
Am I using ldappasswd incorrectly ?


Any help would be welcome .

Thanks in advance !

Peter


-- Peter Van Biesen Adj. Sysadmin V.F.S.I.P.H.

tel: +32 (0) 2 225 85 70
fax: +32 (0) 2 225 85 88
e-mail: peter.vanbiesen@vlafo.be