[dovecot-cvs] dovecot/src/auth passdb-ldap.c,1.53,1.54

tss at dovecot.org tss at dovecot.org
Sun Nov 12 12:13:47 UTC 2006


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

Modified Files:
	passdb-ldap.c 
Log Message:
auth_bind=yes crashfix



Index: passdb-ldap.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-ldap.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- passdb-ldap.c	8 Nov 2006 20:22:08 -0000	1.53
+++ passdb-ldap.c	12 Nov 2006 12:13:44 -0000	1.54
@@ -251,7 +251,7 @@
 	struct auth_request *auth_request = ldap_request->context;
 	int msgid;
 
-	if (!conn->connecting) {
+	if (conn->connected) {
 		/* switch back to the default dn before doing the next search
 		   request */
 		conn->last_auth_bind = TRUE;



More information about the dovecot-cvs mailing list