Skip to content
Snippets Groups Projects
Commit 11dba4ce authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Fix syntax error in AD disabled user filter

parent a6e41538
Branches
Tags
No related merge requests found
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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment