Hi. I want to search entries from LDAP server by using ‘children’ value in the scope option, similar to what is possible with the -s option in the ldapsearch command.
After trying out different approaches, I've come to realize that SearchRequest with scope argument set to value 3 does exactly what I wanted to do, but there is no constant declaration for representing this scope level.
I know scope level for children is not defined in RFC4511. However, I think adding constant declaration for children level would enhance convenience for users like me. Since the code using SearchRequest currently functions well with the scope argument value 3, incorporating it into a constant declaration would add more clarity and coherence.
Hi. I want to search entries from LDAP server by using ‘children’ value in the scope option, similar to what is possible with the
-s
option in the ldapsearch command.After trying out different approaches, I've come to realize that
SearchRequest
with scope argument set to value3
does exactly what I wanted to do, but there is no constant declaration for representing this scope level. I know scope level for children is not defined in RFC4511. However, I think adding constant declaration for children level would enhance convenience for users like me. Since the code usingSearchRequest
currently functions well with the scope argument value3
, incorporating it into a constant declaration would add more clarity and coherence.Could you please review PR https://github.com/go-ldap/ldap/pull/480 and add support for it?
Thanks.