[dovecot-cvs] dovecot/src/auth userinfo-pam.c,1.3,1.4
cras at procontrol.fi
cras at procontrol.fi
Tue Oct 29 07:07:22 EET 2002
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-search.c,1.36,1.37 index-storage.c,1.17,1.18 index-update-flags.c,1.11,1.12
- Next message: [dovecot-cvs] dovecot configure.in,1.40,1.41 acconfig.h,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv12974/src/auth
Modified Files:
userinfo-pam.c
Log Message:
Call pam_setcred() if it exists.
Index: userinfo-pam.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/userinfo-pam.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- userinfo-pam.c 5 Oct 2002 21:13:22 -0000 1.3
+++ userinfo-pam.c 29 Oct 2002 05:07:20 -0000 1.4
@@ -167,6 +167,14 @@
return FALSE;
}
+#ifdef HAVE_PAM_SETCRED
+ if ((status = pam_setcred(pamh, PAM_ESTABLISH_CRED)) != PAM_SUCCESS) {
+ if (status == PAM_ABORT)
+ i_fatal("pam_setcred_mgmt() requested abort");
+ return FALSE;
+ }
+#endif
+
if ((status = pam_acct_mgmt(pamh, 0)) != PAM_SUCCESS) {
if (status == PAM_ABORT)
i_fatal("pam_acct_mgmt() requested abort");
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-search.c,1.36,1.37 index-storage.c,1.17,1.18 index-update-flags.c,1.11,1.12
- Next message: [dovecot-cvs] dovecot configure.in,1.40,1.41 acconfig.h,1.11,1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list