On Thu, 22 Apr 2010 12:29:07 +0200, "A.L.E.C" alec@alec.pl wrote:
fakessh wrote:
according API
pam_auth() required before pam_chpass()API doesn't say this
it does not work without pam_auth()
Are you sure?
YES
I just take the test by commenting lines in question "does not work anymore" pam_auth() required before pam_chpass() in php
Sorry, I have no testing environment, but c code of
pam_chpass() contains pam_authenticate() call, so maybe it's not required to call pam_auth()
http://svn.php.net/viewvc/pecl/pam/trunk/pam.c?view=markup#l291
List info: http://lists.roundcube.net/dev/