aboutsummaryrefslogtreecommitdiffstats
path: root/src/pam.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-22 05:32:42 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-22 05:32:42 +0100
commit7a2d7a1a2b419c7802aaaf587c3f3a79037fb95d (patch)
tree6a290d981ae6c3064d1427f6fe41b675df585462 /src/pam.c
parentexport env list from PAM (diff)
downloadlibpassphrase-7a2d7a1a2b419c7802aaaf587c3f3a79037fb95d.tar.gz
libpassphrase-7a2d7a1a2b419c7802aaaf587c3f3a79037fb95d.tar.bz2
libpassphrase-7a2d7a1a2b419c7802aaaf587c3f3a79037fb95d.tar.xz
pam_acct_mgmt freezes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/pam.c')
-rw-r--r--src/pam.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pam.c b/src/pam.c
index 5c06670..288196e 100644
--- a/src/pam.c
+++ b/src/pam.c
@@ -119,10 +119,13 @@ void initialise_pam(char* remote, char* username, char* (*reader)(void))
*/
void verify_account_pam(void)
{
+ /* FIXME freezes */
+ /*
int rc = pam_acct_mgmt(handle, 0);
if (rc == PAM_NEW_AUTHTOK_REQD)
rc = pam_chauthtok(handle, PAM_CHANGE_EXPIRED_AUTHTOK);
do_pam(rc);
+ */
}