[dovecot-cvs] dovecot/src/auth passdb-pam.c,1.37.2.2,1.37.2.3
cras at dovecot.org
cras at dovecot.org
Mon Jun 12 00:55:42 EEST 2006
- Previous message: [dovecot-cvs]
dovecot/src/lib-index mail-index-view-private.h, 1.22,
1.22.2.1 mail-index-view-sync.c, 1.52,
1.52.2.1 mail-index-view.c, 1.44,
1.44.2.1 mail-transaction-log-append.c, 1.17, 1.17.2.1
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-file.c, 1.12,
1.12.2.1 dbox-file.h, 1.2, 1.2.2.1 dbox-mail.c, 1.9.2.1,
1.9.2.2 dbox-save.c, 1.10.2.2, 1.10.2.3 dbox-storage.h, 1.10,
1.10.2.1 dbox-sync-expunge.c, 1.15, 1.15.2.1 dbox-sync-full.c,
1.5.2.1, 1.5.2.2 dbox-sync.c, 1.16.2.1, 1.16.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv3824
Modified Files:
Tag: branch_1_0
passdb-pam.c
Log Message:
Set PAM_TTY.
Index: passdb-pam.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-pam.c,v
retrieving revision 1.37.2.2
retrieving revision 1.37.2.3
diff -u -d -r1.37.2.2 -r1.37.2.3
--- passdb-pam.c 11 Jun 2006 18:14:34 -0000 1.37.2.2
+++ passdb-pam.c 11 Jun 2006 21:55:40 -0000 1.37.2.3
@@ -256,8 +256,13 @@
pam_strerror(pamh, status));
} else {
const char *host = net_ip2addr(&request->remote_ip);
+
+ /* Set some PAM items. They shouldn't fail, and we don't really
+ care if they do. */
if (host != NULL)
- pam_set_item(pamh, PAM_RHOST, host);
+ (void)pam_set_item(pamh, PAM_RHOST, host);
+ /* TTY is needed by eg. pam_access module */
+ (void)pam_set_item(pamh, PAM_TTY, "dovecot");
status = pam_auth(request, pamh, &str);
if ((status2 = pam_end(pamh, status)) == PAM_SUCCESS) {
- Previous message: [dovecot-cvs]
dovecot/src/lib-index mail-index-view-private.h, 1.22,
1.22.2.1 mail-index-view-sync.c, 1.52,
1.52.2.1 mail-index-view.c, 1.44,
1.44.2.1 mail-transaction-log-append.c, 1.17, 1.17.2.1
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-file.c, 1.12,
1.12.2.1 dbox-file.h, 1.2, 1.2.2.1 dbox-mail.c, 1.9.2.1,
1.9.2.2 dbox-save.c, 1.10.2.2, 1.10.2.3 dbox-storage.h, 1.10,
1.10.2.1 dbox-sync-expunge.c, 1.15, 1.15.2.1 dbox-sync-full.c,
1.5.2.1, 1.5.2.2 dbox-sync.c, 1.16.2.1, 1.16.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list