<div dir="ltr">I have used it and it works pretty well for me.Can you show the code snippet you are trying to execute??<br><br><div class="gmail_quote">On Mon, Aug 11, 2008 at 6:43 PM, Steven L Smith <span dir="ltr"><<a href="mailto:ssmith46@zimbra.naz.edu">ssmith46@zimbra.naz.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It is indeed an active directory server, but the sysadmin tells me that it is configured to respond to normal ldap queries as well.<br>
<br>
I tried Tim's module, and it's giving me an "operations error" when I try to use his code snippet to list users...<br>
<div class="Ih2E3d"><br>
<br>
----- Original Message -----<br>
From: "Rudy Schockaert" <<a href="mailto:rudy.schockaert@gmail.com">rudy.schockaert@gmail.com</a>><br>
To: "vishwajeet singh" <<a href="mailto:dextrous85@gmail.com">dextrous85@gmail.com</a>><br>
Cc: "Steven L Smith" <<a href="mailto:ssmith46@naz.edu">ssmith46@naz.edu</a>>, "tutor" <<a href="mailto:tutor@python.org">tutor@python.org</a>><br>
Sent: Monday, August 11, 2008 9:04:50 AM (GMT-0500) America/New_York<br>
Subject: Re: [Tutor] Accessing LDAP<br>
<br>
If by LDAP server you mean Active Directory, then Tim's active_directory<br>
module is certainly the way to go.<br>
If you want a more generic LDAP approach, you could give<br>
</div>python-ldap<<a href="http://python-ldap.sourceforge.net/download.shtml" target="_blank">http://python-ldap.sourceforge.net/download.shtml</a>>a try.<br>
<div><div></div><div class="Wj3C7c"><br>
On Mon, Aug 11, 2008 at 2:17 PM, vishwajeet singh <<a href="mailto:dextrous85@gmail.com">dextrous85@gmail.com</a>>wrote:<br>
<br>
> I think this can be of some help to you<br>
> <a href="http://tgolden.sc.sabren.com/python/active_directory.html" target="_blank">http://tgolden.sc.sabren.com/python/active_directory.html</a><br>
><br>
><br>
><br>
> On Mon, Aug 11, 2008 at 5:44 PM, Steven L Smith <<a href="mailto:ssmith46@zimbra.naz.edu">ssmith46@zimbra.naz.edu</a>>wrote:<br>
><br>
>> Any ideas how I can pull a list of domain users from an LDAP server and<br>
>> use it programmatically in a Python web application?<br>
>><br>
>> Thanks!<br>
>> _______________________________________________<br>
>> Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
>> <a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Cheers,<br>
> Vishwajeet<br>
> <a href="http://www.singhvishwajeet.com" target="_blank">http://www.singhvishwajeet.com</a><br>
><br>
> _______________________________________________<br>
> Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
><br>
><br>
<br>
_______________________________________________<br>
Tutor maillist - <a href="mailto:Tutor@python.org">Tutor@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/tutor" target="_blank">http://mail.python.org/mailman/listinfo/tutor</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br>Vishwajeet<br><a href="http://www.singhvishwajeet.com">http://www.singhvishwajeet.com</a><br>
</div>