mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
Add scoping to ldap lookup.
This commit is contained in:
@@ -74,7 +74,8 @@ module Gitlab
|
||||
def users(field, value)
|
||||
if field.to_sym == :dn
|
||||
options = {
|
||||
base: value
|
||||
base: value,
|
||||
scope: Net::LDAP::SearchScope_BaseObject
|
||||
}
|
||||
else
|
||||
options = {
|
||||
|
||||
Reference in New Issue
Block a user