Merge pull request #6857 from bytheway/master
Add scoping to ldap lookup when only dn given
This commit is contained in:
commit
b4b6447b55
|
@ -44,7 +44,8 @@ module Gitlab
|
|||
def users(field, value)
|
||||
if field.to_sym == :dn
|
||||
options = {
|
||||
base: value
|
||||
base: value,
|
||||
scope: Net::LDAP::SearchScope_BaseObject
|
||||
}
|
||||
else
|
||||
options = {
|
||||
|
|
Loading…
Reference in New Issue