473,396 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

using python to query active directory

Is it possible to use python to make calls agains microsoft active
directory? I suppose this should be qualified by what is needed to do it
from windows (I assume the win32all package) and from linux (if possible).
Any code samples would be great.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
Mar 6 '07 #1
3 4482
On Mar 6, 1:34 pm, David Bear <david.b...@asu.eduwrote:
Is it possible to use python to make calls agains microsoft active
directory? I suppose this should be qualified by what is needed to do it
from windows (I assume the win32all package) and from linux (if possible).
Any code samples would be great.
Tim Golden is your man.

http://tgolden.sc.sabren.com/python/...directory.html

HTH
....
Jay Graves

Mar 6 '07 #2
jay graves wrote:
On Mar 6, 1:34 pm, David Bear <david.b...@asu.eduwrote:
>Is it possible to use python to make calls agains microsoft active
directory? I suppose this should be qualified by what is needed to do it
from windows (I assume the win32all package) and from linux (if
possible). Any code samples would be great.

Tim Golden is your man.

http://tgolden.sc.sabren.com/python/...directory.html
Yes, thank you. This looks great.
--
David Bear
-- let me buy your intellectual property, I want to own your thoughts --
Mar 6 '07 #3
David Bear wrote:
Is it possible to use python to make calls agains microsoft active
directory?
What do you mean with "calls agains microsoft active directory"?
Querying user and computer entries etc.?

python-ldap might be an option for you.

Ciao, Michael.
Mar 7 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Henning Kristensen | last post by:
Hi I need a little help with some VB.Net code.. I am pulling my computer's GUID out using WMI Dim wmiObj As New System.Management.ManagementObjectSearcher("SELECT UUID FROM...
1
by: Daveyk0 | last post by:
Hello there, I have a front end database that I have recently made very many changes to to allow off-line use. I keep copies of the databases on my hard drive and link to them rather than the...
0
by: khaja shaik | last post by:
Arianne, I have the following code in C Sharp which query the Active Directory to get the user details. But it brings up only 1000 records. Is there any code which can give me all the records from...
4
by: h2so4 | last post by:
I want to write a program that will query an ldap directory. can I use adsi or ado to do that, If yes how ? tx -- h2so4
3
by: Jay-nospam | last post by:
Hi there, I am having trouble getting an ASP.NET web application to connect to another computer and passing the proper credentials and I hope someone can help me. I have a stand-alone Windows...
1
by: Toby | last post by:
Hi, I've managed to get my hands on the ms 2003 toolkit, and have successfully (i think) created a .pyd file in win xp (setup.py is provided intersystems cache): ...
0
by: dug04 | last post by:
Hi I am trying to write a query that will select all users in the Organization bucket in active directory. The problem is that within the Organization bucket, there are many other buckets. I...
2
by: HamishC | last post by:
Hi all, I have been knocking my head against this one for a few days -- haven't been able to find a solution to this anywhere so hopefully someone can help. Situation: A really simple LDAP that...
4
by: =?Utf-8?B?U3VoYXMgVmVuZ2lsYXQ=?= | last post by:
Hello, I am facing an issue while querying Active directory using C# code with system.DirectoryServices namespace. Here is the path for my LDAP - "LDAP://CN=XY - C++/Unix and other,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.