How can I add one more group to my LDAP Query?

Hi,

I was wondering if someone can help me out by showing how to add one more group to my LDAP Query.
Currently this LDAP Query is pulling users from the "test" group inside the "Glinse" OU. The problem is that
I'm trying to make it pull from another group as well name "users" inside the "Glinse" OU but I'm not able to figure it out. Any help would be appreciated. Thanks!
(&((memberof=cn=test,ou=Glinse,DC=foxy,DC=local)))

Open in new window

techin4Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike KlineCommented:
Do you want it to pull users if they are in group A and group B

or users who are in group A or group B

the answer is a bit different so that is why I'm asking the follow up.

Thanks

Mike
0
techin4Author Commented:
Hi Mike,

I would like for it to pull users both in groups A and B. The reason is one group will be Administrators while the 2nd group will be regular users with read only access. Thanks for your help.
0
RobSampsonCommented:
Hi, I haven't tested it, but I think this would work:
(|((memberof=cn=test,ou=Glinse,DC=foxy,DC=local)(memberof=cn=test2,ou=Glinse,DC=foxy,DC=local)))

Rob.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.