Re: [Tutor] Accessing LDAP

2008-08-11 Thread Alan Gauld
"Steven L Smith" <[EMAIL PROTECTED]> wrote <% import active_directory for person in active_directory.search ("objectCategory='Person'"): Response.Write(person.displayName) %> Results in... Python ActiveX Scripting Engine error '80020009' Do you have the right access rights? Just a guess.

Re: [Tutor] Accessing LDAP

2008-08-11 Thread Steven L Smith
CTED]> To: "Steven L Smith" <[EMAIL PROTECTED]> Cc: "tutor" Sent: Monday, August 11, 2008 11:37:35 AM (GMT-0500) America/New_York Subject: Re: [Tutor] Accessing LDAP Ok, then you best stick to Tim's module. Are you running your script from a workstation

Re: [Tutor] Accessing LDAP

2008-08-11 Thread Rudy Schockaert
[EMAIL PROTECTED]>, "tutor" > 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

Re: [Tutor] Accessing LDAP

2008-08-11 Thread vishwajeet singh
I am not able to reproduce the problem as it works pretty fine at my end. On Mon, Aug 11, 2008 at 6:51 PM, Steven L Smith <[EMAIL PROTECTED]>wrote: > <% > import active_directory > for person in active_directory.search ("objectCategory='Person'"): >Response.Write(person.displayName) > %>

Re: [Tutor] Accessing LDAP

2008-08-11 Thread Steven L Smith
<% import active_directory for person in active_directory.search ("objectCategory='Person'"): Response.Write(person.displayName) %> Results in... Python ActiveX Scripting Engine error '80020009' Traceback (most recent call last): File "

Re: [Tutor] Accessing LDAP

2008-08-11 Thread vishwajeet singh
o: "vishwajeet singh" <[EMAIL PROTECTED]> > Cc: "Steven L Smith" <[EMAIL PROTECTED]>, "tutor" > 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 Direc

Re: [Tutor] Accessing LDAP

2008-08-11 Thread Steven L Smith
ge - From: "Rudy Schockaert" <[EMAIL PROTECTED]> To: "vishwajeet singh" <[EMAIL PROTECTED]> Cc: "Steven L Smith" <[EMAIL PROTECTED]>, "tutor" Sent: Monday, August 11, 2008 9:04:50 AM (GMT-0500) America/New_York Subject: Re: [Tutor] Accessing

Re: [Tutor] Accessing LDAP

2008-08-11 Thread Rudy Schockaert
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-ldapa try. On Mon, Aug 11, 2008 at 2:17 PM, vishwajeet singh <[EMAIL PROTEC

Re: [Tutor] Accessing LDAP

2008-08-11 Thread vishwajeet singh
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 <[EMAIL PROTECTED]>wrote: > Any ideas how I can pull a list of domain users from an LDAP server and use > it programmatically in a Python web applicat

[Tutor] Accessing LDAP

2008-08-11 Thread Steven L Smith
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@python.org http://mail.python.org/mailman/listinfo/tutor