• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] How to set Not variable in tLdap filter

#1 2010-02-04 00:01:42

asgard
New member
Registered: 2009-08-14
Posts: 8

[resolved] How to set Not variable in tLdap filter

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

#2 2010-02-04 04:07:47

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: [resolved] How to set Not variable in tLdap filter

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


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2010-02-04 15:20:53

asgard
New member
Registered: 2009-08-14
Posts: 8

Re: [resolved] How to set Not variable in tLdap filter

Thanks Shong that got it and thanks for the Information.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » [resolved] How to set Not variable in tLdap filter

Board footer

Powered by FluxBB