class ServiceBindingProxy(proxy.Proxy): (source)
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.
Method | __init__ |
Initialize the object. |
Method | handle_ |
Undocumented |
Method | timestamp |
Undocumented |
Instance Variable | fallback |
Undocumented |
Instance Variable | services |
Undocumented |
Method | _loop |
Undocumented |
Method | _loop |
Undocumented |
Method | _maybe |
Undocumented |
Method | _start |
Undocumented |
Method | _try |
Undocumented |
Inherited from Proxy
:
Method | connection |
Called when TCP connection has been lost |
Method | connection |
TCP connection has opened |
Method | handle_ |
Undocumented |
Method | handle |
Undocumented |
Class Variable | waiting |
Undocumented |
Instance Variable | client |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | unbound |
Undocumented |
Method | _cb |
Undocumented |
Method | _client |
Undocumented |
Method | _fail |
Undocumented |
Method | _got |
Undocumented |
Method | _handle |
Undocumented |
Method | _when |
Undocumented |
Inherited from BaseLDAPServer
(via Proxy
):
Method | check |
Undocumented |
Method | data |
Undocumented |
Method | fail |
Undocumented |
Method | handle |
Undocumented |
Method | queue |
Undocumented |
Method | unsolicited |
Undocumented |
Class Variable | berdecoder |
Undocumented |
Class Variable | debug |
Undocumented |
Instance Variable | buffer |
Undocumented |
Instance Variable | connected |
Undocumented |
Method | _call |
Undocumented |
Method | _cb |
Undocumented |
Method | _cb |
Undocumented |
Method | _cb |
Undocumented |