mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
B #5445: fix ldap group search for non rfc2307bis schema
(cherry picked from commit 4c2ad0f144)
This commit is contained in:
1 parent
15ae0f474f
commit
d1aac6bebb
1 file changed
+1
-1
@@ -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" ],
|
||||
|
||||
Reference in new issue
Block a user