Commit 11dba4cee7dc43f88c340bccd553cff0e3d874e4
1 parent
a6e41538
Exists in
spb-stable
and in
2 other branches
Fix syntax error in AD disabled user filter
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/gitlab/ldap/person.rb
1 | module Gitlab | 1 | module Gitlab |
2 | module LDAP | 2 | module LDAP |
3 | class Person | 3 | class Person |
4 | - AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", 2) | 4 | + AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", "2") |
5 | 5 | ||
6 | def self.find_by_uid(uid, adapter=nil) | 6 | def self.find_by_uid(uid, adapter=nil) |
7 | adapter ||= Gitlab::LDAP::Adapter.new | 7 | adapter ||= Gitlab::LDAP::Adapter.new |