Security

Reply
Regular Contributor I

Re: LDAP Search Filter and @SEARCH@

Hi Guys,

i have use this filter:

 

(&(mail=*@SEARCH@*)(!(samaccountname=account))(!(mail=*word*))(|(memberof=CN=,OU=Groups,OU=,OU=,DC=,DC=)(memberof=)(memberof=)(memberof=)))

 

so i can find only the user that is in one of these group "memberof=" and that isn't this person "samaccountname=account" and that have an email that not contains this word "mail=*word*"

 

i hope this can help you.

Andrea
Occasional Contributor II

Re: LDAP Search Filter and @SEARCH@

Hi,

 

I we need to use the search_lookup but we don't like to 7-8 mails appears on the box.

How can we configure these?

 

As a blacklist of VIP.

 

Thanks

Regular Contributor I

Re: LDAP Search Filter and @SEARCH@

HI,

i think that you need to use this filter:

 

------------------------------------
(&
(givenname=@SEARCH@*)
(|
# Match users in any of these groups
(memberOf=CN=wireless,CN=Users,DC=CONSYS,DC=IT)
(!givenname=*User Name that not must be shown* )
(!givenname=*User Name that not must be shown* )
(!givenname=*User Name that not must be shown* )
.
.
(!givenname=*User Name that not must be shown* )

) )
------------------------------------

 

Example:
------------------------------------
(&
(givenname=@SEARCH@*)
(|
# Match users in any of these groups
(memberOf=CN=wireless,CN=Users,DC=CONSYS,DC=IT)
(!givenname=*Steve Rogers* )
(!givenname=*Peter Parker* )
(!givenname=*Tony Stark* )
) )
------------------------------------

Rembber that " * " is a wild card, so:
*name = End With
name* = Starts with
*name* = Contains
name = exact match

 

Regards

Andrea Acampa

Andrea
New Contributor

Re: LDAP Search Filter and @SEARCH@

customer tried the above query,but is takes 20 seconds .How can we fine tune?

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: