rpms/dovecot/devel dovecot-pam-setcred.patch, 1.1, 1.2 dovecot.spec, 1.30, 1.31

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jul 22 21:16:19 UTC 2005


Author: jdennis

Update of /cvs/dist/rpms/dovecot/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22522

Modified Files:
	dovecot-pam-setcred.patch dovecot.spec 
Log Message:
fix bug #149673, add dummy PAM_TTY


dovecot-pam-setcred.patch:
 passdb-pam.c |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+)

Index: dovecot-pam-setcred.patch
===================================================================
RCS file: /cvs/dist/rpms/dovecot/devel/dovecot-pam-setcred.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- dovecot-pam-setcred.patch	2 Feb 2005 22:02:10 -0000	1.1
+++ dovecot-pam-setcred.patch	22 Jul 2005 21:15:59 -0000	1.2
@@ -1,5 +1,5 @@
---- dovecot-0.99.13.orig/src/auth/passdb-pam.c	2004-12-19 00:25:15.000000000 -0500
-+++ dovecot-0.99.13/src/auth/passdb-pam.c	2005-02-02 16:18:59.177660000 -0500
+--- passdb-pam.c.pam-setcred	2005-01-30 02:52:53.000000000 -0500
++++ dovecot-0.99.14/src/auth/passdb-pam.c	2005-07-22 16:38:16.000000000 -0400
 @@ -180,12 +180,37 @@
  	}
  
@@ -38,3 +38,13 @@
  
  	if ((status = pam_acct_mgmt(pamh, 0)) != PAM_SUCCESS) {
  		*error = t_strdup_printf("pam_acct_mgmt(%s) failed: %s",
+@@ -228,6 +253,9 @@
+ 		str = t_strdup_printf("pam_start(%s) failed: %s",
+ 				      user, pam_strerror(pamh, status));
+ 	} else {
++		/* fix bug 149673, need dummy TTY for pam_access */
++		/* FIXME: should we check and report an error for PAM_TTY? */
++		pam_set_item(pamh, PAM_TTY, "dovecot");
+ 		status = pam_auth(pamh, user, &str);
+ 		if ((status2 = pam_end(pamh, status)) == PAM_SUCCESS) {
+ 			/* FIXME: check for PASSDB_RESULT_UNKNOWN_USER


Index: dovecot.spec
===================================================================
RCS file: /cvs/dist/rpms/dovecot/devel/dovecot.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- dovecot.spec	28 Apr 2005 19:57:40 -0000	1.30
+++ dovecot.spec	22 Jul 2005 21:15:59 -0000	1.31
@@ -1,7 +1,7 @@
 Summary: Dovecot Secure imap server
 Name: dovecot
 Version: 0.99.14
-Release: 5.fc4
+Release: 6.fc5
 License: LGPL
 Group: System Environment/Daemons
 
@@ -172,6 +172,9 @@
 
 
 %changelog
+* Fri Jul 22 2005 John Dennis <jdennis at redhat.com> - 0.99.14-6.fc5
+- fix bug #149673, add dummy PAM_TTY
+
 * Thu Apr 28 2005 John Dennis <jdennis at redhat.com> - 0.99.14-5.fc4
 - fix bug #156159 insecure location of restart flag file
 




More information about the fedora-cvs-commits mailing list