[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problems with Password Encryption (ITS#292)
Dear All
I don't have yet resolved my password problem and it's even getting worse. I am trying authentication via UserId and password using Apache Web Server and MOD_AUTH_LDAP. Seems it's a ldap problem.
First case: Password NON Crypted
Result of ldapsearch:
LDAP Server is V2: execute command with LDAP V2...
uid=RVoglmaier, o=glaxowellcome, c=IT
RVoglmaier, glaxowellcome, IT
objectclass=top
objectclass=person
objectclass=organizationalPerson
objectclass=inetOrgPerson
cn=Reinhard Voglmaier
givenname=Reinhard
sn=Voglmaier
annolaurea=1980
iscrizionealbo=69873469814693
dataiscrizionealbo=13.13.1999
ordine=123213873248763
cittaiscrizionealbo=milano
mail=rv33100%40ggr.co.uk
ospedaleuniversita=?
reparto=?
indirizzoospuni=?
capospuni=?
cittaospuni=?
provinciaospuni=?
indirizzostudio=?
capstudio=?
cittastudio=?
provinciastudio=?
indirizzocasa=?
capcasa=?
cittacasa=?
provinciacasa=?
uid=RVoglmaier
userpassword=1234567890
Here the auth module via Web is working fine. The command line results in a core dump.
ldapsearch -D "uid=RVoglmaier,o=glaxowellcome,c=IT" -w "1234567890" cn=*
LDAP Server is V2: execute command with LDAP V2...
Bus Error(coredump)
Executing the Command:
/usr/local/bin/ldappasswd -b "o=glaxowellcome,c=IT" -D "cn=Directory Manager,o=glaxowellcome,c=IT" -w admin -H sha -t "uid=RVoglmaier, o=glaxowellcome, c=IT"
changes the password ( as it should be ) in:
userpassword={sha}EbrYZBr+nsdBWPUoElRzMtRYvA4=
ldapsearch -D "uid=RVoglmaier,o=glaxowellcome,c=IT" -w "1234567890" cn=*
LDAP Server is V2: execute command with LDAP V2...
ldap_simple_bind_s: Invalid credentials
and the connection via Apache/mod_auth_ldap doesn't work any more.
Any ideas ?
Thank You very much
Reinhard