LDAP Filter Question

Mar 27, 2008 at 7:49 PM
(&(objectClass=Group)(cn=dsktestroam))

(&(objectClass=User)(sn=bugey))

Both filters above work fine. One returns the group and the other returns the user. My problem surrounds extracting users from the group listed and having them populated into the list window. I have tried many variations of an LDAP query to extract users from a group and populate them into the user list for modification. Nothing seems to be working for me..... Can anyone give me some suggestions?

Thanks
Jimmy
Apr 3, 2008 at 4:48 PM
you could try something like:
(&(objectCategory=user)(memberOf=CN=the-group,OU=some-ou,DC=your,DC=domain))

the stuff after memberOf= is the full distinguishedName of the group you want to check for, you can find this if use adsiedit to browse for the group and then lookup the distinguishedName property.

i've had the same problem of how to find members in a group and this was the only way i could make that work, it might be a bit inefficient but it should work.
May 28, 2008 at 9:44 AM
(&(objectClass=User)(sn=*)(homeMDB=*SG3_MDB1*))

gives me no result for all Users in StorageGroup3.
May 28, 2008 at 2:46 PM
Edited Jun 4, 2008 at 8:37 AM

May 28, 2008 at 5:23 PM
Vattern, how do your question relate to the orginal posters question or my reply?