[dovecot-cvs] dovecot/src/auth passdb-pam.c,1.51,1.52
tss at dovecot.org
tss at dovecot.org
Tue Apr 3 06:33:18 EEST 2007
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv5476
Modified Files:
passdb-pam.c
Log Message:
Set PAM_RUSER.
Index: passdb-pam.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-pam.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- passdb-pam.c 26 Mar 2007 16:14:17 -0000 1.51
+++ passdb-pam.c 3 Apr 2007 03:33:16 -0000 1.52
@@ -275,6 +275,7 @@
care if they do. */
if (host != NULL)
(void)pam_set_item(pamh, PAM_RHOST, host);
+ (void)pam_set_item(pamh, PAM_RUSER, request->user);
/* TTY is needed by eg. pam_access module */
(void)pam_set_item(pamh, PAM_TTY, "dovecot");
More information about the dovecot-cvs
mailing list