[python-ldap] Can i check if the group exist in active directory using python ldap

Robert Clove cloverobert at gmail.com
Sun Sep 11 04:43:05 EDT 2016


I don't know whether should i create a separate mail thread or should i
question here itself, trying here only
*How can i find the nested group membership like if the group1 exist in
group2, group3 *

On Fri, Sep 9, 2016 at 8:11 PM, Michael Ströder <michael at stroeder.com>
wrote:

> Sebastian Wiesner wrote:
> > Yes, I know. But thank you for pointing this out though. To use
> > objectClass=group would not work in my case, but using part of the DN
> would.
>
> Why not? If you know the complete (unique) group name using the filter
> (&(objectClass=group)(cn=<group name>))
> should always return this particular group.
>
> > It all depends on how the actual directory is set up.
>
> Please elaborate on why the filter above does not work in your case.
>
> Ciao, Michael.
>
>
> _______________________________________________
> python-ldap mailing list
> python-ldap at python.org
> https://mail.python.org/mailman/listinfo/python-ldap
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160911/2aa79f7d/attachment.html>


More information about the python-ldap mailing list