Skip to content
Snippets Groups Projects
Commit 29a51624 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

cleanup

parent 9b6d816f
No related branches found
No related tags found
No related merge requests found
......@@ -281,7 +281,8 @@ meta_back_dobind( struct metaconn *lc, Operation *op )
}
for ( i = 0, lsc = lc->conns; !META_LAST(lsc); ++i, ++lsc ) {
int rc;
int rc;
struct berval cred = BER_BVC("");
/*
* Not a candidate or something wrong with this target ...
......@@ -328,7 +329,8 @@ meta_back_dobind( struct metaconn *lc, Operation *op )
lsc->cred.bv_len = 0;
}
rc = ldap_bind_s( lsc->ld, 0, NULL, LDAP_AUTH_SIMPLE );
rc = ldap_sasl_bind_s(lsc->ld, "", LDAP_SASL_SIMPLE, &cred,
op->o_ctrls, NULL, NULL);
if ( rc != LDAP_SUCCESS ) {
#ifdef NEW_LOGGING
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment