From: Arran Cudbard-Bell Date: Mon, 17 Apr 2017 23:36:09 +0000 (-0400) Subject: Retrieve all entries by default X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b8cd34d2aeff67f400b8760ea46d2da3da59e80;p=thirdparty%2Ffreeradius-server.git Retrieve all entries by default --- diff --git a/src/lib/ldap/libfreeradius-ldap.c b/src/lib/ldap/libfreeradius-ldap.c index 0b9ba7c65e2..dd6ebc57c83 100644 --- a/src/lib/ldap/libfreeradius-ldap.c +++ b/src/lib/ldap/libfreeradius-ldap.c @@ -632,7 +632,7 @@ ldap_rcode_t fr_ldap_search(LDAPMessage **result, REQUEST *request, 0, our_serverctrls, our_clientctrls, NULL, 0, &msgid); ROPTIONAL(RDEBUG, DEBUG, "Waiting for search result..."); - status = fr_ldap_result(*pconn, msgid, 0, dn, NULL, &our_result, &error, &extra); + status = fr_ldap_result(*pconn, msgid, 1, dn, NULL, &our_result, &error, &extra); switch (status) { case LDAP_PROC_SUCCESS: break;