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/functions.pyo
Ñò
•òÔGc
@sÍdZdZdddddddgZd	d
kZd	d
kZd	dklZlZd	dkl	Z	l
Z
d	d
klZd„Z
deid
d„Zddeid
d„ZeZd„Zd„Zd
S(sã
functions.py - wraps functions of module _ldap

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

\$Id: functions.py,v 1.21 2008/03/10 08:34:29 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.2topent
initializetinitt
explode_dntexplode_rdnt
get_optiont
set_optioniÿÿÿÿN(t_ldap_module_lockt	LDAPError(RR(t
LDAPObjectc
OsÊtiƒy%z|||Ž}WdtiƒXWnGtj
o;}to(tdjotidt|ƒƒn‚nXtoFtdjo9|djo(|djotidt
|ƒƒqÆn|S(sQ
  Wrapper function which locks calls to func with via
  module-wide ldap_lock
  Nis=> LDAPError: %s
s=> result: %s
(NN(RtacquiretreleaseRt	__debug__t_trace_levelt_trace_filetwritetstrtNonetrepr(tfunctargstkwargstresultte((s2/usr/lib/python2.6/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.
  (R	(turittrace_levelt
trace_filettrace_stack_limit((s2/usr/lib/python2.6/site-packages/ldap/functions.pyRGsi…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:%d(R(thosttportRRR((s2/usr/lib/python2.6/site-packages/ldap/functions.pyRYscCstti|ƒS(sJ
  get_option(name) -> value

  Get the value of an LDAP global option.
  (Rt_ldapR(toption((s2/usr/lib/python2.6/site-packages/ldap/functions.pyRnscCstti||ƒdS(sJ
  set_option(name, value)
  
  Set the value of an LDAP global option.
  N(RRR(R tinvalue((s2/usr/lib/python2.6/site-packages/ldap/functions.pyRws(t__doc__t__version__t__all__tsysRtldapRRtldap.dnRRtldap.ldapobjectR	RtstdoutRRRRRR(((s2/usr/lib/python2.6/site-packages/ldap/functions.pyt<module>s				

Youez - 2016 - github.com/yon3zu
LinuXploit