Ńň /čęJc @ s× d Z d d k l Z d d k Z d d k l Z l Z l Z d Z d Z d Z d Z d Z d Z d Z d d d YZ d e f d YZ d e f d YZ d e f d YZ d e f d YZ d S( s. sasl.py - support for SASL mechanism See http://www.python-ldap.org/ for details. \$Id: sasl.py,v 1.15 2009/07/26 11:09:58 stroeder Exp $ Description: The ldap.sasl module provides SASL authentication classes. Each class provides support for one SASL mechanism. This is done by implementing a callback() - method, which will be called by the LDAPObject's sasl_bind_s() method Implementing support for new sasl mechanism is very easy --- see the examples of digest_md5 and gssapi. Compability: - Tested with Python 2.0+ but should work with Python 1.5.x i˙˙˙˙( t __version__N( t _trace_levelt _trace_filet _trace_stack_limiti@ i@ i@ i@ i@ i@ i@ t saslc B s e Z d Z d Z d Z RS( s This class handles SASL interactions for authentication. If an instance of this class is passed to ldap's sasl_bind_s() method, the library will call its callback() method. For specific SASL authentication mechanisms, this method can be overriddenc C s | p h | _ | | _ d S( sň The (generic) base class takes a cb_value_dictionary of question-answer pairs. Questions are specified by the respective SASL callback id's. The mech argument is a string that specifies the SASL mechaninsm to be uesd.N( t cb_value_dictt mech( t selfR R ( ( s/ /usr/lib64/python2.6/site-packages/ldap/sasl.pyt __init__+ s c C si | i i | | p d } t d j o<