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/modlist.pyc
Ñò
•òÔGc@sLdZdZddkZddkZd„Zdd„Zddd„ZdS(s
ldap.modlist - create add/modify modlist's

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

$Id: modlist.py,v 1.15 2008/03/10 08:34:29 stroeder Exp $

Python compability note:
This module is known to work with Python 2.0+ but should work
with Python 1.5.2 as well.
s0.1.1iÿÿÿÿNcCs%h}x|D]}d||<q
W|S(sN
  return a dictionary with all items of l being the keys of the dictionary
  N(tNone(tltdti((s0/usr/lib/python2.6/site-packages/ldap/modlist.pyt	list_dicts
cCs˜ttti|pgƒƒ}g}xl|iƒD]^}|iti|ƒƒoq2ntd„||ƒ}|o|i|||fƒq2q2W|S(s5Build modify list for call of method LDAPObject.add()cSs
|djS(N(R(tx((s0/usr/lib/python2.6/site-packages/ldap/modlist.pyt<lambda>&s(Rtmaptstringtlowertkeysthas_keytfiltertappend(tentrytignore_attr_typestmodlisttattrtypet
attrvaluelist((s0/usr/lib/python2.6/site-packages/ldap/modlist.pyt
addModlists
icCs¢ttti|pgƒƒ}g}h}x'|iƒD]}||ti|ƒ<q8Wxê|iƒD]Ü}ti|ƒ}|i|ƒoqbntd„||ƒ}	|i|ƒo3|i||gƒ}
td„|
ƒ}
||=ng}
|
o$|	o|it	i
||	fƒqb|
oò|	oët|
ƒt|	ƒj}|p‹t|
ƒ}t|	ƒ}
g}x)|
D]!}|
i|ƒpd}PqkqkWg}|p0x-|	D]!}|i|ƒpd}Pq¤q¤WqÑn|o6|it	i|dfƒ|it	i
||	fƒq>qb|
o%|	o|it	i|dfƒqbqbW|pUxR|iƒD]@}|i|ƒoqVn||}|it	i|dfƒqVWn|S(s;
  Build differential modify list for calling LDAPObject.modify()/modify_s()

  old_entry
      Dictionary holding the old entry
  new_entry
      Dictionary holding what the new entry should be
  ignore_attr_types
      List of attribute type names to be ignored completely
  ignore_oldexistent
      If non-zero attribute type names which are in old_entry
      but are not found in new_entry at all are not deleted.
      This is handy for situations where your application
      sets attribute value to '' for deleting an attribute.
      In most cases leave zero.
  cSs
|djS(N(R(R((s0/usr/lib/python2.6/site-packages/ldap/modlist.pyRJscSs
|djS(N(R(R((s0/usr/lib/python2.6/site-packages/ldap/modlist.pyRMsiN(RRRR	R
RRtgetR
tldaptMOD_ADDtlent
MOD_DELETER(t	old_entryt	new_entryRtignore_oldexistentRtattrtype_lower_maptaRtattrtype_lowert	new_valuet	old_valuetreplace_attr_valuetold_value_dicttnew_value_dictt
delete_valuestvt
add_values((s0/usr/lib/python2.6/site-packages/ldap/modlist.pyt
modifyModlist,sd

	!!

!(t__doc__t__version__RRRRRR'(((s0/usr/lib/python2.6/site-packages/ldap/modlist.pyt<module>s
	


Youez - 2016 - github.com/yon3zu
LinuXploit