Seg fault with ldap.get_option(ldap.OPT_SERVER_CONTROLS)

Michael Ströder michael at
Tue Mar 1 20:41:28 CET 2005

Michael Ströder wrote:
> Deepak Giridharagopal wrote:
>  >
>  > Regarding your suggestions, I've attached a new patch (I diff'ed
>  > against the cvs HEAD).
> Thanks again for contributing! Committed to CVS.

I have problems using ldap.get_option(ldap.OPT_SERVER_CONTROLS):

$ python2.4 -c "import ldap;ldap.get_option(ldap.OPT_SERVER_CONTROLS)"
Segmentation fault

Any clue? I'm not a C programmer so I can't tell where the bug lies.

Ciao, Michael.

More information about the python-ldap mailing list