Re: problem using python-ldap under fcgi

2008-08-27 Thread Matej Vela
Michael Ströder [EMAIL PROTECTED] writes: But let's look at the blog entry which convinced you to try patching python-ldap (see http://www.notes.xythian.net/2007/10/24/python-cdb-032-52ubuntu2-with-python-25-causes-double-free-corruption-crash-on-dealloc/): Some other searching suggests

Re: SunStudio compile

2008-08-25 Thread Matej Vela
Michael Ströder [EMAIL PROTECTED] writes: Matej Vela wrote: The type checking seems to be a bit overzealous. Try changing line 108 of Modules/options.c from LDAPControl_List_DEL(ptr); to LDAPControl_List_DEL((LDAPControl**) ptr); Matej, do you think we should change

Re: SunStudio compile

2008-08-25 Thread Matej Vela
Anil [EMAIL PROTECTED] writes: Thanks, that worked! I am able to compile it now, but if I enable sasl, it also fails: Modules/LDAPObject.c, line 568: Warning: String literal converted to char* in formal argument format in call to _PyObject_CallMethod_SizeT(_object*, char*, char*, ...).

Re: SunStudio compile

2008-08-22 Thread Matej Vela
Anil [EMAIL PROTECTED] writes: I am trying to compile python ldap with SunStudio, I get this error. Any idea? [...] Modules/options.c, line 108: Error: Formal argument 1 of type ldapcontrol** in call to LDAPControl_List_DEL(ldapcontrol**) is being passed void*. The type checking seems to

Re: Error while building

2008-08-06 Thread Matej Vela
Sig [EMAIL PROTECTED] writes: I can't build python-ldap-2.3.5. What should I do ? My steps: - downloaded the 2.3.5 tarball from sourceforge - tar xvzf ... - python setup.py build - The error and output messages are attached to this email. My setup: - Python 2.5.2 - libldap-2.4-2

Re: Who is using python-ldap with Python 1.5.x and 2.0-2.2?

2008-06-16 Thread Matej Vela
Michael Ströder [EMAIL PROTECTED] writes: And how about OpenLDAP libs and gnutls? Yes, I'm nagging here, but because of very good reasons. I don't see it as nagging at all, you're perfectly right not to support modifications you're not comfortable with. I hope we provide a reasonable level

Re: ldap controls

2007-09-20 Thread Matej Vela
Stefan Gohmann [EMAIL PROTECTED] writes: Am Donnerstag, 20. September 2007 10:57 schrieb Michael Ströder: In the source distribution: Demo/page_control.py Demo/ldapcontrols.py Demo/matchedvalues.py Ah, these files are not in the debian package. Thanks. Actually, they're in the