ashjuv
asked on
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)(memb erof=CN=sg roup,CN=us ers,DC=dom ian,DC=com )
the dn of the security group in adsi edit is :
CN=sgroup,CN=Users,DC=doma in,DC=com
pls n thx
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)(memb
the dn of the security group in adsi edit is :
CN=sgroup,CN=Users,DC=doma
pls n thx
ASKER
No, let me try.
ASKER
even a simple ldap query is not returning any results.
for example I tried (&(objectclass=user)(sn=sm all), I have the domain controller and domain controllers list selected from the drop down menu.
am i missing something very basic here.
for example I tried (&(objectclass=user)(sn=sm
am i missing something very basic here.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
memberof=CN=sgroup,CN=user
Going to test with admodify and let you know.
Thanks
Mike