Solved

Ldap add additional condition

Posted on 2011-09-06
1
346 Views
Last Modified: 2012-05-12

Ldap add additional condition
(&(objectCategory=Person)(objectClass=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(|(mail=*abc.com)))

I want to add 2 email suffix. how can i do this?
0
Comment
Question by:bsharath
1 Comment
 
LVL 57

Accepted Solution

by:
Mike Kline earned 500 total points
ID: 36493645
haven't tested (late here) but you are on the right track

(&(objectCategory=Person)(objectClass=User)(!userAccountControl:1.2.840.113556.1.4.803:=2)(|(mail=*abc.com)(mail=*def.com)(mail=*ghi.com)))

So you are looking for all enabled accounts that have either of those suffexes in their mail attribute.

Thanks

Mike
0

Join & Write a Comment

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now