univention.admin.handlers.groups package

univention.admin.handlers.groups package

Submodules

univention.admin.handlers.groups.group module

UDM module for groups

univention.admin.handlers.groups.group.unmapSambaRid(oldattr)[source]
class univention.admin.handlers.groups.group.AgingCache(*args, **kwargs)[source]

Bases: object

is_valid(item)[source]
get(item)[source]
set(item, data)[source]
remove(item)[source]
set_timeout(timeout)[source]
class univention.admin.handlers.groups.group.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'groups/group'
open()[source]

Opens this object.

During the initialization of this object the current set LDAP attributes are mapped into info. This method makes it possible to e.g. resolve external references to other objects which are not represented in the raw LDAP attributes of this object, for example the group memberships of a user.

By default only the open hook for extended attributes is called. This method can be subclassed.

Warning

If this method changes anything in self.info it must call save() afterwards.

Warning

If your are going to do any modifications (such as creating, modifying, moving, removing this object) this method must be called directly after the constructor and before modifying any property.

fast_member_add(memberdnlist, uidlist)[source]
fast_member_remove(memberdnlist, uidlist, ignore_license=False, _retry_on_attribute_error=True)[source]
check_for_group_recursion()[source]
check_ad_group_type_change()[source]
classmethod unmapped_lookup_filter()[source]

Return a LDAP filter UDM filter expression.

Returns

A LDAP filter expression.

Return type

univention.admin.filter.conjunction

See lookup_filter().