latest ldap.i UPDATE!

Michael Ströder michael at
Wed May 30 14:51:17 CEST 2001


I've built the swig-ldap with Joe's ldap.i and lber.i. After
modifications to lber.i import works now. But I still have some

Note: The module is built as on my system.

Python 2.1 (#8, Apr 20 2001, 19:22:23) 
[GCC 2.95.2 19991024 (release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import ldapc
>>> attrs=ldapc.string_array(1)
>>> ldapc.string_set(attrs,0,'objectClass')
>>> resPtr=ldapc.makeLDAPMessagePtrPtr()
>>> status=ldapc.search_s(l,'O=MICHAELS',ldapc.SCOPE_BASE,
Segmentation fault

Am I doing something wrong?

I have to admit that these kind of error messages endorse my
prejudices about SWIG-produced modules...

Ciao, Michael.

More information about the python-ldap mailing list