> Gerardo Herzig wrote: >> Hi dudes. I have a python/cgi app who interacts with an ldap server. The >> thing is, sometimes ldap server allows the cgi to make some changes, >> some times it does not. Same app, same user, same change... > > Assuming you're using python-ldap you can let it write debug > information. See argument trace_level etc. for function ldap.initialize(). > > http://python-ldap.sourceforge.net/doc/html/ldap.html#ldap.initialize > > Additionally you can also turn on debug log of the underlying OpenLDAP > client libs: > > ldap.set_option(ldap.OPT_DEBUG_LEVEL,255) > ^^^
Mmm yeah, thats a wise starting point. I will give it a try on Monday. Thanks! Gerardo
