提交 b4b6447b 编写于 作者: J Jacob Vosmaer

Merge pull request #6857 from bytheway/master

Add scoping to ldap lookup when only dn given
......@@ -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 = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册