LDAP: How get all users belongs to a group.

422 views
Skip to first unread message

sajuptpm

unread,
Jun 23, 2011, 9:22:59 AM6/23/11
to django-auth-ldap
Hi,
How get all users belongs to a particular ldap group. ???
Or
How search for user inside a particular ldap group. ??

Jeff Schroeder

unread,
Jun 23, 2011, 9:34:22 AM6/23/11
to django-a...@googlegroups.com, django-ldapdb development list

Wrong project :)

You should check out django-ldapdb. Then you could create a LdapGroup
and LdapUser model. I use ldapdb and could do a query like this:
user = LdapUser.objects.get(username="jschroeder") # Get my user
groups = LdapGroup.objects.get(members__in=[user]) # Get a queryset
with a list of all groups I'm a member of

http://opensource.bolloretelecom.eu/projects/django-ldapdb/

django-auth-ldap if for logging in via ldap, not managing or dealing with ldap.

--
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com

sajuptpm

unread,
Jun 23, 2011, 9:43:27 AM6/23/11
to django-auth-ldap
Hi,
Thanks

have any python module available for managing or dealing with ldap.
do you any python module fo get all users belongs to a particular ldap
group.

Jeff Schroeder

unread,
Jun 23, 2011, 9:44:56 AM6/23/11
to django-a...@googlegroups.com

I dont think you read or understood my reply. Take the time to read
the documentation for django-ldapdb and set it up. Then if you have
questions, ask on the django-ldapdb mailinglist. It is all on the
webpage I've already linked you :)

Saju M

unread,
Jun 24, 2011, 2:22:39 PM6/24/11
to django-a...@googlegroups.com

Di majo

unread,
May 12, 2024, 2:10:56 PM5/12/24
to django-auth-ldap
MT103/202 DIRECT WIRE TRANSFER
PAYPAL TRANSFER
CASHAPP TRANSFER
ZELLE TRANSFER
LOAN DEAL
TRANSFER WISE
WESTERN UNION TRANSFER
BITCOIN FLASHING
BANK ACCOUNT LOADING/FLASHING
IBAN TO IBAN TRANSFER
MONEYGRAM TRANSFER
IPIP/DTC
SLBC PROVIDER
CREDIT CARD TOP UP
DUMPS/ PINS
SEPA TRANSFER
WIRE TRANSFER
BITCOIN TOP UP
GLOBALPAY INC US
SKRILL USA
UNIONPAY RECEIVER

Thanks.


NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.

DM ME ON WHATSAPP
+44 7529 555638

On Friday, June 24, 2011 at 7:22:39 PM UTC+1 sajuptpm wrote:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/7eff57435ac83b7d?hl=en
Reply all
Reply to author
Forward
0 new messages