[python-ldap] ValueError: option error on trying to set OPT_X_TLS_CACERTFILE

Jephte Clain jephte.clain at univ-reunion.fr
Tue Feb 9 05:31:22 EST 2016


Le 09/02/2016 13:03, Michael Ströder a écrit :
>
> Note that python-ldap's tracing only logs the Python API calls.
>
> In this particular case it'd be more helpful to enable libldap's own logging
> like this:
>
> ldap.set_option(ldap.OPT_DEBUG_LEVEL,255)
> ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, CACERTFILE)
>
> Ciao, Michael.
>
Hello,

when debugging is enabled this way, where are the log written? I guess 
stderr but I didn't find the info in the docs.
Is it possible to choose another fd to write the logs to?

thanks in advance, regards,
Jephté CLAIN

-- 
*Jephté CLAIN | Développeur, Intégrateur d'applications*
Service Systèmes d'Information
Direction des Systèmes d'Information <http://dsi.univ-reunion.fr>
Tél: +262 262 93 86 31 <tel:+262262938631> || Gsm: +262 692 29 58 24 
<tel:+262692295824>
www.univ-reunion.fr <http://www.univ-reunion.fr> || Facebook 
<http://www.facebook.com/pages/Universit%C3%A9-de-La-R%C3%A9union-OFFICIEL/197176816990430> 
|| Twitter <http://twitter.com/univ_reunion>


More information about the python-ldap mailing list