From b9ec6df4ab3b7a1fc16dc894f03f538dafb879fb Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Thu, 19 Dec 2013 23:18:24 +0100 Subject: Support printing children search scope This fixes 2caeef4. --- nslcd/cfg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nslcd') diff --git a/nslcd/cfg.c b/nslcd/cfg.c index 25fb1f2..e3dd418 100644 --- a/nslcd/cfg.c +++ b/nslcd/cfg.c @@ -618,6 +618,9 @@ static const char *print_scope(int scope) case LDAP_SCOPE_SUBTREE: return "sub"; case LDAP_SCOPE_ONELEVEL: return "one"; case LDAP_SCOPE_BASE: return "base"; +#ifdef LDAP_SCOPE_CHILDREN + case LDAP_SCOPE_CHILDREN: return "children"; +#endif /* LDAP_SCOPE_CHILDREN */ default: return "???"; } } -- cgit v1.2.3