The first time I posted these questions, they got buried in a thread so here's post number two.

The authentication modules that are included with courier IMAP have working change password functions. This means that using authtest to change passwords should work, right? It doesn't for me.

I'm using authdaemon to handle authentication chores. My authmodulelist parameter in the authdaemonrc file looks like this:

authmodulelist="authcustom authcram authuserdb authpam"

Authpam is used to authenticate system accounts and authuserdb is used for virtual mail accounts. Using authtest to test authentication works for both system and virtual accounts. This is the sort of thing I get:

authtest <username> <password>
Authenticated: module authdaemon
<user info follows>

If I try to use authtest to change a password, again either a system or virtual account, I get this:

authtest <username> <password> <newpassword>
Authentication FAILED!

If I use a bogus username or password, authentication always fails so it seems like authtest is accessing the proper user databases. Any ideas why the password change is failing?

The reason I'm harping on authtest is that I'm under the impression that it should work for password changes and it seems pointless go to the trouble of writing my own program if I can't even get the test program to work.

Andrew





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to