diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-05-14 18:54:05 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-05-14 18:54:05 +0200 |
commit | 11dba4cee7dc43f88c340bccd553cff0e3d874e4 (patch) | |
tree | cbd15ac4a64e7865504c31b0250c2e4a99c087b0 /lib | |
parent | a6e4153878eda841b0a71e5e1666e6bed0a050ae (diff) | |
download | gitlab-ce-11dba4cee7dc43f88c340bccd553cff0e3d874e4.tar.gz |
Fix syntax error in AD disabled user filter
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ldap/person.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ldap/person.rb b/lib/gitlab/ldap/person.rb index fa57f298e16..17ffde0e84f 100644 --- a/lib/gitlab/ldap/person.rb +++ b/lib/gitlab/ldap/person.rb @@ -1,7 +1,7 @@ module Gitlab module LDAP class Person - AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", 2) + AD_USER_DISABLED = Net::LDAP::Filter.ex("userAccountControl:1.2.840.113556.1.4.803", "2") def self.find_by_uid(uid, adapter=nil) adapter ||= Gitlab::LDAP::Adapter.new |