tldap.methods

tldap.methods is a set of classes to assist manipulating attributes in a generic way.

class tldap.methods.baseMixin(**kwargs)[source]

Base class, all objects should inherit from this instead of tldap.base.LDAPobject.

classmethod get_default_base_dn(using, settings)[source]

Get the default base_dn for this class.

Parameters:
  • cls – This class.
  • using – The LDAP database alias.
  • settings – A set of parameters.
Returns:

Fully qualified base dn. May be None if unsuccessful.

This class will lookup the base_dn in settings if the base method couldn’t get a result.

mixin_list = []

Class variable to be overriden for class that provides a list of mixins supported.

Previous topic

tldap.backend.fake_transactions

Next topic

tldap.methods.ad

This Page