OPSI.ldaptor.protocols.ldap.ldapserver module¶
LDAP protocol server
-
class
OPSI.ldaptor.protocols.ldap.ldapserver.BaseLDAPServer¶ Bases:
twisted.internet.protocol.Protocol-
berdecoder= <LDAPBERDecoderContext_TopLevel identities={0x10: LDAPMessage} fallback=None inherit=<LDAPBERDecoderContext_LDAPMessage identities={0x80: LDAPControls} fallback=<LDAPBERDecoderContext identities={0x40: LDAPBindRequest, 0x41: LDAPBindResponse, 0x42: LDAPUnbindRequest, 0x43: LDAPSearchRequest, 0x44: LDAPSearchResultEntry, 0x45: LDAPSearchResultDone, 0x46: LDAPModifyRequest, 0x47: LDAPModifyResponse, 0x48: LDAPAddRequest, 0x49: LDAPAddResponse, 0x4a: LDAPDelRequest, 0x4b: LDAPDelResponse, 0x4c: LDAPModifyDNRequest, 0x4d: LDAPModifyDNResponse, 0x83: LDAPReferral, 0x57: LDAPExtendedRequest, 0x58: LDAPExtendedResponse} fallback=<BERDecoderContext identities={0x01: BERBoolean, 0x02: BERInteger, 0x04: BEROctetString, 0x05: BERNull, 0x0a: BEREnumerated, 0x10: BERSequence, 0x11: BERSet} fallback=None inherit=None> inherit=None> inherit=<LDAPBERDecoderContext identities={0x40: LDAPBindRequest, 0x41: LDAPBindResponse, 0x42: LDAPUnbindRequest, 0x43: LDAPSearchRequest, 0x44: LDAPSearchResultEntry, 0x45: LDAPSearchResultDone, 0x46: LDAPModifyRequest, 0x47: LDAPModifyResponse, 0x48: LDAPAddRequest, 0x49: LDAPAddResponse, 0x4a: LDAPDelRequest, 0x4b: LDAPDelResponse, 0x4c: LDAPModifyDNRequest, 0x4d: LDAPModifyDNResponse, 0x83: LDAPReferral, 0x57: LDAPExtendedRequest, 0x58: LDAPExtendedResponse} fallback=<BERDecoderContext identities={0x01: BERBoolean, 0x02: BERInteger, 0x04: BEROctetString, 0x05: BERNull, 0x0a: BEREnumerated, 0x10: BERSequence, 0x11: BERSet} fallback=None inherit=None> inherit=None>>>¶
-
checkControls(controls)¶
-
connectionLost(reason=<twisted.python.failure.Failure <class 'twisted.internet.error.ConnectionDone'>>)¶ Called when TCP connection has been lost
-
connectionMade()¶ TCP connection has opened
-
dataReceived(recd)¶
-
debug= False¶
-
failDefault(resultCode, errorMessage)¶
-
handle(msg)¶
-
handleUnknown(request, controls, callback)¶
-
queue(id, op)¶
-
unsolicitedNotification(msg)¶
-
-
class
OPSI.ldaptor.protocols.ldap.ldapserver.LDAPServer¶ Bases:
OPSI.ldaptor.protocols.ldap.ldapserver.BaseLDAPServerAn LDAP server
-
boundUser= None¶
-
extendedRequest_LDAPPasswordModifyRequest(data, reply)¶
-
fail_LDAPAddRequest¶ alias of
LDAPAddResponse
-
fail_LDAPBindRequest¶ alias of
LDAPBindResponse
-
fail_LDAPDelRequest¶ alias of
LDAPDelResponse
-
fail_LDAPExtendedRequest¶ alias of
LDAPExtendedResponse
-
fail_LDAPModifyDNRequest¶ alias of
LDAPModifyDNResponse
-
fail_LDAPModifyRequest¶ alias of
LDAPModifyResponse
-
fail_LDAPSearchRequest¶ alias of
LDAPSearchResultDone
-
getRootDSE(request, reply)¶
-
handle_LDAPAddRequest(request, controls, reply)¶
-
handle_LDAPBindRequest(request, controls, reply)¶
-
handle_LDAPDelRequest(request, controls, reply)¶
-
handle_LDAPExtendedRequest(request, controls, reply)¶
-
handle_LDAPModifyDNRequest(request, controls, reply)¶
-
handle_LDAPModifyRequest(request, controls, reply)¶
-
handle_LDAPSearchRequest(request, controls, reply)¶
-
handle_LDAPUnbindRequest(request, controls, reply)¶
-
-
exception
OPSI.ldaptor.protocols.ldap.ldapserver.LDAPServerConnectionLostException(message=None)¶