• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 944
  • 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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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