[dovecot-cvs] dovecot/src/login-common sasl-server.c,1.13,1.14

tss at dovecot.org tss at dovecot.org
Tue Dec 5 17:47:34 UTC 2006


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv7777

Modified Files:
	sasl-server.c 
Log Message:
proxy=y logins can't log in either.



Index: sasl-server.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/sasl-server.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- sasl-server.c	3 Dec 2006 12:47:52 -0000	1.13
+++ sasl-server.c	5 Dec 2006 17:47:32 -0000	1.14
@@ -60,7 +60,8 @@
 				i_free(client->virtual_user);
 				client->virtual_user = i_strdup(args[i] + 5);
 			}
-			if (strcmp(args[i], "nologin") == 0) {
+			if (strcmp(args[i], "nologin") == 0 ||
+			    strcmp(args[i], "proxy") == 0) {
 				/* user can't login */
 				nologin = TRUE;
 			}



More information about the dovecot-cvs mailing list