X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fldap.c;h=9d280186487556576427f29861f72846533a586b;hb=19425c9d96e47042a82935ae65ba53981003223f;hp=cc88a7b4e202fdbfdfd5412ab1efc39ac1853e5f;hpb=36ac32ab488eec4581384c5b1c14377e14a85b25;p=citadel.git diff --git a/citadel/ldap.c b/citadel/ldap.c index cc88a7b4e..9d2801864 100644 --- a/citadel/ldap.c +++ b/citadel/ldap.c @@ -124,7 +124,8 @@ int CtdlTryUserLDAP(char *username, } syslog(LOG_DEBUG, "LDAP search: %s\n", searchstring); - i = ldap_search_ext_s(ldserver, /* ld */ + (void) ldap_search_ext_s( + ldserver, /* ld */ config.c_ldap_base_dn, /* base */ LDAP_SCOPE_SUBTREE, /* scope */ searchstring, /* filter */