cri_models.ldap.group module

class cri_models.ldap.group.LDAPGroup(dn, created_at, created_by, updated_at, updated_by, classes, name, members, managers, description, gid, mail_aliases)[source]

Bases: cri_models.ldap.models.LDAPModel

exception DoesNotExist

Bases: django.core.exceptions.ObjectDoesNotExist

class LDAPMeta[source]

Bases: object

object_classes_map = {'extensibleObject': ((), ('mail_aliases',)), 'posixGroup': (('gid',), ())}
exception MultipleObjectsReturned

Bases: django.core.exceptions.MultipleObjectsReturned

description

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_managers()[source]
get_members()[source]
get_next_by_created_at(*, field=<ldapdb.models.fields.DateTimeField: created_at>, is_next=True, **kwargs)
get_next_by_updated_at(*, field=<ldapdb.models.fields.DateTimeField: updated_at>, is_next=True, **kwargs)
get_previous_by_created_at(*, field=<ldapdb.models.fields.DateTimeField: created_at>, is_next=False, **kwargs)
get_previous_by_updated_at(*, field=<ldapdb.models.fields.DateTimeField: updated_at>, is_next=False, **kwargs)
gid

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

mail_aliases

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

managers

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

members

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

name

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

object_classes = ('groupOfMembers',)
objects = <django.db.models.manager.Manager object>
relative_base_dn = 'ou=groups'