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

Re: Bind Probs, slappaswd vs. LDAPAdmin Password value



Max Merighi wrote:
> LDAPAdmin generates
> {SSHA}AhJ/aUjwloRXbhUpzeAGTFSY3ZML3h6gBwC5FB2lVtwtffTGXWYPNg2OKm4O2KsMDoI=
> when provided 'test' (w/o quotes)

Works for me (see entry, ldapsearch output and log excerpt below).
Probably the problem lies somewhere else.

dn: uid=testaccount,ou=Testing,dc=stroeder,dc=com
objectClass: account
objectClass: simplesecurityobject
uid: testaccount
userPassword: {SSHA}AhJ/aUjwloRXbhUpzeAGTFSY3ZML3h6gBwC5FB2lVtwtffTGXWYPNg2O
 Km4O2KsMDoI=

$ ldapsearch -x -LL -h localhost:1390 -b "uid=testaccount,ou=Testing,dc=stroeder,dc=com" -s base -D "uid=testaccount,ou=Testing,dc=stroeder,dc=com" -w test "(objectClass=*)" uid userPassword

version: 1

dn: uid=testaccount,ou=Testing,dc=stroeder,dc=com
uid: testaccount
userPassword:: e1NTSEF9QWhKL2FVandsb1JYYmhVcHplQUdURlNZM1pNTDNoNmdCd0M1RkIybFZ
 0d3RmZlRHWFdZUE5nMk9LbTRPMktzTURvST0=

May 19 16:50:14 nb2 slapd[11728]: conn=11 fd=13 ACCEPT from IP=127.0.0.1:35467 (IP=0.0.0.0:1390)
May 19 16:50:14 nb2 slapd[12056]: conn=11 op=0 BIND dn="uid=testaccount,ou=Testing,dc=stroeder,dc=com" method=128
May 19 16:50:14 nb2 slapd[12056]: conn=11 op=0 BIND dn="uid=testaccount,ou=Testing,dc=stroeder,dc=com" mech=simple ssf=0
May 19 16:50:14 nb2 slapd[12056]: conn=11 op=0 RESULT tag=97 err=0 text=


Ciao, Michael.