X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fopenldap.c;h=36a29f8dadb229a3955308035e71d3d012ca5c20;hb=8361c1e963f9184c3c4d87197fd6996d667cdb3f;hp=055f2d16c660568485774f34546eedfba372832a;hpb=f14bb45d570e0b34bdd3a2a0cadfe414c3dfda40;p=collectd.git diff --git a/src/openldap.c b/src/openldap.c index 055f2d16..36a29f8d 100644 --- a/src/openldap.c +++ b/src/openldap.c @@ -130,7 +130,7 @@ static int cldap_init_host (cldap_t *st) /* {{{ */ cred.bv_len = 0; } - rc = ldap_sasl_bind_s (st->ld, st->binddn, LDAP_SASL_SIMPLE, &cred, + rc = ldap_sasl_bind_s (st->ld, st->binddn, LDAP_SASL_SIMPLE, &cred, NULL, NULL, NULL); if (rc != LDAP_SUCCESS) {