Logo Search packages:      
Sourcecode: sabnzbdplus version File versions

sabnzbd::utils::multiauth::providers::LDAPAuthProvider Class Reference

Inheritance diagram for sabnzbd::utils::multiauth::providers::LDAPAuthProvider:


List of all members.

Detailed Description

Do the LDAP dirty work to authenticate a user against and ldap server.
Will not work as-is.  Needs to be subclassed. Assign correct values for
attributes uid and groupList in subclasses.
LDAPAuthProvider is my heavily reworked version of code posted on
comp.lang.python by Stephan Diehl.
Other than authenticating against ldap, it includes some other handy
methods as well.

Definition at line 49 of file providers.py.

Public Member Functions

def __init__
def authenticate
def getGroupCNs
def getGroupMembership
def getInfoAbout

Public Attributes


Static Public Attributes

string groupList = ''
string uid = ''

Private Member Functions

def _authenticate
def _connect
def _disconnect

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

Generated by  Doxygen 1.6.0   Back to index