diff --git a/CHANGELOG b/CHANGELOG index 045ae6e..c103885 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -12,6 +12,7 @@ - and fix the recursive map key lookup for browsable map case. - review and fix master map options update for map reload. - fix "-fstype=nfs4" handling. +- fix get_query_dn not looking in subtree for LDAP search. 1/9/2006 autofs-5.0.1 rc2 ------------------------- diff --git a/modules/lookup_ldap.c b/modules/lookup_ldap.c index 277e2d6..c9515a0 100644 --- a/modules/lookup_ldap.c +++ b/modules/lookup_ldap.c @@ -808,7 +808,7 @@ static int get_query_dn(LDAP *ldap, stru MODPREFIX "error forming query string"); return 0; } - scope = LDAP_SCOPE_BASE; + scope = LDAP_SCOPE_SUBTREE; } query[l] = '\0';