KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21572/root/usr/lib64/python2.4/site-packages/ldap/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/lib64/python2.4/site-packages/ldap/functions.pyc
mò
ˆÌ$@c@sðdZdZdddddddgZd	kZd	kZd
klZlZdkl	Z	e
o&d	kZdklZl
Z
lZnd
„Zdeid	d„Zddeid	d„ZeZdd„Zdd„Zd„Zd„Zd	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.
s0.1.1topent
initializetinitt
explode_dntexplode_rdnt
get_optiont
set_optionN(s_ldap_module_locks	LDAPError(s
LDAPObject(s_trace_levels_trace_files_trace_stack_limitcOs<toktdjoZtiddt|ƒt|ƒt|ƒfƒtdjoti	dt
dtƒqnqrntiƒy%z|||Ž}WdtiƒXWnGtj
o;}to(tdjotid	t|ƒƒn‚nXtoFtdjo9|djo(|djotid
t|ƒƒq8n|S(sQ
  Wrapper function which locks calls to func with via
  module-wide ldap_lock
  is*** %s.%s (%s,%s)
t_ldapitlimittfileNis=> LDAPError: %s
s=> result: %s
(NN(t	__debug__t_trace_levelt_trace_filetwritetreprtfunctargstkwargst	tracebacktprint_stackt_trace_stack_limitt_ldap_module_locktacquiretresulttreleaset	LDAPErrortetstrtNone(RRRRR((t4/usr/lib64/python2.4/site-packages/ldap/functions.pyt_ldap_function_call)s(
/
"
icCst||||ƒ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
LDAPObjectturittrace_levelt
trace_filettrace_stack_limit(R R!R"R#((RRFsi…cCstd||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(RthosttportR!R"R#(R$R%R!R"R#((RRXscCstti||ƒ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(RRRtdntnotypes(R&R'((RRmscCstti||ƒ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(RRRtrdnR'(R(R'((RRxscCstti|ƒS(sJ
  get_option(name) -> value

  Get the value of an LDAP global option.
  N(RRRtoption(R)((RR„scCstti||ƒdS(sJ
  set_option(name, value)
  
  Set the value of an LDAP global option.
  N(RRRR)tinvalue(R)R*((RRs(t__doc__t__version__t__all__tsysRtldapRRtldap.ldapobjectRR
RRRRRtstdoutRRRRRRRR(RRRR-RRRRRR.RRRRRRR,RR((Rt?s 
				

Anon7 - 2021