コード例 #1
0
    'masterPackagesRemove':
    univention.admin.property(short_description=_('Package removal list'),
                              long_description='',
                              syntax=univention.admin.syntax.PackagesRemove,
                              multivalue=True,
                              options=[],
                              required=False,
                              may_change=True,
                              identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=masterPackagesFixedAttributes),
        emptyAttributesProperty(syntax=masterPackagesFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        policy_short_description,
        layout=[
            Group(_('General master packages settings'),
                  layout=['name', 'masterPackages', 'masterPackagesRemove']),
        ]),
    policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #2
0
    'minute':
    univention.admin.property(short_description=_('Minute'),
                              long_description='',
                              syntax=univention.admin.syntax.Minute,
                              multivalue=True,
                              options=[],
                              required=False,
                              may_change=True,
                              identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=repositorySyncFixedAttributes),
        emptyAttributesProperty(syntax=repositorySyncFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Repository synchronisation settings'),
        layout=[
            Group(_('General repository synchronisation settings'),
                  layout=[
                      'name', ['month', 'weekday'], ['day', 'hour'], 'minute'
                  ]),
        ]),
    policy_object_tab()
]
コード例 #3
0
        identifies=True,
    ),
    'allow':
    univention.admin.property(
        short_description=_('List of allowed UMC operation sets'),
        long_description='',
        syntax=udm_syntax.UMC_OperationSet,
        multivalue=True,
    ),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=umcFixedAttributes),
        emptyAttributesProperty(syntax=umcFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Basic settings'),
        layout=[
            Group(_('General UMC settings'), layout=[
                'name',
                'allow',
            ]),
        ]),
    policy_object_tab()
]
コード例 #4
0
        multivalue=True,
    ),
    'slavePackagesRemove':
    univention.admin.property(
        short_description=_('Package removal list'),
        long_description='',
        syntax=univention.admin.syntax.PackagesRemove,
        multivalue=True,
    ),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=slavePackagesFixedAttributes),
        emptyAttributesProperty(syntax=slavePackagesFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        policy_short_description,
        layout=[
            Group(_('General slave packages settings'),
                  layout=['name', 'slavePackages', 'slavePackagesRemove']),
        ]),
    policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #5
0
        long_description=
        _("Honor DHCPDECLINE messages. deny/ignore will prevent malicious or buggy clients from completely exhausting the DHCP server's allocation pool."
          ),
        syntax=univention.admin.syntax.AllowDenyIgnore,
        multivalue=False,
        options=[],
        required=False,
        may_change=True,
        identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=dhcp_scopeFixedAttributes),
        emptyAttributesProperty(syntax=dhcp_scopeFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('Allow/Deny'),
        _('Allow/Deny/Ignore statements'),
        layout=[
            Group(_('General DHCP allow/deny settings'),
                  layout=[
                      'name', ['scopeUnknownClients', 'bootp'],
                      ['booting', 'duplicates'], 'declines'
                  ]),
        ]),
    policy_object_tab()
]
コード例 #6
0
		required=True,
		may_change=False,
		identifies=True,
	),
	'routers': univention.admin.property(
		short_description=_('Routers'),
		long_description='',
		syntax=univention.admin.syntax.hostOrIP,
		multivalue=True,
	),
}
property_descriptions.update(dict([
	requiredObjectClassesProperty(),
	prohibitedObjectClassesProperty(),
	fixedAttributesProperty(syntax=dhcp_routingFixedAttributes),
	emptyAttributesProperty(syntax=dhcp_routingFixedAttributes),
	ldapFilterProperty(),
]))

layout = [
	Tab(_('General'), _('DHCP routing'), layout=[
		Group(_('General DHCP routing settings'), layout=[
			'name',
			'routers',
		]),
	]),
	policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #7
0
        _('Reapply the mountpoint specific user quota policies on each user login. If not set, the initially configured quota settings will not be overwritten.'
          ),
        syntax=univention.admin.syntax.TrueFalseUp,
        multivalue=False,
        options=[],
        required=False,
        may_change=True,
        identifies=False,
        default="FALSE"),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=shareUserQuotaFixedAttributes),
        emptyAttributesProperty(syntax=shareUserQuotaFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Quota'),
        layout=[
            Group(_('General user quota settings'),
                  layout=[
                      'name', ['softLimitSpace', 'hardLimitSpace'],
                      ['softLimitInodes', 'hardLimitInodes'],
                      ['reapplyeverylogin']
                  ]),
        ]),
    policy_object_tab()
コード例 #8
0
    ),
    'clientUpdates':
    univention.admin.property(
        short_description=_('Client updates'),
        long_description=_(
            "Honor the client's intention to do its own update of its A record"
        ),
        syntax=univention.admin.syntax.AllowDeny,
    ),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=dhcp_dnsupdateFixedAttributes),
        emptyAttributesProperty(syntax=dhcp_dnsupdateFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('DNS Update'),
        _('Dynamic DNS update'),
        layout=[
            Group(_('General DHCP dynamic DNS settings'),
                  layout=[
                      'name', ['ddnsDomainname', 'ddnsRevDomainname'],
                      ['ddnsUpdates', 'ddnsUpdateStyle'],
                      ['ddnsDoForwardUpdate', 'updateStaticLeases'],
                      'clientUpdates'
                  ]),
        ]),
コード例 #9
0
		short_description=_('NFS shares to mount'),
		long_description='',
		syntax=univention.admin.syntax.nfsMounts,
		multivalue=True,
		options=[],
		required=False,
		may_change=True,
		identifies=False
	),

}
property_descriptions.update(dict([
	requiredObjectClassesProperty(),
	prohibitedObjectClassesProperty(),
	fixedAttributesProperty(syntax=ldapServerFixedAttributes),
	emptyAttributesProperty(syntax=ldapServerFixedAttributes),
	ldapFilterProperty(),
]))

layout = [
	Tab(_('General'), _('Basic settings'), layout=[
		Group(_('General NFS mounts settings'), layout=[
			'name',
			'nfsMounts'
		]),
	]),
	policy_object_tab()
]


def unmapMounts(old):
コード例 #10
0
    ),
    'pwQualityCheck':
    univention.admin.property(
        short_description=_('Password quality check'),
        long_description=
        _('Enables/disables password quality checks for example dictionary entries'
          ),
        syntax=univention.admin.syntax.TrueFalseUp,
    ),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=pwhistoryFixedAttributes),
        emptyAttributesProperty(syntax=pwhistoryFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Passwords'),
        layout=[
            Group(_('General passwords settings'),
                  layout=[
                      'name',
                      'pwLength',
                      'expiryInterval',
                      'length',
                      'pwQualityCheck',
                  ]),
コード例 #11
0
          ),
        syntax=univention.admin.syntax.hostOrIP,
    ),
    'serverName':
    univention.admin.property(
        short_description=_('Server name'),
        long_description=_('Define the name of the DHCP server'),
        syntax=univention.admin.syntax.hostName,
    ),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=dhcp_statementsFixedAttributes),
        emptyAttributesProperty(syntax=dhcp_statementsFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('DHCP statements'),
        _('Miscellaneous DHCP statements'),
        layout=[
            Group(_('General DHCP statements settings'),
                  layout=[
                      'name', ['authoritative', 'boot-unknown-clients'],
                      ['pingCheck', 'getLeaseHostnames'],
                      ['serverIdentifier', 'serverName']
                  ]),
        ]),
    policy_object_tab()
コード例 #12
0
		include_in_default_search=True,
		required=True,
		may_change=False,
		identifies=True,
	),
	'autostartScript': univention.admin.property(
		short_description=_('Autostart session'),
		long_description=_('Session script to be launched by autostart'),
		syntax=univention.admin.syntax.string,
	),
}
property_descriptions.update(dict([
	requiredObjectClassesProperty(),
	prohibitedObjectClassesProperty(),
	fixedAttributesProperty(syntax=autoStartFixedAttributes),
	emptyAttributesProperty(syntax=autoStartFixedAttributes),
	ldapFilterProperty(),
]))

layout = [
	Tab(_('General'), _('Autostart'), layout=[
		Group(_('General autostart settings'), layout=[
			'name',
			'autostartScript'
		]),
	]),
	policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #13
0
	'lease_time_min': univention.admin.property(
		short_description=_('Minimum lease time'),
		long_description=_('Minimum granted lease time'),
		syntax=univention.admin.syntax.UNIX_TimeInterval,
		multivalue=False,
		options=[],
		required=False,
		may_change=True,
		identifies=False
	),
}
property_descriptions.update(dict([
	requiredObjectClassesProperty(),
	prohibitedObjectClassesProperty(),
	fixedAttributesProperty(syntax=dhcp_leasetimeFixedAttributes),
	emptyAttributesProperty(syntax=dhcp_leasetimeFixedAttributes),
	ldapFilterProperty(),
]))

layout = [
	Tab(_('Lease Time'), _('DHCP lease time'), layout=[
		Group(_('General DHCP lease time settings'), layout=[
			'name',
			'lease_time_default',
			'lease_time_min',
			'lease_time_max',
		]),
	]),
	policy_object_tab()
]
コード例 #14
0
        short_description=_('Update to this UCS version'),
        long_description=_(
            'Without specifying the most recent version will be used'),
        syntax=univention.admin.syntax.string,
        multivalue=False,
        options=[],
        required=False,
        may_change=True,
        identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=releaseFixedAttributes),
        emptyAttributesProperty(syntax=releaseFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Automatic updates'),
        layout=[
            Group(_('General automatic updates settings'),
                  layout=['name', 'activate', 'releaseVersion']),
        ]),
    policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #15
0
    univention.admin.property(
        short_description=_('Print quota for users'),
        long_description=_('Soft and hard limits for each allowed user'),
        syntax=univention.admin.syntax.PrintQuotaUser,
        multivalue=True,
        options=[],
        required=False,
        may_change=True,
        identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=sharePrintQuotaFixedAttributes),
        emptyAttributesProperty(syntax=sharePrintQuotaFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Print quota'),
        layout=[
            Group(_('General print quota settings'), layout=['name']),
            Group(_('Print quota for users'), layout=['quotaUsers']),
            Group(_('Print quota for groups per user'),
                  layout=['quotaGroupsPerUsers']),
            Group(_('Print quota for groups'), layout=['quotaGroups']),
        ]),
    policy_object_tab(),
]
コード例 #16
0
    'logoutScripts':
    univention.admin.property(short_description=_('Logout scripts'),
                              long_description='',
                              syntax=univention.admin.syntax.string,
                              multivalue=True,
                              options=[],
                              required=False,
                              may_change=True,
                              identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=desktopFixedAttributes),
        emptyAttributesProperty(syntax=desktopFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Desktop settings'),
        layout=[
            Group(_('General desktop settings'),
                  layout=[
                      'name',
                      'language',
                      'profile',
                      ['logonScripts', "logoutScripts"],
                  ]),
        ]),
コード例 #17
0
	'boot_filename': univention.admin.property(
		short_description=_('Boot filename'),
		long_description=_('Initial boot file to be loaded by a client'),
		syntax=univention.admin.syntax.string,
		multivalue=False,
		options=[],
		required=False,
		may_change=True,
		identifies=False
	),
}
property_descriptions.update(dict([
	requiredObjectClassesProperty(),
	prohibitedObjectClassesProperty(),
	fixedAttributesProperty(syntax=dhcp_bootFixedAttributes),
	emptyAttributesProperty(syntax=dhcp_bootFixedAttributes),
	ldapFilterProperty(),
]))

layout = [
	Tab(_('Boot'), _('Boot settings'), layout=[
		Group(_('General DHCP boot settings'), layout=[
			'name',
			['boot_server', 'boot_filename']
		]),
	]),
	policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #18
0
    univention.admin.property(short_description=_('Print server'),
                              long_description='',
                              syntax=univention.admin.syntax.ServicePrint_FQDN,
                              multivalue=False,
                              include_in_default_search=True,
                              options=[],
                              required=False,
                              may_change=True,
                              identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=printServerFixedAttributes),
        emptyAttributesProperty(syntax=printServerFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Basic settings'),
        layout=[
            Group(_('General print server settings'),
                  layout=['name', 'printServer']),
        ]),
    policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #19
0
    univention.admin.property(
        short_description=_('NetBIOS node type'),
        long_description=_('The node type of clients for NetBIOS over TCP/IP'),
        syntax=univention.admin.syntax.netbiosNodeType,
        multivalue=False,
        options=[],
        required=False,
        may_change=True,
        identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=dhcp_netbiosFixedAttributes),
        emptyAttributesProperty(syntax=dhcp_netbiosFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('Netbios'),
        _('SMB/CIFS name resolution'),
        layout=[
            Group(_('General DHCP NetBIOS settings'),
                  layout=[
                      'name',
                      'netbios_name_servers',
                      ['netbios_scope', 'netbios_node_type'],
                  ]),
        ]),
    policy_object_tab()
コード例 #20
0
		syntax=univention.admin.syntax.Hour,
		multivalue=True,
	),
	'minute': univention.admin.property(
		short_description=_('Minute'),
		long_description='',
		syntax=univention.admin.syntax.Minute,
		multivalue=True,
	),

}
property_descriptions.update(dict([
	requiredObjectClassesProperty(),
	prohibitedObjectClassesProperty(),
	fixedAttributesProperty(syntax=maintenanceFixedAttributes),
	emptyAttributesProperty(syntax=maintenanceFixedAttributes),
	ldapFilterProperty(),
]))

layout = [
	Tab(_('General'), _('Maintenance settings'), layout=[
		Group(_('General maintenance settings'), layout=[
			'name',
			'startup',
			'shutdown',
			'cron',
			'reboot',
			['month', 'weekday'],
			['day', 'hour'],
			'minute'
		]),
コード例 #21
0
		may_change=False,
		identifies=True,
	),
	'registry': univention.admin.property(
		short_description=_('Configuration Registry'),
		long_description='',
		syntax=univention.admin.syntax.UCR_Variable,
		multivalue=True,
	),

}
property_descriptions.update(dict([
	requiredObjectClassesProperty(),
	prohibitedObjectClassesProperty(),
	fixedAttributesProperty(syntax=registryFixedAttributes),
	emptyAttributesProperty(syntax=registryFixedAttributes),
	ldapFilterProperty(),
]))

layout = [
	Tab(_('General'), _('These configuration settings will be set on the local UCS system.'), layout=[
		Group(_('General Univention Configuration Registry settings'), layout=[
			'name',
			'registry',
		]),
	]),
	policy_object_tab()
]

mapping = univention.admin.mapping.mapping()
mapping.register('name', 'cn', None, univention.admin.mapping.ListToString)
コード例 #22
0
    univention.admin.property(
        short_description=_('Available Univention Directory Manager modules'),
        long_description='',
        syntax=univention.admin.syntax.univentionAdminModules,
        multivalue=True,
        options=[],
        required=False,
        may_change=True,
        identifies=False),
}
property_descriptions.update(
    dict([
        requiredObjectClassesProperty(),
        prohibitedObjectClassesProperty(),
        fixedAttributesProperty(syntax=adminFixedAttributes),
        emptyAttributesProperty(syntax=adminFixedAttributes),
        ldapFilterProperty(),
    ]))

layout = [
    Tab(_('General'),
        _('Univention Directory Manager settings'),
        layout=[
            Group(_('General Univention Directory Manager container settings'),
                  layout=[
                      'name',
                      'listModules',
                  ]),
        ]),
    policy_object_tab(),
]