Sam Varshavchik <[EMAIL PROTECTED]> writes:

> Lloyd Zusman writes:
>
>> Using the standard configuration of authldap, can the auth_passwd()
>> routine change a given user's authentication password that's stored
>> within the LDAP repository?  I'm referring to the field referenced by
>> LDAP_CRYPTPW in "authldaprc".
>> If so, what should the "service" argument be set to when making the
>> auth_passwd call, and how do I ensure that the proper encryption method
>> is used?
>
> The "service" parameter is not relevant here.  authldap will use the
> same encryption method as the existing password.

Thanks again for your feedback about this.  However, there is something
wrong and I can't get auth_passwd() to change any of the passwords
stored in the LDAP repository that is managed by authldap.

The auth_login() call works fine, and so I know that the user name and
password are correct.  However, the auth_passwd() call always fails with
a -1 return code when I try to use it to change the password.

The authldap module is working fine for all my Courier authentication.

This is using the latest courier and authlib releases.

Furthermore, external LDAP maintenance tools are able to log in to the
repository and change data (including passwords) without any problem.

And finally, the LDAP_BINDDN and LDAP_BINDPW values are indeed set
properly in authldaprc.

Is there some sort of authldap configuration option that's necessary
in order for auth_passwd() to function properly?  Or ... ???

Thanks yet again.


-- 
 Lloyd Zusman
 [EMAIL PROTECTED]
 God bless you.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to