mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-14 19:24:10 +03:00
B #5445: fix ldap group search for non rfc2307bis schema
(cherry picked from commit 4c2ad0f14436acc0ce4f0b160cb089a7e40e12c1)
This commit is contained in:
parent
15ae0f474f
commit
d1aac6bebb
@ -194,7 +194,7 @@ class OpenNebula::LdapAuth
|
||||
end
|
||||
end
|
||||
else
|
||||
filter = "(#{@options[:group_field]}=#{@user[@options[:user_field]].first})"
|
||||
filter = "(#{@options[:group_field]}=#{@user[@options[:user_group_field]].first})"
|
||||
@ldap.search(
|
||||
:base => @options[:base],
|
||||
:attributes => [ "dn" ],
|
||||
|
Loading…
x
Reference in New Issue
Block a user