[dovecot-cvs] dovecot/src/auth db-ldap.c,1.41.2.10,1.41.2.11

tss at dovecot.org tss at dovecot.org
Sat Nov 4 20:09:57 UTC 2006


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

Modified Files:
      Tag: branch_1_0
	db-ldap.c 
Log Message:
Don't call ldap_parse_sasl_bind_result() in ldap_bind()'s callback. We're
not doing SASL authentication.



Index: db-ldap.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/db-ldap.c,v
retrieving revision 1.41.2.10
retrieving revision 1.41.2.11
diff -u -d -r1.41.2.10 -r1.41.2.11
--- db-ldap.c	4 Nov 2006 15:51:28 -0000	1.41.2.10
+++ db-ldap.c	4 Nov 2006 20:09:54 -0000	1.41.2.11
@@ -341,13 +341,6 @@
 		return;
 	}
 
-	ret = ldap_parse_sasl_bind_result(conn->ld, res, NULL, FALSE);
-	if (ret != LDAP_SUCCESS) {
-		i_error("LDAP: ldap_parse_sasl_bind_result() failed: %s",
-			ldap_err2string(ret));
-		return;
-	}
-
 	ret = ldap_result2error(conn->ld, res, FALSE);
 	(void)db_ldap_connect_finish(conn, ret);
 }



More information about the dovecot-cvs mailing list