Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
site-packages
/
ldap
/
Upload File :
New :
File
Dir
//proc/self/root/usr/lib/python2.4/site-packages/ldap/functions.pyc
mò ˆÌ$@c�����������@���sð���d��Z��d�Z�d�d�d�d�d�d�d�g�Z�d �k�Z�d �k�Z�d �k�l�Z�l�Z�d�k�l �Z �e �o&�d �k�Z�d�k�l�Z�l �Z �l�Z�n�d �„��Z�d�e�i�d �d�„�Z�d�d�e�i�d �d�„�Z�e�Z�d�d�„�Z�d�d�„�Z�d�„��Z�d�„��Z�d �S(���s�� functions.py - wraps functions of module _ldap written by Michael Stroeder <michael@stroeder.com> See http://python-ldap.sourceforge.net for details. \$Id: functions.py,v 1.18 2004/01/29 23:12:08 stroeder Exp $ Compability: - Tested with Python 2.0+ but should work with Python 1.5.x - functions should behave exactly the same like in _ldap Usage: Directly imported by ldap/__init__.py. The symbols of _ldap are overridden. Thread-lock: Basically calls into the LDAP lib are serialized by the module-wide lock _ldapmodule_lock. s���0.1.1t���opent ���initializet���initt ���explode_dnt���explode_rdnt ���get_optiont ���set_optionN(���s���_ldap_module_locks ���LDAPError(���s ���LDAPObject(���s���_trace_levels���_trace_files���_trace_stack_limitc���������O���s<��t��ok�t�d�j�oZ�t�i�d�d�t�|��ƒ�t�|�ƒ�t�|�ƒ�f�ƒ�t�d�j�o�t�i �d�t �d�t�ƒ�qn�qr�n�t�i�ƒ��y%�z�|��|�|�Ž��}�Wd�t�i�ƒ��XWnG�t�j �o;�}�t��o(�t�d�j�o�t�i�d �t�|�ƒ�ƒ�n�‚��n�Xt��oF�t�d�j�o9�|�d�j�o(�|�d�j�o�t�i�d �t�|�ƒ�ƒ�q8n�|�S(���sQ��� Wrapper function which locks calls to func with via module-wide ldap_lock i���s���*** %s.%s (%s,%s) t���_ldapi���t���limitt���fileNi���s���=> LDAPError: %s s���=> result: %s (���NN(���t ���__debug__t���_trace_levelt���_trace_filet���writet���reprt���funct���argst���kwargst ���tracebackt���print_stackt���_trace_stack_limitt���_ldap_module_lockt���acquiret���resultt���releaset ���LDAPErrort���et���strt���None(���R���R���R���R���R���(����(����t2���/usr/lib/python2.4/site-packages/ldap/functions.pyt���_ldap_function_call)���s(����� / " �i����c���������C���s���t��|��|�|�|�ƒ�S(���s’�� Return LDAPObject instance by opening LDAP connection to LDAP host specified by LDAP URL Parameters: uri LDAP URL containing at least connection scheme and hostport, e.g. ldap://localhost:389 trace_level If non-zero a trace output of LDAP calls is generated. trace_file File object where to write the trace output to. Default is to use stdout. N(���t ���LDAPObjectt���urit���trace_levelt ���trace_filet���trace_stack_limit(���R ���R!���R"���R#���(����(����R���R���F���s�����i…��c���������C���s���t��d�|��|�f�|�|�|�ƒ�S(���sŽ�� Return LDAPObject instance by opening LDAP connection to specified LDAP host Parameters: host LDAP host and port, e.g. localhost port integer specifying the port number to use, e.g. 389 trace_level If non-zero a trace output of LDAP calls is generated. trace_file File object where to write the trace output to. Default is to use stdout. s���ldap://%s:%dN(���R���t���hostt���portR!���R"���R#���(���R$���R%���R!���R"���R#���(����(����R���R����X���s�����c���������C���s���t��t�i�|��|�ƒ�S(���sô��� explode_dn(dn [, notypes=0]) -> list This function takes a DN and breaks it up into its component parts. The notypes parameter is used to specify that only the component's attribute values be returned and not the attribute types. N(���R���R���R���t���dnt���notypes(���R&���R'���(����(����R���R���m���s�����c���������C���s���t��t�i�|��|�ƒ�S(���s�� explode_rdn(rdn [, notypes=0]) -> list This function takes a RDN and breaks it up into its component parts if it is a multi-valued RDN. The notypes parameter is used to specify that only the component's attribute values be returned and not the attribute types. N(���R���R���R���t���rdnR'���(���R(���R'���(����(����R���R���x���s�����c���������C���s���t��t�i�|��ƒ�S(���sJ��� get_option(name) -> value Get the value of an LDAP global option. N(���R���R���R���t���option(���R)���(����(����R���R���„���s�����c���������C���s���t��t�i�|��|�ƒ�d�S(���sJ��� set_option(name, value) Set the value of an LDAP global option. N(���R���R���R���R)���t���invalue(���R)���R*���(����(����R���R������s�����(���t���__doc__t���__version__t���__all__t���sysR���t���ldapR���R���t���ldap.ldapobjectR���R ���R���R���R���R���R���t���stdoutR���R���R����R���R���R���R���R���(���R���R����R���R-���R���R���R���R���R���R.���R���R���R���R���R���R���R,���R���R���(����(����R���t���?���s ���