On Feb 7, 7:52 pm, "alex23" <[EMAIL PROTECTED]> wrote: > On Feb 8, 4:27 am, [EMAIL PROTECTED] 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. -- http://mail.python.org/mailman/listinfo/python-list