Contents

univention.admin.handlers.settings package

Contents

univention.admin.handlers.settings package

Submodules

univention.admin.handlers.settings.cn module

UDM module for container settings

class univention.admin.handlers.settings.cn.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/cn'
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().

univention.admin.handlers.settings.cn.identify(dn, attr, canonical=False)[source]

univention.admin.handlers.settings.console_helpdesk module

class univention.admin.handlers.settings.console_helpdesk.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/console_helpdesk'

univention.admin.handlers.settings.data module

UDM module for arbitrary data entries

class univention.admin.handlers.settings.data.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/data'

univention.admin.handlers.settings.default module

UDM module for default paths

class univention.admin.handlers.settings.default.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/default'

univention.admin.handlers.settings.directory module

UDM module for default directories

class univention.admin.handlers.settings.directory.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/directory'

univention.admin.handlers.settings.extended_attribute module

UDM module for UDM properties

class univention.admin.handlers.settings.extended_attribute.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/extended_attribute'
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.

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().

univention.admin.handlers.settings.extended_attribute.identify(dn, attr, canonical=False)[source]

univention.admin.handlers.settings.extended_options module

UDM module for extended options

class univention.admin.handlers.settings.extended_options.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/extended_options'
open()[source]

Load and parse translations.

univention.admin.handlers.settings.ldapacl module

UDM module for LDAP ACL extensions

class univention.admin.handlers.settings.ldapacl.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/ldapacl'

univention.admin.handlers.settings.ldapschema module

UDM module for LDAP schema extensions

class univention.admin.handlers.settings.ldapschema.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/ldapschema'

univention.admin.handlers.settings.license module

UDM module for license handling

class univention.admin.handlers.settings.license.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/license'

univention.admin.handlers.settings.lock module

UDM module for locking objects

class univention.admin.handlers.settings.lock.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/lock'

univention.admin.handlers.settings.msprintconnectionpolicy module

class univention.admin.handlers.settings.msprintconnectionpolicy.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/msprintconnectionpolicy'

univention.admin.handlers.settings.mswmifilter module

class univention.admin.handlers.settings.mswmifilter.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/mswmifilter'

univention.admin.handlers.settings.packages module

UDM module for package lists

class univention.admin.handlers.settings.packages.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/packages'

univention.admin.handlers.settings.portal module

UDM module for Univention Portal

univention.admin.handlers.settings.portal.mapLinkValue(vals, encoding=())[source]
univention.admin.handlers.settings.portal.unmapLinkValue(vals, encoding=())[source]
univention.admin.handlers.settings.portal.mapTranslationValue(vals, encoding=())[source]
univention.admin.handlers.settings.portal.unmapTranslationValue(vals, encoding=())[source]
univention.admin.handlers.settings.portal.mapContent(vals, encoding=())[source]
univention.admin.handlers.settings.portal.unmapContent(vals, encoding=())[source]
class univention.admin.handlers.settings.portal.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/portal'
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.

univention.admin.handlers.settings.portal_all module

UDM module for Portal settings

class univention.admin.handlers.settings.portal_all.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/portal_all'
univention.admin.handlers.settings.portal_all.lookup(co, lo, filter_s, base='', superordinate=None, scope='sub', unique=False, required=False, timeout=- 1, sizelimit=0)[source]
univention.admin.handlers.settings.portal_all.identify(dn, attr, canonical=False)[source]

univention.admin.handlers.settings.portal_category module

UDM module for Portal entries

univention.admin.handlers.settings.portal_category.mapTranslationValue(vals, encoding=())[source]
univention.admin.handlers.settings.portal_category.unmapTranslationValue(vals, encoding=())[source]
class univention.admin.handlers.settings.portal_category.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/portal_category'

univention.admin.handlers.settings.portal_entry module

UDM module for Portal entries

univention.admin.handlers.settings.portal_entry.mapTranslationValue(vals, encoding=())[source]
univention.admin.handlers.settings.portal_entry.unmapTranslationValue(vals, encoding=())[source]
class univention.admin.handlers.settings.portal_entry.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/portal_entry'

univention.admin.handlers.settings.printermodel module

UDM module for printer modules

univention.admin.handlers.settings.printermodel.unmapDriverList(ldap_value, encoding=())[source]
univention.admin.handlers.settings.printermodel.mapDriverList(udm_value, encoding=())[source]
class univention.admin.handlers.settings.printermodel.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/printermodel'
classmethod rewrite_filter(filter, mapping)[source]

univention.admin.handlers.settings.printeruri module

UDM module for printer URIs

class univention.admin.handlers.settings.printeruri.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/printeruri'

univention.admin.handlers.settings.prohibited_username module

UDM module for prohibited user names

class univention.admin.handlers.settings.prohibited_username.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/prohibited_username'

univention.admin.handlers.settings.sambaconfig module

UDM module for samba config

univention.admin.handlers.settings.sambaconfig.logonToChangePWMap(udm_value)[source]

‘User must logon to change PW’ behaves like an integer (at least to us), but must be stored as either 0 (allow) or 2 (disallow)

univention.admin.handlers.settings.sambaconfig.logonToChangePWUnmap(ldap_value)[source]
class univention.admin.handlers.settings.sambaconfig.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/sambaconfig'
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().

univention.admin.handlers.settings.sambadomain module

UDM module for samba domain configuration

univention.admin.handlers.settings.sambadomain.logonToChangePWMap(val)[source]

‘User must logon to change PW’ behaves like an integer (at least to us), but must be stored as either 0 (allow) or 2 (disallow)

univention.admin.handlers.settings.sambadomain.logonToChangePWUnmap(val)[source]
class univention.admin.handlers.settings.sambadomain.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/sambadomain'
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.

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().

univention.admin.handlers.settings.sambadomain.identify(dn, attr, canonical=False)[source]

univention.admin.handlers.settings.service module

UDM module for handling services

class univention.admin.handlers.settings.service.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/service'

univention.admin.handlers.settings.settings module

UDM module for all setting objects

class univention.admin.handlers.settings.settings.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/settings'
univention.admin.handlers.settings.settings.lookup(co, lo, filter_s, base='', superordinate=None, scope='sub', unique=False, required=False, timeout=- 1, sizelimit=0)[source]
univention.admin.handlers.settings.settings.identify(dn, attr, canonical=False)[source]

univention.admin.handlers.settings.syntax module

UDM module for syntax objects

class univention.admin.handlers.settings.syntax.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/syntax'
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.

univention.admin.handlers.settings.udm_hook module

UDM module for UDM hooks

class univention.admin.handlers.settings.udm_hook.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/udm_hook'

univention.admin.handlers.settings.udm_module module

UDM module for UDM modules

class univention.admin.handlers.settings.udm_module.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/udm_module'

univention.admin.handlers.settings.udm_syntax module

UDM for UDM syntax extensions

class univention.admin.handlers.settings.udm_syntax.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/udm_syntax'

univention.admin.handlers.settings.umc_operationset module

UDM module for UMC operation set objects

univention.admin.handlers.settings.umc_operationset.mapUMC_CommandPattern(udm_value, encoding=())[source]
univention.admin.handlers.settings.umc_operationset.unmapUMC_CommandPattern(ldap_value, encoding=())[source]
class univention.admin.handlers.settings.umc_operationset.object(co, lo, position, dn='', superordinate=None, attributes=None)[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/umc_operationset'

univention.admin.handlers.settings.usertemplate module

UDM module for user template objects

class univention.admin.handlers.settings.usertemplate.object(co, lo, position, dn='', superordinate=None, attributes=[])[source]

Bases: univention.admin.handlers.simpleLdap

module = 'settings/usertemplate'
classmethod filter_object_classes(ml)[source]

Remove blacklisted object classes

>>> object.filter_object_classes([('objectClass', b'bar', b'inetOrgPerson'), ('objectClass', b'foo', [b'inetOrgPerson', b'baz'])])
[('objectClass', b'bar', None), ('objectClass', b'foo', [b'baz'])]