Logo Search packages:      
Sourcecode: ldaptor version File versions

ldaptor::protocols::ldap::svcbindproxy::ServiceBindingProxy Class Reference

Inheritance diagram for ldaptor::protocols::ldap::svcbindproxy::ServiceBindingProxy:

List of all members.

Detailed Description

An LDAP proxy that handles non-anonymous bind requests specially.

BindRequests are intercepted and authentication is attempted
against each configured service. This authentication is performed
against a separate LDAP entry, found by searching for entries with

 - objectClass: serviceSecurityObject

 - owner: the DN of the original bind attempt

 - cn: the service name.

starting at the identity-base as configured in the config file.

Finally, if the authentication does not succeed against any of the
configured services, the proxy can fallback to passing the bind
request to the real server.

Definition at line 7 of file svcbindproxy.py.

Public Member Functions

def __init__
def __init__
def __init__
def checkControls
def connectionLost
def connectionMade
def dataReceived
def failDefault
def handle
def handle_LDAPBindRequest
def handle_LDAPUnbindRequest
def handleUnknown
def queue
def timestamp
def unsolicitedNotification

Public Attributes


Static Public Attributes

tuple berdecoder
 client = None
 debug = False
 fail_LDAPBindRequest = pureldap.LDAPBindResponse
 fallback = False
 protocol = ldapclient.LDAPClient
list services = []
 unbound = False
list waitingConnect = []

Private Member Functions

def _loopIfBindError
def _loopIfNone
def _maybeFallback
def _startSearch
def _tryService

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index