python-ldap/win32 or python/ldap/win32

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rcmn

    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_Director y(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.Becau se 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.

  • Michael Ströder

    #2
    Re: python-ldap/win32 or python/ldap/win32

    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 <dreamcatcher@u sers.sf.net>
    To: python-ldap-dev@lists.sourc eforge.net

    Hello there,

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



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




    .... 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

    Comment

    Working...