LDAP: How get all users belongs to a group.
Michael Ströder
michael at stroeder.com
Fri Jun 24 07:02:34 EDT 2011
More information about the Python-list mailing list
Fri Jun 24 07:02:34 EDT 2011
- Previous message (by thread): LDAP: How get all users belongs to a group.
- Next message (by thread): LDAP: How get all users belongs to a group.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
sajuptpm wrote: > ------------------------------------------- User > > cn=AJP2203,ou=Internal PCA,o=CUST has group memberships > to the following Groups: > groupMembership: cn=My-Group-1,ou=Groups,o=CUST > groupMembership: cn=My-Group-2,u=Groups,o=CUST > groupMembership: cn=My-Group-3,ou=Groups,o=CUST > > ------------------------------------------- Group > > dn: cn=My-Group-1, ou=Groups, o=CUST > equivalentToMe: cn=TDS7034,ou=Internal PCA,o=CUST > objectClass: groupOfNames <------------ > objectClass: top > objectClass: swarePointers > ACL: 2#entry#[Root]#member > cn: My-Group-1 > member: cn=AJP2203,ou=Internal PCA,o=CUST > member: cn=AZE9632,ou=Internal PCA,o=CUST > member: cn=BTC4979,ou=Internal PCA,o=CUST > > ----------------- > > * We will get groups of a member from member record, using key > 'groupMembership'. > * But i want to get members belogs to a particular group Eg:'My- > Group-1' If this is the server's data the LDAP server seems to be Novell eDirectory not OpenLDAP. I'd try member search with this filter: (groupMembership=cn=My-Group-1,ou=Groups,o=CUST) Ciao, Michael.
- Previous message (by thread): LDAP: How get all users belongs to a group.
- Next message (by thread): LDAP: How get all users belongs to a group.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list