Group Membership in Active Directory Query

Kooch54 kooch54 at gmail.com
Fri Feb 16 15:17:37 EST 2007


On Feb 8, 8:44 am, "Kooch54" <kooc... at gmail.com> wrote:
> On Feb 7, 7:52 pm, "alex23" <wuwe... at gmail.com> wrote:
>
>
>
> > On Feb 8, 4:27 am, kooc... at gmail.com wrote:
>
> > > First and foremost thanks for the feedback.  Although I don't
> > > appreciate the slight dig at me.
> > > dummy = ldap_obj.simple_bind......
>
> > I _really_ don't think Uwe was intending any slight, 'dummy' generally
> > means 'dummy variable' ie it's just there to catch the value but it's
> > never used after that :)
>
> > If you're doing a lot of AD work, I highly recommend Tim Golden's
> > active_directory module:http://timgolden.me.uk/python/
> > active_directory.html
>
> > His WMI module has also been a godsend on a number of occasions.
>
> > - alex23
>
> Alex-
>      Thanks for your response and Uwe I apologize if I misunderstood
> and misinterpreted your comments.  I am sorry.
> I have tried Tim's module called active_directory and it works really
> well.  But I can't figure out how to connect to a specific group is I
> know the common name for it but not the DN and then return it's
> members.  Example.... I know the group name is domain1\sharedaccess.
> How do I bind to that group and get the members.  The domain isn't
> necessarily the defaultnamingcontext.  It could be another domain in
> the forest.  I need to be able to connect to any domain group and get
> it's members.  Thanks again.

Bump




More information about the Python-list mailing list