| 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/schema/ |
Upload File : |
Gc @ s d Z d d k Z d d k Z d d k Td d k l Z e i i Z h Z xK e D]@ Z
e e
Z e
e d o e e e i <e i e e <n qW We i Z d f d YZ d d Z d S(
s
ldap.schema.subentry - subschema subentry handling
See http://python-ldap.sourceforge.net for details.
\$Id: subentry.py,v 1.23 2008/03/10 08:34:30 stroeder Exp $
iN( t *( t UserDictt schema_attributet SubSchemac B s e Z d Z d Z d d Z d d Z d Z d Z d d Z d d Z
d Z d Z d
Z
d d d d
Z RS( c C s! h | _ h | _ x7 t i D]) } t i i | i | <h | i | <q Wt i i | } x t D] } | i | p | | o qe n x t d | | D]r } t | } | | } | | i | | i
<t | d o/ x, | i D] } | i
| i | | <q Wq q Wqe Wd S( s[
sub_schema_sub_entry
Dictionary containing the sub schema sub entry
t namesN(
t name2oidt sedt SCHEMA_CLASS_MAPPINGt valuest ldapt cidictt SCHEMA_ATTRSt has_keyt filtert Nonet get_idt hasattrR ( t selft sub_schema_sub_entryt ct et attr_typet
attr_valuet se_classt se_instancet name( ( s8 /usr/lib/python2.6/site-packages/ldap/schema/subentry.pyt __init__ s,
'c C s h } x | i i D]p } xg | i | i D]R } t | } y | t | i | Wq0 t j
o | g | t | <q0 Xq0 Wq W| S( sB
Returns a dictionary containing the sub schema sub entry
( R t keysR t strt SCHEMA_ATTR_MAPPINGt appendt KeyError( R t entryR t set se_str( ( s8 /usr/lib/python2.6/site-packages/ldap/schema/subentry.pyt
ldap_entry9 s c C s | i | } | o g } x | i D]h } | | } xU | D]M \ } } y+ t | | | j o | i | n Wq>