or server in the forest?
What I always try first in interactive mode is the following:
import active_directory
ad = active_directory.AD()
print ad
That should already show you if you can connect to AD or not.
On Mon, Aug 11, 2008 at 3:13 PM, Steven L Smith <[EMAIL PROTECTED]>wrote:
> It is
<%
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 "
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
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
t;,
"+row.first_name+" ("+row.uid+")")
cursor.close()
%>
(for testing purposes, I actually built a table in the database just so that I
could populate it programmatically, but this is where I'd like to pull the info
from Active Directory.
Hope someone can