|
@@ -162,7 +162,7 @@ class Ldap
|
|
|
#
|
|
|
# @return [String, nil] The active or found filter or nil if none could be found.
|
|
|
def filter
|
|
|
- @filter ||= lookup_filter(['(&(objectClass=user)(samaccountname=*)(!(samaccountname=*$)))', '(objectClass=user)'])
|
|
|
+ @filter ||= lookup_filter(['(&(objectClass=user)(samaccountname=*)(!(samaccountname=*$)))', '(objectClass=user)', '(objectClass=posixaccount)'])
|
|
|
end
|
|
|
|
|
|
# The active uid attribute of the instance. If none give on initialization an automatic lookup is performed.
|