The encrypted password is stored in the USERLIST directory. Be aware that it can contain strange characters, so you may need to exercise care in changing things.
To find the value of the current password for, say, 'S=gren/OU1=crowley/CN=gren' :
Do :
Code: Select all
omsearch -s -t h -d USERLIST -m UL-PWD -e 'S=gren/OU1=crowley/CN=gren'For me, this output :
Code: Select all
UL-PWD=$1$vb9UFNoR$GZLuclJgG2UqtdSjI\/VT5\/I then deleted the user and re-added it. The following command restored the password:
Code: Select all
ommodent -t h -d USERLIST -n 'UL-PWD=$1$vb9UFNoR$GZLuclJgG2UqtdSjI\/VT5\/' -e 'S=gren/OU1=crowley/CN=gren'
Regards,
Gren.