We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18072ee + a51b2c6 commit b58c26eCopy full SHA for b58c26e
1 file changed
providers/directory/search.go
@@ -80,6 +80,10 @@ func (d *Directory) serveSearch(rw ldap.ResponseWriter, r *ldap.Request) {
80
if dn := strings.Join(parts[1:], ","); dn != msg.BaseDN {
81
continue
82
}
83
+ case ldap.ScopeWholeSubtree:
84
+ if !strings.HasSuffix(strings.ToLower(e.Dn), strings.ToLower(msg.BaseDN)) {
85
+ continue
86
+ }
87
88
if d.skip(&e, msg.BaseDN) {
89
0 commit comments