[dovecot-cvs] dovecot/src/auth passdb-pam.c,1.52,1.53

tss at dovecot.org tss at dovecot.org
Tue Apr 3 06:36:46 EEST 2007


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv5592

Modified Files:
	passdb-pam.c 
Log Message:
Lowercase the PAM service name when calling with "args = *". Linux PAM did
this internally already, but at least BSD didn't.



Index: passdb-pam.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-pam.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- passdb-pam.c	3 Apr 2007 03:33:16 -0000	1.52
+++ passdb-pam.c	3 Apr 2007 03:36:44 -0000	1.53
@@ -512,7 +512,7 @@
 			module->module.blocking = TRUE;
 		} else if (strcmp(t_args[i], "*") == 0) {
 			/* for backwards compatibility */
-			module->service_name = "%s";
+			module->service_name = "%Ls";
 		} else if (t_args[i+1] == NULL) {
 			if (*t_args[i] != '\0') {
 				module->service_name =



More information about the dovecot-cvs mailing list