Package ldaptor :: Package protocols :: Package ldap :: Module ldapserver :: Class LDAPServer
[show private | hide private]
[frames | no frames]

Class LDAPServer

BaseProtocol --+    
               |    
        Protocol --+
                   |
                  LDAPServer


An LDAP server
Method Summary
  __init__(self)
  _callErrorHandler(self, name, resultCode, errorMessage)
  _cbHandle(self, response, id)
  _cbLDAPError(self, reason, name)
  _cbOtherError(self, reason, name)
  _cbSearchGotBase(self, base, dn, request, reply)
  _cbSearchLDAPError(self, reason)
  _cbSearchOtherError(self, reason)
  checkControls(self, controls)
  connectionLost(self, reason)
Called when TCP connection has been lost
  connectionMade(self)
TCP connection has opened
  dataReceived(self, recd)
  failDefault(self, resultCode, errorMessage)
  getRootDSE(self, request, reply)
  handle(self, msg)
  handle_LDAPBindRequest(self, request, controls, reply)
  handle_LDAPDelRequest(self, request, controls, reply)
  handle_LDAPSearchRequest(self, request, controls, reply)
  handle_LDAPUnbindRequest(self, request, controls, reply)
  handleUnknown(self, request, controls, id)
  queue(self, id, op)
  unsolicitedNotification(self, msg)
    Inherited from Protocol
  connectionFailed(self)
(Deprecated)
    Inherited from BaseProtocol
  makeConnection(self, transport)
Make a connection to a transport and a server.

Class Variable Summary
classobj fail_LDAPBindRequest = ldaptor.protocols.pureldap.LDAPBindResponse
classobj fail_LDAPDelRequest = ldaptor.protocols.pureldap.LDAPDelResponse
classobj fail_LDAPSearchRequest = ldaptor.protocols.pureldap.LDAPSearchResultDone
LDAPBERDecoderContext_TopLevel berdecoder = <LDAPBERDecoderContext_TopLevel identities=...
NoneType boundUser = None                                                                  
bool debug = False
    Inherited from Protocol
tuple __implements__ = (<class 'twisted.internet.interfaces.IP...
    Inherited from BaseProtocol
int connected = 0                                                                     
NoneType transport = None                                                                  

Method Details

connectionLost(self, reason)

Called when TCP connection has been lost
Overrides:
twisted.internet.protocol.Protocol.connectionLost

connectionMade(self)

TCP connection has opened
Overrides:
twisted.internet.protocol.BaseProtocol.connectionMade

Class Variable Details

berdecoder

Type:
LDAPBERDecoderContext_TopLevel
Value:
<LDAPBERDecoderContext_TopLevel identities={0x10: LDAPMessage} fallbac\
k=None inherit=<LDAPBERDecoderContext_LDAPMessage identities={0x80: LD\
APControls} fallback=<LDAPBERDecoderContext identities={0x40: LDAPBind\
Request, 0x41: LDAPBindResponse, 0x42: LDAPUnbindRequest, 0x43: LDAPSe\
archRequest, 0x44: LDAPSearchResultEntry, 0x45: LDAPSearchResultDone, \
0x46: LDAPModifyRequest, 0x47: LDAPModifyResponse, 0x48: LDAPAddReques\
t, 0x49: LDAPAddResponse, 0x4a: LDAPDelRequest, 0x4b: LDAPDelResponse,\
 0x4c: LDAPModifyDNRequest, 0x4d: LDAPModifyDNResponse, 0x83: LDAPRefe\
...                                                                    

boundUser

Type:
NoneType
Value:
None                                                                  

debug

Type:
bool
Value:
False                                                                  

Generated by Epydoc 2.1 on Tue Aug 17 17:08:21 2004 http://epydoc.sf.net