cancel
Showing results for 
Search instead for 
Did you mean: 
New Member
New Member

LDAP Custom Filters

Jump to solution

Hi,

we have a WC 7835. LDAP server is configured correctly but I want to hide users with attribute: msExchHideFromAddressLists=TRUE.

How can I do it?

I tried in User ID Query Filter "(&(objectClass=user)(!MSExchHideFromAddressLists=TRUE)(sAMAccountName=LDAP))" and "(&(objectClass=user)(MSExchHideFromAddressLists=FALSE)(sAMAccountName=LDAP))" and "(MSExchHideFromAddressLists=FALSE)(sAMAccountName=LDAP)" with no luck.

 

Can anyone help me with that?

 

(Our System Software ver:071.010.103.04401)

0 Kudos
2 Replies
Highlighted
Analyst Nation Moderator
Analyst Nation Moderator

Re: LDAP Custom Filters

Jump to solution

(&(objectCategory=user)(objectClass=user)(!(MSExchHideFromAddressLists=TRUE)))

 

Odd you need to define this, by the sound of it, the string is to make a user not searchable. According to everything MS has to say on it, the attribute of True for this is to take an employee who is no longer in the system out, for instance, on Maternity leave. Then when they come back you set it to "False" and they are back in. Seems like it is not working server side. But I'm not an LDAP expert.

 

I made my suggestion using these sources, it is untested :

 

http://technet.microsoft.com/en-us/library/cc261947%28office.12%29.aspx

 

http://community.spiceworks.com/scripts/show/1802-hide-all-disabled-users-from-gal

 

http://community.office365.com/en-us/f/148/t/200682.aspx

 

 

 

Hope that helps

Please be sure to select "Accept Solution" and or select the thumbs up icon to enter Kudos for posts that resolve your issues. Your feedback counts!

Joe
Highlighted
New Member
New Member

Re: LDAP Custom Filters

Jump to solution

Thank you Joe,

this works for me:

(&(cn=LDAP*)(objectCategory=user)(objectClass=user)(!(MSExchHideFromAddressLists=TRUE)))

 

Przechwytywanie.JPG

 

 

 

 

 

 

 

 

 

 

0 Kudos