/[smeserver]/rpms/dovecot/sme7/dovecot-1.0.beta2-pam-tty.patch
ViewVC logotype

Annotation of /rpms/dovecot/sme7/dovecot-1.0.beta2-pam-tty.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 15:07:20 2007 UTC (17 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: dovecot-1_0-1_2_rc15_el4_sme
Import on branch sme7 of package dovecot-1.0-1.2.rc15.el4.sme.src.rpm

1 slords 1.1 --- ./dovecot-1.0.beta2/src/auth/passdb-pam.c.pam-tty 2006-01-30 11:02:05.000000000 +0100
2     +++ ./dovecot-1.0.beta2/src/auth/passdb-pam.c 2006-01-30 11:03:08.000000000 +0100
3     @@ -256,6 +256,10 @@
4     if (host != NULL)
5     pam_set_item(pamh, PAM_RHOST, host);
6    
7     + /* fix bug 149673, need dummy TTY for pam_access,
8     + FIXME: should we check and report an error for PAM_TTY? */
9     + pam_set_item(pamh, PAM_TTY, "dovecot");
10     +
11     status = pam_auth(request, pamh, &str);
12     if ((status2 = pam_end(pamh, status)) == PAM_SUCCESS) {
13     /* FIXME: check for PASSDB_RESULT_UNKNOWN_USER

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed