473,394 Members | 1,658 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,394 software developers and data experts.

python-ldap/win32 or python/ldap/win32

i'm running around in circle trying to to use python/ldap/ on
win32(WinXP). I want to write a script that read SQL data(no pbm) and
insert member in a AD group(pbm).I used the module
Active_Directory(very easy to use).but it read only AD.
So i have been try to install python-ldap on a win32/python2.4
install.But each time i try

------------------------
setup.py build
------------------------
i get

---------------------------------------------------------------------------------------------------------------------------------
.....
running build_ext
error: The .NET Framework SDK needs to be installed before building
extensions for Python.
----------------------------------------------------------------------------------------------------------------------------------
of course i insalled .NET ,and it keeped doing it, google around found
some registry key thing that have to be changed.tried that but still
nothing.I have been looking around more but the informations i find on
that topic seems so clunky and out dated(2004-2003) that i really don't
think i should wast my time any further without asking around if i'm
going the right direction.Because i have the feeling Python/Ldap/win32
shouldn't be such a problem to use...And if it isn't then...Python is
not the language i need to accomplish that task.

Nov 6 '06 #1
1 1496
rcmn wrote:
i'm running around in circle trying to to use python/ldap/ on
win32(WinXP).
Maybe this message sent to the python-ldap-dev mailing list helps.
You're welcome to follow up on this list.

Ciao, Michael.

-------- Original Message --------
Subject: Experimental 2.2.0 Windows Build
Date: Mon, 4 Sep 2006 22:58:26 -0300
From: Sidnei da Silva <dr**********@users.sf.net>
To: py*************@lists.sourceforge.net

Hello there,

I've managed to put together an experimental 2.2.0 build for Windows,
which can be found here:

http://awkly.org/files/python-ldap-2...in32-py2.4.exe

I'm admittedly not an expert in compiling stuff, so if anyone with
more expertise can double-check what I've did:

http://awkly.org/archive/compiling-p...ions-on-mingw/
.... specially the change from '-shared' to '-mdll -static' on the
arguments to 'ld', I would really *really* appreciate.

For the brave folks willing to try out the installer itself, you're at
your own risk, but please report back any issues.

If the build turns out to work fine and people are willing to bless
this as the official Windows build and upload it to sourceforge I
would be more than glad.

It was built with mingw against:

openldap-2.2.29
openssl-0.9.8b

--
Sidnei da Silva
Nov 6 '06 #2

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

Similar topics

2
by: Micha³ Kurowski | last post by:
Hi, I'd like to ask you whether anyone have built python-ldap against Sun ONE Directory v5.2 on a Solaris 9. Seems developers do not support such config, but many places on the web suggest it...
1
by: Brian Beck | last post by:
As far as I can tell, both maintainers of the Windows builds of Python-LDAP haven't updated in about a year. This doesn't exactly make the builds ancient or obsolete, but it would be nice to start...
5
by: Melissa Evans | last post by:
Hi. I'm new to Python. :) I've modified grappy.py, http://www.stacken.kth.se/~mattiasa/projects/grappy/, a postfix policy daemon for greylisting. to use LDAP as a backend instead of SQL (with...
1
by: Nico Grubert | last post by:
Hi there, on a linux machine I am running this ldapsearch from the command line: ldapsearch -x -h myldaphost.mydomain.com \ -D "CN=ldapuser,CN=Users,DC=mydomain,DC=com" -w "secret" \ -b...
10
by: Benedict Verheyen | last post by:
Hi, i found python-ldap for version Python 2.4. Is there i place i can find a version for 2.5? If not, how can i build it myself for Windows? Thanks, Benedict
4
by: Erol Robaina Cepero | last post by:
Hi friend!! I need download python-ldap for my plone 3.0.5 that use python 2.4.4. Do you know where I can find it? bye
6
by: hotani | last post by:
I am attempting to pull info from an LDAP server (Active Directory), but cannot specify an OU. In other words, I need to search users in all OU's, not a specific one. Here is what works: con...
2
by: =?ISO-8859-1?Q?Michael_Str=F6der?= | last post by:
HI! I'd like to hear from the Python community whether support for Python version prior to 2.3 is still needed in python-ldap. Please tell me which Python version you're using and why it'd be...
2
by: Juan | last post by:
Hi I am trying to make a simple Python script using LDAP. The module is imported OK, but when I call the function open or initialize, I get this error: Traceback (most recent call last):...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.