Hi guys,

 

Do we have any LDAP query experts around?

 

We use the below string to filter, however we still get accounts
(sAMAccountName) in the profiles list starting with "a_"

 

 

 

(&(objectCategory=person)(objectClass=user)(!sAMAccountName=a_*)(!sAMAcc
ountName=infra_)(!pager=*)(|(&(sAMAccountName=U*)(sn=*)(mail=*)(!(userAc
countControl:1.2.840.113556.1.4.803:=2)))(&(sAMAccountName=SYD_*)(givenN
ame=.MR*)(mail=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))(&(sA
MAccountName=securityofficesydney)(!(userAccountControl:1.2.840.113556.1
4.803:=2)))(&(sAMAccountName=Learning)(!(userAccountControl:1.2.840.113
556.1.4.803:=2)))(&(extensionAttribute1=*)(!(userAccountControl:1.2.840.
113556.1.4.803:=2)))))

 

Kind regards

Nigel Hertz


Software Developer | Information Technology
Stockland
Level 25 | 133 Castlereagh Street | Sydney NSW 2000
T: 02 9035 2617 | F: 02 8988 2617

 


_____________________________________________________________________________________________________________________________________________________________

Stockland Notice: If this communication has been sent to you by mistake, please 
delete and notify us.  If it has been sent to you by mistake, legal privilege 
is not waived or lost and you are not entitled to use it in any way. Stockland 
and its subsidiaries reserve the right to monitor e-mail communication through 
its networks.
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to