From: Sidnei da S. <dre...@us...> - 2006-09-05 01:58:36
|
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.2.0.win32-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-python-extensions-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 Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 |
From: <mi...@st...> - 2006-09-26 05:58:26
|
Sidnei, many thanks for contributing this build! I'm sure many people are appreciating it. I had no spare time to test it though. Sidnei da Silva wrote: > > 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.2.0.win32-py2.4.exe > [..] > It was built with mingw against: > > openldap-2.2.29 > openssl-0.9.8b Since OpenLDAP 2.2.x is now considered historic by its developers and OpenSSL contains some security-related bugs would it be possible for you to build with recent versions of both libs? That would be really great. Ciao, Michael. |
From: Sidnei da S. <si...@en...> - 2006-09-26 12:44:30
|
| Since OpenLDAP 2.2.x is now considered historic by its developers and | OpenSSL contains some security-related bugs would it be possible for you | to build with recent versions of both libs? That would be really great. Unfortunately I'm no OpenLDAP guru. I just used the win32 patches from Lucas Bergman available here, which are for the versions I've listed: http://download.bergmans.us/openldap/devel/ I can try to contact Lucas to see if he can provide patches against later versions. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 |
From: Sidnei da S. <si...@en...> - 2006-09-27 14:48:06
|
On Tue, Sep 26, 2006 at 09:43:50AM -0300, Sidnei da Silva wrote: | Unfortunately I'm no OpenLDAP guru. I just used the win32 patches from Lucas Bergman available here, which are for the versions I've listed: | | http://download.bergmans.us/openldap/devel/ | | I can try to contact Lucas to see if he can provide patches against | later versions. Got a reply. He said new versions of the patches are in the works. Should be available in the coming week(s). On a related note, I would like to setup some testing for python-ldap as part of the pybots [1] project. But apparently it doesn't have much test coverage. Or am I overlooking something? I've tried running the few tests here and some of them fail actually. [1] http://pybots.org/ -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 |
From: <mi...@st...> - 2006-09-27 16:29:36
|
Sidnei da Silva wrote: > > On a related note, I would like to setup some testing for python-ldap > as part of the pybots [1] project. > [1] http://pybots.org/ I'm not familiar with what pybots provide. Glancing over the web page I decided I don't have enough spare time to dig into it. :-( > But apparently it doesn't have much > test coverage. Or am I overlooking something? I've tried running the > few tests here and some of them fail actually. What particular tests are you talking about? What happened when tests failed? Ciao, Michael. |
From: Sidnei da S. <si...@en...> - 2006-09-27 17:32:12
|
On Wed, Sep 27, 2006 at 06:29:05PM +0200, Michael Ströder wrote: | I'm not familiar with what pybots provide. Glancing over the web page I | decided I don't have enough spare time to dig into it. :-( Running tests for python-based projects with a debug build of python 2.5 and trunk whenever a checkin happens on the python repository. | > But apparently it doesn't have much | > test coverage. Or am I overlooking something? I've tried running the | > few tests here and some of them fail actually. | | What particular tests are you talking about? | What happened when tests failed? I will collect the output and mail you. -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 |
From: <mi...@st...> - 2006-09-27 17:52:27
|
Sidnei da Silva wrote: > On Wed, Sep 27, 2006 at 06:29:05PM +0200, Michael Str=F6der wrote: > |=20 > | What particular tests are you talking about? > | What happened when tests failed? >=20 > I will collect the output and mail you. Please keep it on the list so it gets archived and can be commented by others too. Ciao, Michael. |
From: Sidnei da S. <si...@en...> - 2006-09-27 18:09:01
|
On Wed, Sep 27, 2006 at 02:31:34PM -0300, Sidnei da Silva wrote: | I will collect the output and mail you. So actually looks like it's just one test that's failing. Don't know for sure if I'm finding all of them this way though: C:\src\python-ldap-2.2.0>find . -name '*test*' -print | xargs -I '@' python '@' String: "BLUBBER DI 'BLU'BB ER' DA 'BLAH' " => ['BLUBBER', 'DI', 'BLU', 'BB', 'ER', ' DA ', 'BLAH', ' '] differs from ['BLUBBER', 'DI', "BLU'BB ER", 'DA', 'BLAH'] Testing function addModlist(): Testing function modifyModlist(): Testing function isLDAPUrl(): Testing class LDAPUrl: ######################################################################## ldap://root.openldap.org/dc%3Dopenldap%2Cdc%3Dorg??? Parsing ok Unparsing ok ######################################################################## ldap://root.openldap.org/dc%3Dboolean%2Cdc%3Dnet???%28objectClass%3D%2A%29 Parsing ok Unparsing ok ######################################################################## ldap://root.openldap.org/dc%3Dopenldap%2Cdc%3Dorg??sub? Parsing ok Unparsing ok ######################################################################## ldap://root.openldap.org/dc%3Dopenldap%2Cdc%3Dorg??one? Parsing ok Unparsing ok ######################################################################## ldap://root.openldap.org/dc%3Dopenldap%2Cdc%3Dorg??base? Parsing ok Unparsing ok ######################################################################## ldap://x500.mh.se/o%3DMitthogskolan%2Cc%3Dse????1.2.752.58.10.2=T.61 Parsing ok Unparsing ok ######################################################################## ldap://localhost:12345/dc%3Dstroeder%2Cdc%3Dcom????!bindname=cn=Michael%2Cdc=str oeder%2Cdc=com,!X-BINDPW=secretpassword Parsing ok Unparsing ok ######################################################################## ldap://localhost:54321/dc%3Dstroeder%2Cdc%3Dcom????bindname=cn=Michael%2Cdc=stro eder%2Cdc=com,X-BINDPW=secretpassword Parsing ok Unparsing ok ######################################################################## ldaps://localhost:12345/dc%3Dstroeder%2Cdc%3Dcom??? Parsing ok Unparsing ok ######################################################################## ldapi://%2Ftmp%2Fopenldap2-1389/dc%3Dstroeder%2Cdc%3Dcom??? Parsing ok Unparsing ok -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 |
From: <mi...@st...> - 2006-11-23 12:16:54
|
Sidnei, Sidnei da Silva wrote: > > 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.2.0.win32-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-python-extensions-on-mingw/ Did you remove those URLs from your web site? I get 404... I'd really appreciate if someone would constantly maintain Win32 builds of python-ldap. Ciao, Michael. |