[dovecot-cvs] dovecot/src/auth db-ldap.c,1.51,1.52
tss at dovecot.org
tss at dovecot.org
Sat Nov 4 20:10:00 UTC 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv31004
Modified Files:
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.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- db-ldap.c 4 Nov 2006 15:51:30 -0000 1.51
+++ db-ldap.c 4 Nov 2006 20:09:57 -0000 1.52
@@ -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