> > And if it hashing which parameter I need to wrote in authldaprc : > Ldap_clearpw or Ldap_cryptw ?
LDAP_CRYPTPW userPassword
But auth does not work.=-( Where I'am wrong.
Have you checked the slapd.log for errors generated during authentication?
When you say "auth does not work", where specifically doesn't it work? (Client, etc.)
Can you change your password with:
ldappasswd -x -D 'uid=pvm,ou=mailusers,dc=test,dc=ru' \ -w YourOriginalPassword -s NewPassword 'uid=pvm,ou=mailusers,dc=test,dc=ru'
There are several different formats to change your password I just want to use the above to be sure that YourOriginalPassword is what you think it is and in the expected format.
You might want to also try a pop3 session:
/root # telnet localhost 110 Trying ::1... Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Hello there. USER [EMAIL PROTECTED] +OK Password required. PASS MyPassword +OK logged in. quit +OK Bye-bye.
The lines without the + are your input the password is ascii. Your slapd.log should show something like:
Apr 29 08:08:38 viviendaatualcance pop3d: Connection, ip=[127.0.0.1] Apr 29 08:08:57 viviendaatualcance pop3d: LOGIN, [EMAIL PROTECTED], ip=[127.0.0.1]
If the password is incorrect, it will show:
Apr 29 08:13:55 viviendaatualcance pop3d: Connection, ip=[127.0.0.1] Apr 29 08:14:31 viviendaatualcance pop3d: LOGIN FAILED, ip=[127.0.0.1]
Hopefully one of the above will make the solution to your problem obvious.
good luck,
ed
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users