• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 951
  • Last Modified:

Need help with an ldap query to use in ADModify

Hello Experts

I need help with modifying user attributes using admodify. the ldap query I am trying  to use is not returning any users.

I have to search for users who are members of security group 'sgroup' which resides under the container users . I used the following ldap query but it didnt' work.
(&(objectclass=group)(memberof=CN=sgroup,CN=users,DC=domian,DC=com)

the dn of the security group in adsi edit is :
CN=sgroup,CN=Users,DC=domain,DC=com

pls n thx




0
ashjuv
Asked:
ashjuv
  • 2
  • 2
1 Solution
 
Mike KlineCommented:
did you just try
memberof=CN=sgroup,CN=users,DC=domian,DC=com
Going to test with admodify and let you know.
Thanks
Mike
0
 
ashjuvAuthor Commented:
No, let me try.
0
 
ashjuvAuthor Commented:
even a simple ldap query is not returning any results.

for example I tried (&(objectclass=user)(sn=small), I have the domain controller and domain controllers list selected from the drop down menu.

am i missing something very basic here.
0
 
Mike KlineCommented:
Take a look at my examples,
first is just looking for my user called inheritance, second is similar to  your question.
After you run the query are you selecting "add to list" in admodify?
Thanks
mike

simple-query1.jpg
memberof.jpg
0
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.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now