Preparing python-ldap 2.3

Alain Spineux aspineux at gmail.com
Mon Mar 26 14:30:20 CEST 2007


I get this error

# gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -DHAVE_LIBLDAP_R
-DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3 -IModules
-I/usr/local/openldap-2.3/include -I/usr/include/sasl
-I/usr/include/python2.4 -c Modules/functions.c -o build/temp.linux-i686-2.4
/Modules/functions.o
Modules/functions.c:143: error: 'l_ldap_dn2str' undeclared here (not in a
function)

regarding

# grep -ir dn2str .
....
./Lib/ldap/dn.py:def dn2str(dn):
./Modules/functions.c:    { "dn2str",
(PyCFunction)l_ldap_dn2str,        METH_VARARGS },

I removed the dn2str definition from ./Modules/functions.c and now it works

BR

On 3/23/07, Michael Ströder <michael at stroeder.com> wrote:
>
> HI!
>
> Thanks to David we made good progress getting current HEAD code updated
> to reflect changes in OpenLDAP's C SDK.
>
> I'd like to release 2.3 soon since there are some important improvements
> in HEAD but not yet released. Therefore testing of HEAD is needed!
>
> Please provide feedback ideally on the mailing list. Thanks.
>
> Ciao, Michael.
>
> Current CHANGES:
>
> ----------------------------------------------------------------
> Released 2.3.0 2007-03-xx
>
> Changes since 2.2.1:
>
> * OpenLDAP 2.3+ required now to build.
> * Added support for Cancel operation ext. op. if supported
> in OpenLDAP API of the libs used for the build.
>
> Modules/
> * Removed deprecated code for setting options by name
> * Added l_ldap_cancel()
> * Some modifications related to PEP 353 for
>   Python 2.5 on 64-bit platforms (see SF#1467529)
> * Added new function l_ldap_str2dn(), removed functions
>   l_ldap_explode_dn() and l_ldap_explode_rdn() (see SF#1657848)
>
> Lib/
> * Added method ldapobject.LDAPObject.cancel()
> * ldap.schema.subentry.urlfetch() now can do non-anonymous
>   simple bind if the LDAP URL provided contains extensions
>   'bindname' and 'X-BINDPW'. (see SF#1589206)
> * ldap.filter.escape_filter_chars() has new a key-word argument
>   escape_mode now which defines which chars to be escaped
>   (see SF#1193271).
> * Various important fixes to ldapobject.ReconnectLDAPObject
> * Moved all DN-related functions to sub-module ldap.dn,
>   import them in ldap.functions for backward compability
> * ldap.dn.explode_dn() and ldap.dn.explode_rdn() use the new
>   wrapper function ldap.dn.str2dn() (related to SF#1657848)
> * changetype issue partially fixed (see SF#1683746)
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Python-LDAP-dev mailing list
> Python-LDAP-dev at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
>



-- 
--
Alain Spineux
aspineux gmail com
May the sources be with you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20070326/ecea4c98/attachment.html>


More information about the python-ldap mailing list