[Tutor] Accessing LDAP

Steven L Smith ssmith46 at zimbra.naz.edu
Mon Aug 11 15:13:28 CEST 2008


It is indeed an active directory server, but the sysadmin tells me that it is configured to respond to normal ldap queries as well.

I tried Tim's module, and it's giving me an "operations error" when I try to use his code snippet to list users...


----- Original Message -----
From: "Rudy Schockaert" <rudy.schockaert at gmail.com>
To: "vishwajeet singh" <dextrous85 at gmail.com>
Cc: "Steven L Smith" <ssmith46 at naz.edu>, "tutor" <tutor at python.org>
Sent: Monday, August 11, 2008 9:04:50 AM (GMT-0500) America/New_York
Subject: Re: [Tutor] Accessing LDAP

If by LDAP server you mean Active Directory, then Tim's active_directory
module is certainly the way to go.
If you want a more generic LDAP approach, you could give
python-ldap<http://python-ldap.sourceforge.net/download.shtml>a try.

On Mon, Aug 11, 2008 at 2:17 PM, vishwajeet singh <dextrous85 at gmail.com>wrote:

> I think this can be of some help to you
> http://tgolden.sc.sabren.com/python/active_directory.html
>
>
>
> On Mon, Aug 11, 2008 at 5:44 PM, Steven L Smith <ssmith46 at zimbra.naz.edu>wrote:
>
>> Any ideas how I can pull a list of domain users from an LDAP server and
>> use it programmatically in a Python web application?
>>
>> Thanks!
>> _______________________________________________
>> Tutor maillist  -  Tutor at python.org
>> http://mail.python.org/mailman/listinfo/tutor
>>
>
>
>
> --
> Cheers,
> Vishwajeet
> http://www.singhvishwajeet.com
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
>



More information about the Tutor mailing list