You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
Hi all,
I am trying to filter out all the users that are disabled within the AD with this filter:
(&(objectClass=Person)(objectClass=user)(userAccountControl:1.2.840.113556.1.4.803:=2)) or
(&(&(objectClass=Person)(objectClass=user))(userAccountControl:1.2.840.113556.1.4.803:=2))
I have tried amny ways of manipulating this to inclue a ! or NOT or <> and still none of these work. I either get a Unbalanced parenthesis. What is the proper syntax to not get the disabled acocunts.. The above will give teh disabled.
Thanks
Offline
Hello
I have tried amny ways of manipulating this to inclue a ! or NOT or <> and still none of these work.
(!(objectClass=user))
About ldap filter syntax, see
http://www.faqs.org/rfcs/rfc2254.html
Best regards
shong
Offline
Pages: 1