diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2013-12-19 23:18:24 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2013-12-21 20:45:23 +0100 |
commit | b9ec6df4ab3b7a1fc16dc894f03f538dafb879fb (patch) | |
tree | 9474dabaa632628aac65bf79e7c0f3b81cb9af5f /nslcd | |
parent | 9f0285333e122c625c6055c3aebebc30f25b8702 (diff) |
Support printing children search scope
This fixes 2caeef4.
Diffstat (limited to 'nslcd')
-rw-r--r-- | nslcd/cfg.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 "???"; } } |