[dovecot-cvs] dovecot/src/auth passdb-ldap.c,1.44.2.8,1.44.2.9

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


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

Modified Files:
      Tag: branch_1_0
	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.44.2.8
retrieving revision 1.44.2.9
diff -u -d -r1.44.2.8 -r1.44.2.9
--- passdb-ldap.c	7 Nov 2006 16:16:08 -0000	1.44.2.8
+++ passdb-ldap.c	12 Nov 2006 12:13:42 -0000	1.44.2.9
@@ -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