ldap.sasl.gssapi example?

Michael Ströder michael at stroeder.com
Wed Apr 7 12:22:08 CEST 2004

Gavin Doughtie wrote:
 > ldap.LOCAL_ERROR: {'desc': 'Local error'}

Can you please catch the exception and display it using str()? See 

I'm experimenting with GSSAPI right now but currently I'm getting:

Error using SASL mechanism GSSAPI {'info': 'SASL(-1): generic failure: 
GSSAPI Error:  Miscellaneous failure (see text) (Incorrect net address)', 
'desc': 'Local error'}

Ciao, Michael.

More information about the python-ldap mailing list