X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=source%2Fldap%2FSearch.cpp;h=2f2e063aeb0bdb90510ddc11f53757ecdd4c32dc;hb=227446df961ead723c8f2b04ea53d99c770a438f;hp=aedcd12f20ebe9a591a015c645cbf2691237c250;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/source/ldap/Search.cpp b/source/ldap/Search.cpp index aedcd12..2f2e063 100644 --- a/source/ldap/Search.cpp +++ b/source/ldap/Search.cpp @@ -51,6 +51,7 @@ throw() { case Scope::Base: scope = LDAP_SCOPE_BASE; break; case Scope::OneLevel: scope = LDAP_SCOPE_ONELEVEL; break; case Scope::SubTree: scope = LDAP_SCOPE_SUBTREE; break; + case Scope::None: return result; break; } int maxi = attribute_size() + 1;