|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/usr/lib/python2.4/site-packages/ldap/ |
Upload File : |
mò
*Z@c @ sâ d Z d k Z d Z h e i d <e i d <e i d <Z h e i d <e i d <Z d e f d „ ƒ YZ
d f d „ ƒ YZ d e f d „ ƒ YZ d e f d
„ ƒ YZ
d e
f d „ ƒ YZ d
e
f d „ ƒ YZ d S( s
ldap.async - handle async LDAP operations
written by Michael Stroeder <michael@stroeder.com>
See http://python-ldap.sourceforge.net for details.
\$Id: async.py,v 1.21 2004/03/10 19:37:57 stroeder Exp $
Python compability note:
Tested on Python 2.0+ but should run on Python 1.5.x.
Ns 0.0.3t WrongResultTypec B s t Z d „ Z d „ Z RS( Nc C s# | | _ | | _ t i | ƒ d S( N( t receivedResultTypet selft expectedResultTypest Exceptiont __init__( R R R ( ( t. /usr/lib/python2.4/site-packages/ldap/async.pyR s c C s d | i d i | i ƒ f S( Ns3 Received wrong result type %s (expected one of %s).s , ( R R t joinR ( R ( ( R t __str__% s ( t __name__t
__module__R R ( ( ( R R s t AsyncSearchHandlerc B sY t Z d Z d „ Z e d d d d „ Z d „ Z d „ Z d d d d „ Z d „ Z RS( s6
Class for stream-processsing LDAP search results
c C s | | _ d | _ d S( sa
Initialize a StreamResultHandler
Parameters:
l
LDAPObject instance
N( t lR t _lt Nonet _msgId( R R ( ( R R 1 s i iÿÿÿÿc
C s1 | i i | | | | | d d | | ƒ | _ d S( s1
searchRoot
See parameter base of method LDAPObject.search()
searchScope
See parameter scope of method LDAPObject.search()
filterStr
See parameter filter of method LDAPObject.search()
attrList=None
See parameter attrlist of method LDAPObject.search()
attrsOnly
See parameter attrsonly of method LDAPObject.search()
timeout
Maximum time the server shall use for search operation
sizeLimit
Maximum number of entries a server should return
(request client-side limit)
N( R R
t
search_extt
searchRoott searchScopet filterStrt attrListt attrsOnlyR t timeoutt sizelimitR ( R R R R R R R R ( ( R t startSearch<