univention package#
Subpackages#
- univention.admin package
extended_attributeoptionpattern_replace()policiesGrouppropertyucr_overwrite_layout()ucr_overwrite_module_layout()ucr_overwrite_properties()- Subpackages
- univention.admin.authorization package
AuthorizationAuthorization.global_enabledAuthorization.engineAuthorization.get_privileged_connection()Authorization.enable()Authorization.inject_ldap_connection()Authorization.get_authz_connection()Authorization.loAuthorization.clear_caches()Authorization.is_receive_allowed()Authorization.filter_object_properties()Authorization.filter_search_results_dn()Authorization.filter_search_results_attrs()Authorization.filter_search_results()Authorization.is_create_allowed()Authorization.is_restore_allowed()Authorization.is_modify_allowed()Authorization.is_rename_allowed()Authorization.is_move_allowed()Authorization.is_remove_allowed()Authorization.object_exists()Authorization.is_report_create_allowed()
- Submodules
- univention.admin.authorization.config module
- univention.admin.handlers package
disable_ad_restrictions()simpleLdapsimpleLdap.modulesimpleLdap.use_performant_ldap_search_filtersimpleLdap.ldap_basesimpleLdap.default_containers_attribute_namesimpleLdap.authzsimpleLdap.set_lo_machine_primary()simpleLdap.lo_machine_primarysimpleLdap.descriptionssimpleLdap.entry_uuidsimpleLdap.object_identifiersimpleLdap.save()simpleLdap.diff()simpleLdap.hasChanged()simpleLdap.ready()simpleLdap.has_property()simpleLdap.get()simpleLdap.keys()simpleLdap.items()simpleLdap.create()simpleLdap.modify()simpleLdap.move()simpleLdap.move_subelements()simpleLdap.restore()simpleLdap.restore_references()simpleLdap.remove()simpleLdap.get_gid_for_primary_group()simpleLdap.get_sid_for_primary_group()simpleLdap.exists()simpleLdap.call_udm_property_hook()simpleLdap.open()simpleLdap.option_toggled()simpleLdap.policy_reference()simpleLdap.policy_dereference()simpleLdap.policiesChanged()simpleLdap.description()simpleLdap.set_default_values()simpleLdap.loadPolicyObject()simpleLdap.closePolicyObjects()simpleLdap.savePolicyObjects()simpleLdap.cancel()simpleLdap.request_lock()simpleLdap.request_unique()simpleLdap.get_default_containers()simpleLdap.lookup()simpleLdap.lookup_filter()simpleLdap.lookup_filter_superordinate()simpleLdap.unmapped_lookup_filter()simpleLdap.rewrite_filter()simpleLdap.identify()
simpleComputersimplePolicy- Subpackages
- univention.admin.handlers.appcenter package
- univention.admin.handlers.blocklists package
- univention.admin.handlers.computers package
- Submodules
- univention.admin.handlers.computers.computer module
- univention.admin.handlers.computers.domaincontroller_backup module
- univention.admin.handlers.computers.domaincontroller_master module
- univention.admin.handlers.computers.domaincontroller_slave module
- univention.admin.handlers.computers.ipmanagedclient module
- univention.admin.handlers.computers.linux module
- univention.admin.handlers.computers.macos module
- univention.admin.handlers.computers.memberserver module
- univention.admin.handlers.computers.trustaccount module
- univention.admin.handlers.computers.ubuntu module
- univention.admin.handlers.computers.windows module
- univention.admin.handlers.computers.windows_domaincontroller module
- univention.admin.handlers.container package
- univention.admin.handlers.dhcp package
- Submodules
- univention.admin.handlers.dhcp.dhcp module
- univention.admin.handlers.dhcp.host module
- univention.admin.handlers.dhcp.pool module
- univention.admin.handlers.dhcp.server module
- univention.admin.handlers.dhcp.service module
- univention.admin.handlers.dhcp.shared module
- univention.admin.handlers.dhcp.sharedsubnet module
- univention.admin.handlers.dhcp.subnet module
- univention.admin.handlers.dns package
is_dns()is_zone()is_reverse_zone()is_forward_zone()has_any()is_not_handled_by_other_module_than()DNSBasemakeContactPerson()unescapeSOAemail()escapeSOAemail()stripDot()- Submodules
- univention.admin.handlers.dns.alias module
- univention.admin.handlers.dns.dns module
- univention.admin.handlers.dns.forward_zone module
- univention.admin.handlers.dns.host_record module
- univention.admin.handlers.dns.ns_record module
- univention.admin.handlers.dns.ptr_record module
- univention.admin.handlers.dns.reverse_zone module
- univention.admin.handlers.dns.srv_record module
- univention.admin.handlers.dns.txt_record module
- univention.admin.handlers.groups package
- univention.admin.handlers.kerberos package
- univention.admin.handlers.mail package
- univention.admin.handlers.ms package
- univention.admin.handlers.nagios package
- univention.admin.handlers.networks package
- univention.admin.handlers.policies package
- Submodules
- univention.admin.handlers.policies.admin_container module
- univention.admin.handlers.policies.desktop module
- univention.admin.handlers.policies.dhcp_boot module
- univention.admin.handlers.policies.dhcp_dns module
- univention.admin.handlers.policies.dhcp_dnsupdate module
- univention.admin.handlers.policies.dhcp_leasetime module
- univention.admin.handlers.policies.dhcp_netbios module
- univention.admin.handlers.policies.dhcp_routing module
- univention.admin.handlers.policies.dhcp_scope module
- univention.admin.handlers.policies.dhcp_statements module
- univention.admin.handlers.policies.ldapserver module
- univention.admin.handlers.policies.maintenance module
- univention.admin.handlers.policies.masterpackages module
- univention.admin.handlers.policies.memberpackages module
- univention.admin.handlers.policies.nfsmounts module
- univention.admin.handlers.policies.policy module
- univention.admin.handlers.policies.printserver module
- univention.admin.handlers.policies.pwhistory module
- univention.admin.handlers.policies.recyclebin module
- univention.admin.handlers.policies.registry module
- univention.admin.handlers.policies.release module
- univention.admin.handlers.policies.repositoryserver module
- univention.admin.handlers.policies.repositorysync module
- univention.admin.handlers.policies.share_userquota module
- univention.admin.handlers.policies.slavepackages module
- univention.admin.handlers.policies.umc module
- univention.admin.handlers.recyclebin package
- univention.admin.handlers.settings package
- Submodules
- univention.admin.handlers.settings.cn module
- univention.admin.handlers.settings.console_helpdesk module
- univention.admin.handlers.settings.data module
- univention.admin.handlers.settings.default module
- univention.admin.handlers.settings.directory module
- univention.admin.handlers.settings.extended_attribute module
- univention.admin.handlers.settings.extended_options module
- univention.admin.handlers.settings.ldapacl module
- univention.admin.handlers.settings.ldapschema module
- univention.admin.handlers.settings.license module
- univention.admin.handlers.settings.lock module
- univention.admin.handlers.settings.msprintconnectionpolicy module
- univention.admin.handlers.settings.mswmifilter module
- univention.admin.handlers.settings.packages module
- univention.admin.handlers.settings.printermodel module
- univention.admin.handlers.settings.printeruri module
- univention.admin.handlers.settings.prohibited_username module
- univention.admin.handlers.settings.sambaconfig module
- univention.admin.handlers.settings.sambadomain module
- univention.admin.handlers.settings.service module
- univention.admin.handlers.settings.settings module
- univention.admin.handlers.settings.syntax module
- univention.admin.handlers.settings.udm_hook module
- univention.admin.handlers.settings.udm_module module
- univention.admin.handlers.settings.udm_syntax module
- univention.admin.handlers.settings.umc_operationset module
- univention.admin.handlers.settings.usertemplate module
- univention.admin.handlers.shares package
- univention.admin.handlers.test package
- univention.admin.handlers.users package
- univention.admin.rest package
- Subpackages
- Submodules
- univention.admin.rest.async_client module
HTTPErrorBadRequestUnauthorizedForbiddenNotFoundPreconditionFailedUnprocessableEntityServerErrorServiceUnavailableConnectionErrorUnexpectedResponseResponseSessionSession.languageSession.credentialsSession.reconnectSession.user_agentSession.enable_cachingSession.default_headersSession.sessionSession.create_session()Session.get_method()Session.request()Session.make_request()Session.eval_response()Session.get_relations()Session.get_relation()Session.resolve_relations()Session.resolve_relation()
ClientUDMModuleModule.udmModule.uriModule.usernameModule.passwordModule.nameModule.titleModule.relationsModule.load_relations()Module.new()Module.get()Module.get_by_entry_uuid()Module.get_by_id()Module.search()Module.get_layout()Module.get_properties()Module.get_property_choices()Module.policy_result()Module.get_report_types()Module.create_report()
ShallowObjectReferencesObjectObject.moduleObject.object_typeObject.dnObject.propertiesObject.optionsObject.policiesObject.superordinateObject.positionObject.uriObject.from_response()Object.from_data()Object.udmObject.representationObject.halObject.etagObject.last_modifiedObject.reload()Object.save()Object.json_patch()Object.delete()Object.restore()Object.move()Object.generate_service_specific_password()Object.get_layout()Object.get_properties()Object.get_property_choices()Object.policy_result()
PatchDocument
- univention.admin.rest.hal module
- univention.admin.rest.html_ui module
HTMLHTML.head_templateHTML.template_vars()HTML.content_negotiation_html()HTML.get_html()HTML.get_error_html()HTML.get_html_layout()HTML.render_layout()HTML.get_html_form()HTML.render_form_field()HTML.get_html_button()HTML.add_form()HTML.add_form_element()HTML.add_button()HTML.add_layout()HTML.sanitize_html_id()HTML.bread_crumbs_navigation()HTML.render_template()
- univention.admin.rest.http_conditional module
last_modified()ConditionalResourceConditionalResource.set_entity_tags()ConditionalResource.get_etag()ConditionalResource.modified_from_timestamp()ConditionalResource.check_conditional_requests()ConditionalResource.check_conditional_request_modified_since()ConditionalResource.check_conditional_request_unmodified_since()ConditionalResource.check_conditional_request_etag()
- univention.admin.rest.ldap_connection module
- univention.admin.rest.module module
ResourceBaseResourceBase.poolResourceBase.pool_submit()ResourceBase.pool_wrapper()ResourceBase.requires_authenticationResourceBase.debug_mode_enabledResourceBase.force_authorization()ResourceBase.set_default_headers()ResourceBase.prepare()ResourceBase.parse_authorization()ResourceBase.ldap_write_connectionResourceBase.get_module()ResourceBase.get_module_object()ResourceBase.get_object_by_dn()ResourceBase.get_object()ResourceBase.check_acceptable()ResourceBase.decode_request_arguments()ResourceBase.decode_form_arguments()ResourceBase.get_body_argument()ResourceBase.get_body_arguments()ResourceBase.content_negotiation()ResourceBase.content_negotiation_json()ResourceBase.get_json()ResourceBase.urljoin()ResourceBase.abspath()ResourceBase.log_exception()ResourceBase.write_error()ResourceBase.add_caching()ResourceBase.vary()ResourceBase.get_parent_object_type()
ResourceNothingFaviconRelationsOpenAPIModulesDirectoryObjectTypesSubObjectTypesLdapBaseLdapAttributeUnmapObjectLinkObjectByUiidContainerQueryBaseTreeMoveDestinationsPropertiesLayoutReportingBaseReportNextFreeIpAddressFormBaseObjectsObjectsMoveObjectObjectRestoreUserPhotoObjectAddObjectCopyObjectEditObjectMultiEditDefaultContainersPropertyChoicesPolicyResultBasePolicyResultPolicyResultContainerOperationsLicenseRequestLicenseCheckLicenseLicenseImportServiceSpecificPasswordApplication
- univention.admin.rest.openapi module
- univention.admin.rest.sanitizer module
ParamPathBodyQueryPayloadJSONPayloadBase64EncodingSanitizerPatchDocumentPatchRepresentationsanitize()PatchDocumentSanitizerPatchRepresentationSanitizerDictSanitizerQueryStringSanitizerObjectPropertySanitizerPropertiesSanitizerPropertySanitizerBoolSanitizerLDAPFilterSanitizerDNSanitizerSanitizerBase
- univention.admin.rest.shared_memory module
- univention.admin.rest.utils module
- univention.admin.authorization package
- Submodules
- univention.admin.allocators module
- univention.admin.appcenter module
- univention.admin.blocklist module
- univention.admin.certificate module
- univention.admin.config module
- univention.admin.cron module
- univention.admin.filter module
- univention.admin.guardian_roles module
- univention.admin.hook module
import_hook_files()simpleHooksimpleHook.typesimpleHook.hook_open()simpleHook.hook_ldap_pre_create()simpleHook.hook_ldap_addlist()simpleHook.hook_ldap_post_create()simpleHook.hook_ldap_pre_modify()simpleHook.hook_ldap_modlist()simpleHook.hook_ldap_post_modify()simpleHook.hook_ldap_pre_remove()simpleHook.hook_ldap_post_remove()
AttributeHook
- univention.admin.layout module
- univention.admin.license module
ldap_filter_not_objectflag()LicenseLicense.ACCOUNTLicense.CLIENTLicense.DESKTOPLicense.GROUPWARELicense.USERSLicense.SERVERSLicense.MANAGEDCLIENTSLicense.CORPORATECLIENTSLicense.VIRTUALDESKTOPUSERSLicense.VIRTUALDESKTOPCLIENTSLicense.SYSACCOUNTSLicense.select()License.isValidFor()License.modifyOptions()License.checkModules()License.compare()License.set_values()License.init_select()License.checkObjectCounts()
select()init_select()is_valid_for()
- univention.admin.license_data module
- univention.admin.localization module
- univention.admin.locking module
- univention.admin.log module
- univention.admin.mapping module
MapToBytes()UnmapToUnicode()DaysToSeconds()SecondsToDays()StringToLower()ListUniq()ListToString()ListToIntToString()ListToLowerString()ListToLowerList()ListToLowerListUniq()nothing()IgnoreNone()unmapUNIX_TimeInterval()mapUNIX_TimeInterval()unmapBase64()mapBase64()BooleanListToString()BooleanUnMap()dontMapmappingmapCmp()mapDict()mapList()mapDiff()mapDiffAl()mapRewrite()
- univention.admin.modules module
UdmModuleUdmModule.moduleUdmModule.childsUdmModule.childmodulesUdmModule.operationsUdmModule.short_descriptionUdmModule.object_nameUdmModule.object_name_pluralUdmModule.long_descriptionUdmModule.optionsUdmModule.property_descriptionsUdmModule.default_property_descriptionsUdmModule.policy_apply_toUdmModule.policy_position_dn_prefixUdmModule.policy_ocUdmModule.docleanupUdmModule.layoutUdmModule.mappingUdmModule.initializedUdmModule.extended_attribute_tabnamesUdmModule.extended_udm_attributesUdmModule.objectUdmModule.identify()UdmModule.lookup()UdmModule.lookup_filter()
modulesupdate()get()init()update_extended_options()EA_Layoutupdate_extended_attributes()identify()identifyOne()recognize()name()superordinate_names()superordinate_name()superordinate()superordinates()subordinates()find_superordinate()layout()options()attributes()short_description()policy_short_description()long_description()childs()virtual()lookup()isSuperordinate()isContainer()isPolicy()defaultPosition()supports()objectType()objectShadowType()findObject()policyOc()policiesGroup()policies()policyTypes()policyPositionDnPrefix()defaultContainers()childModules()
- univention.admin.nagios module
addPropertiesMappingOptionsAndLayout()SupportSupport.nagiosGetAssignedServices()Support.nagios_open()Support.nagios_ldap_modlist()Support.nagios_ldap_pre_modify()Support.nagios_ldap_pre_create()Support.nagiosModifyServiceList()Support.nagiosRemoveHostFromServices()Support.nagiosRemoveHostFromParent()Support.nagios_ldap_post_modify()Support.nagios_ldap_post_create()Support.nagios_ldap_post_remove()Support.nagios_cleanup()
- univention.admin.objects module
- univention.admin.password module
- univention.admin.policy module
- univention.admin.recyclebin module
- univention.admin.samba module
- univention.admin.syntax module
import_syntax_files()update_choices()is_syntax()ClassPropertySIZESISyntaxISyntax.sizeISyntax.type_classISyntax.type_class_multivalueISyntax.nameISyntax.typeISyntax.tostring()ISyntax.parse_command_line()ISyntax.new()ISyntax.any()ISyntax.get_choices()ISyntax.sort_choices()ISyntax.widgetISyntax.search_widgetISyntax.widget_default_search_patternISyntax.get_widget()ISyntax.get_widget_options()ISyntax.get_widget_choices_options()ISyntax.get_object_property_filter()
simpleselectcomboboxMultiSelectcomplexcomplex.delimitercomplex.min_elementscomplex.all_requiredcomplex.subsyntaxescomplex.subsyntax_namescomplex.subsyntax_key_valuecomplex.get_widget()complex.widgetcomplex.widget_multivaluecomplex.widget_default_search_patterncomplex.parse()complex.fromdict()complex.todict()complex.type_classcomplex.type_class_multivaluecomplex.tostring()complex.new()complex.any()complex.parse_command_line()
UDM_ObjectsUDM_Objects.udm_modulesUDM_Objects.udm_filterUDM_Objects.keyUDM_Objects.labelUDM_Objects.regexUDM_Objects.static_valuesUDM_Objects.empty_valueUDM_Objects.dependsUDM_Objects.error_messageUDM_Objects.simpleUDM_Objects.use_objectsUDM_Objects.widget_default_search_patternUDM_Objects.widgetUDM_Objects.widget_advanced_multivalueUDM_Objects.get_widget()UDM_Objects.type_classUDM_Objects.parse()UDM_Objects.get_choices()UDM_Objects.get_widget_choices_options()
UDM_AttributeUDM_Attribute.udm_moduleUDM_Attribute.udm_filterUDM_Attribute.attributeUDM_Attribute.is_complexUDM_Attribute.key_indexUDM_Attribute.label_indexUDM_Attribute.label_formatUDM_Attribute.regexUDM_Attribute.static_valuesUDM_Attribute.empty_valueUDM_Attribute.dependsUDM_Attribute.error_messageUDM_Attribute.widgetUDM_Attribute.widget_default_search_patternUDM_Attribute.parse()UDM_Attribute.get_choices()UDM_Attribute.get_widget_choices_options()
nonestringstring64UUIDOneThirdStringstring6HalfStringTwoThirdsStringFourThirdsStringOneAndAHalfStringFiveThirdsStringTwoStringTextAreaEditorTwoEditorUCSVersionDebianPackageVersionBaseFilenameUploadBase64GzipTextBase64Bzip2TextBase64UploadBase64BaseUploadjpegPhotoBase64Bzip2XMLBase64UMCIconGNUMessageCatalogLocalesubdirnameUMCMessageCatalogFilenameLocalesubdirname_and_GNUMessageCatalogUMCMessageCatalogFilename_and_GNUMessageCatalogUMCMessageCatalogFilename_and_GNUMessageCatalog.delimiterUMCMessageCatalogFilename_and_GNUMessageCatalog.subsyntaxesUMCMessageCatalogFilename_and_GNUMessageCatalog.subsyntax_key_valueUMCMessageCatalogFilename_and_GNUMessageCatalog.all_requiredUMCMessageCatalogFilename_and_GNUMessageCatalog.multivalue
integerintegerOrEmptybooleanAppActivatedBooleanfilesizemail_folder_namemail_folder_typestring_numbers_letters_dotsstring_numbers_letters_dots_spacesphoneIA5stringuiduid_umlautsuid_umlauts_lower_except_first_lettergidsharePathpasswduserPasswdhostNamewindowsHostNameipv4AddressipAddresshostOrIPv4netmasknetmaskipnetworkIP_AddressRangeIPv4_AddressRangeipProtocolipProtocolSRVabsolutePathemailForwardSettingemailAddressemailAddressThatMayEndWithADotemailAddressTemplateemailAddressValidDomainemailAddressValidDomain.nameemailAddressValidDomain.errMsgDomainemailAddressValidDomain.type_classemailAddressValidDomain.udm_modulesemailAddressValidDomain.keyemailAddressValidDomain.labelemailAddressValidDomain.simpleemailAddressValidDomain.empty_valueemailAddressValidDomain.regexemailAddressValidDomain.error_messageemailAddressValidDomain.widget_default_search_patternemailAddressValidDomain.search_widgetemailAddressValidDomain.parse()emailAddressValidDomain.get_widget()emailAddressValidDomain.checkLdap()
primaryEmailAddressValidDomainMailDomainiso8601Datedatedate2reverseLookupSubnetreverseLookupZoneNamednsNameDNS_NamednsZonednsHostnamednsName_umlautskeyAndValuednsMXdnsSRVNamednsPTRpostalAddressdnsSRVLocationunixTimeTimeUnitsTimeStringUNIX_TimeIntervalUNIX_BoundedTimeIntervalSambaMinPwdAgeSambaMaxPwdAgeNetworkTypeMAC_AddressDHCP_HardwareAddressPackagesPackagesRemoveuserAttributeListldapDnUMC_OperationSetUMC_CommandPatternLDAP_ServerIMAP_POP3IMAP_RightUserMailAddressGroupNameUserNameSharedFolderUserACLSharedFolderGroupACLSharedFolderSimpleUserACLSharedFolderSimpleGroupACLldapDnOrNoneldapObjectClassldapAttributeldapFilterXResolutionXSyncXColorDepthXModuleXMouseProtocolXDisplayPositionXMouseDeviceXKeyboardLayoutsoundModuleGroupDNGroupDNOrEmptyUserDNHostDNUserIDGroupIDPortalComputerIComputer_FQDNDomainControllerWindows_ServerUCS_ServerServicePrint_FQDNMailHomeServerKDE_ProfileprimaryGroupprimaryGroup2networkIP_AddressListIP_AddressListEmptyMAC_AddressListDNS_ForwardZoneDNS_ReverseZoneDNS_ReverseZoneNonemptyDNS_ForwardZoneNonemptydnsEntrydnsEntryReverseDNS_ForwardZoneListdnsEntryAliasdhcpServicedhcpEntryDHCP_OptionWritableShareAllowDenyIgnoreIStatesAllowDenybooleanNoneauto_one_zeroTrueFalseTrueFalseUpperTrueFalseUpAppActivatedTrueOkOrNotAppActivatedOKddnsUpdateStyleddnsUpdatesnetbiosNodeTypekdeProfilelanguageMonthWeekdayDayHourHourSimpleMinuteMinuteSimpleUNIX_AccessRightUNIX_AccessRight_extendedsambaGroupTypeadGroupTypeSambaLogonHoursSambaPrivilegesUCSServerRoleServiceMailServicePrintServicenfssyncRecycleBinSupportedModulesRecycleBinReferenceuniventionAdminModulesUDM_PropertySelectlistAttributestimeSpecoptionsUsersUserallModuleOptionsnagiosHostsEnabledDnnagiosServiceDnUCR_VariableLDAP_SearchLDAP_Search.FILTER_PATTERNLDAP_Search.baseLDAP_Search.valueLDAP_Search.viewonlyLDAP_Search.addEmptyValueLDAP_Search.appendEmptyValueLDAP_Search.get_widget()LDAP_Search.search_widgetLDAP_Search.parse()LDAP_Search.get_choices()LDAP_Search.get_umc_choices()LDAP_Search.sort_choices()LDAP_Search.get_widget_choices_options()
nfsSharenfsMountslanguageCodetranslationTupletranslationTupleShortDescriptiontranslationTupleLongDescriptiontranslationTupleTabNameI18N_GroupNamedisabledlockedPrintersPrinterNamesPrintQuotaGroupPrintQuotaGroupPerUserPrintQuotaUserprinterNameprinterModelPrinterDriverListPrinterProducerListPrinterProtocolPrinterURIpolicyNameAuthRestrictionPortalFontColorPortalDefaultLinkTargetPortalEntryLinkTargetLocalizedDisplayNameLocalizedDescriptionLocalizedAnonymousEmptymailHomeServerhostname_or_ipadress_or_networkObjectFlagExampleSyntaxSignedIntegerCountryRadiusClientTypemailinglist_nameTimeZoneDateTimeTimezoneGeneralizedTimeUTCActivationDateTimeTimezoneUDM_SyntaxVFSObjectsGuardianRole
- univention.admin.types module
TypeHintTypeHint.decode()TypeHint.encode()TypeHint.decode_json()TypeHint.encode_json()TypeHint.to_json_type()TypeHint.from_json_type()TypeHint.decode_value()TypeHint.encode_value()TypeHint.type_check()TypeHint.type_check_json()TypeHint.type_check_subitems()TypeHint.tostring()TypeHint.parse_command_line()TypeHint.get_openapi_definition()TypeHint.openapi_definition()TypeHint.get_choices()TypeHint.has_choices()TypeHint.detect()
NoneTypeBooleanTypeTriBooleanTypeIntegerTypeNumberTypeStringTypeBase64TypeUUIDPasswordTypeDistinguishedNameTypeLDAPFilterTypeEMailAddressTypeBinaryTypeDateTypeTimeTypeDateTimeTypeArrayTypeListTypeSetTypeListOfItemsDictionaryTypeKeyValueDictionaryTypeSambaLogonHoursAppcenterTranslationUnixTimeinterval
- univention.admin.uexceptions module
baseobjectExistsnoObjectpermissionDeniedldapErrorldapTimeoutldapSizelimitExceededinsufficientInformationnoSuperordinatenoPropertyvalueErrorvalueMayNotChangevalueInvalidSyntaxvalueRequiredvalueMismatchnoLockauthFailuidAlreadyUsedsidAlreadyUsedgroupNameAlreadyUseduidNumberAlreadyUsedAsGidNumbergidNumberAlreadyUsedAsUidNumberadGroupTypeChangeLocalToAnyadGroupTypeChangeToLocaladGroupTypeChangeGlobalToUniversaladGroupTypeChangeDomainLocalToUniversaladGroupTypeChangeUniversalToGlobaladGroupTypeChangeGlobalToDomainLocaladGroupTypeChangeDomainLocalToGlobalprohibitedUsernameipAlreadyUseddnsAliasAlreadyUsedinvalidDhcpEntryinvalidDNSAliasEntryInvalidDNS_InformationnextFreeIpipOverridesNetworkmacAlreadyUsedmailAddressUseddhcpServerAlreadyUsedkolabHomeServerprimaryGroupprimaryGroupUsedhomeShareUsedgroupNotFounddhcpNotFounddnsNotFoundcommonNameTooLongmissingInformationpolicyFixedAttributebootpXORFailoverlicenseNotFoundlicenseInvalidlicenseExpiredlicenseWrongBaseDnlicenseCoreEditionfreeForPersonalUselicenseAccountslicenseClientslicenseDesktopslicenseGroupwarelicenseUserslicenseServerslicenseManagedClientslicenseCorporateClientslicenseDVSUserslicenseDVSClientslicenseDisableModifypwalreadyusedpasswordLengthrangeNotInNetworkrangeInNetworkAddressrangeInBroadcastAddressrangesOverlappinginvalidOptionspwToShortpwQualityinvalidOperationrestoreFailedemptyPrinterGroupleavePrinterGroupnotValidPrinternotValidGroupnotValidUsertemplateSyntaxErrornagiosARecordRequirednagiosDNSForwardZoneEntryRequireddnsAliasRecordExistscircularGroupDependencyinvalidChildprimaryGroupWithoutSambawrongObjectTypenoKerberosRealmalreadyUsedInSubtree
- univention.admin.uldap module
DNaccessaccess.binddnaccess.bindpwaccess.hostaccess.portaccess.baseaccess.start_tlsaccess.authz_connectionaccess.bind()access.bind_saml()access.bind_oauthbearer()access.unbind()access.whoami()access.requireLicense()access.get_schema()access.compare_dn()access.get()access.getAttr()access.search()access.searchDn()access.getPolicies()access.add()access.modify()access.rename()access.delete()access.parentDn()access.explodeDn()access.filter_lookup_results()access.search_filtered()access.search_dn_filtered()
domainexplodeDn()getAdminConnection()getBaseDN()getMachineConnection()position
- univention.admincli package
- univention.admindiary package
get_events_to_reject()get_logger()DiaryEntry- Submodules
- univention.admindiary.backend module
- univention.admindiary.client module
- univention.admindiary.events module
- univention.appcenter package
- Subpackages
- univention.appcenter.actions package
possible_network_error()StoreAppActionUniventionAppActionMetaUniventionAppActionUniventionAppAction.parent_loggerUniventionAppAction.get_action_name()UniventionAppAction.debug()UniventionAppAction.log()UniventionAppAction.warn()UniventionAppAction.fatal()UniventionAppAction.log_exception()UniventionAppAction.setup_parser()UniventionAppAction.percentageUniventionAppAction.call_safe()UniventionAppAction.call()UniventionAppAction.call_with_namespace()
get_action()all_actions()- Submodules
- univention.appcenter.actions.configure module
- univention.appcenter.actions.credentials module
- univention.appcenter.actions.domain module
- univention.appcenter.actions.get module
- univention.appcenter.actions.info module
- univention.appcenter.actions.install module
- univention.appcenter.actions.install_base module
- univention.appcenter.actions.list_apps module
- univention.appcenter.actions.pin module
- univention.appcenter.actions.register module
- univention.appcenter.actions.remove module
- univention.appcenter.actions.stall module
- univention.appcenter.actions.update module
- univention.appcenter.actions.update_certificates module
- univention.appcenter.actions.update_check module
- univention.appcenter.actions.upgrade module
- univention.appcenter.actions.upgrade_search module
- univention.appcenter.actions package
- Submodules
- univention.appcenter.app module
LooseVersionCaseSensitiveConfigParserRequirementhard_requirement()soft_requirement()AppAttributeAppAttribute.save_as_listAppAttribute.auto_set_nameAppAttribute.test_regex()AppAttribute.test_choices()AppAttribute.test_required()AppAttribute.test_type()AppAttribute.test()AppAttribute.parse()AppAttribute.get_value()AppAttribute.post_creation()AppAttribute.parse_with_ini_file()AppAttribute.get()
AppComponentIDAttributeAppUCSVersionAttributeAppBooleanAttributeAppIntAttributeAppListAttributeAppFromFileAttributeAppRatingAttributeAppLocalisedListAttributeAppLocalisedAppCategoriesAttributeAppAttributeOrFalseOrNoneAppAttributeOrTrueOrNoneAppFileAttributeAppDockerScriptAttributeAppMetaClassAppApp.idApp.codeApp.component_idApp.nameApp.versionApp.install_permissionsApp.install_permissions_messageApp.descriptionApp.long_descriptionApp.thumbnailsApp.categoriesApp.app_categoriesApp.websiteApp.support_urlApp.contactApp.vendorApp.website_vendorApp.maintainerApp.website_maintainerApp.licenseApp.license_agreementApp.readmeApp.readme_installApp.readme_post_installApp.readme_updateApp.readme_post_updateApp.readme_uninstallApp.readme_post_uninstallApp.notify_vendorApp.notification_emailApp.web_interfaceApp.web_interface_nameApp.web_interface_port_httpApp.web_interface_port_httpsApp.web_interface_proxy_schemeApp.ucs_overview_categoryApp.background_colorApp.web_interface_link_targetApp.databaseApp.database_nameApp.database_userApp.database_password_fileApp.docker_env_database_hostApp.docker_env_database_portApp.docker_env_database_nameApp.docker_env_database_userApp.docker_env_database_passwordApp.docker_env_database_password_fileApp.plugin_ofApp.conflicted_appsApp.required_appsApp.required_apps_in_domainApp.conflicted_system_packagesApp.required_ucs_versionApp.supported_ucs_versionsApp.required_app_version_upgradeApp.end_of_lifeApp.without_repositoryApp.default_packagesApp.default_packages_masterApp.additional_packages_masterApp.additional_packages_backupApp.additional_packages_slaveApp.additional_packages_memberApp.settingsApp.ratingApp.umc_module_nameApp.umc_module_flavorApp.user_activation_requiredApp.generic_user_activationApp.generic_user_activation_attributeApp.generic_user_activation_optionApp.umc_options_attributesApp.automatic_schema_creationApp.docker_env_ldap_userApp.ports_exclusiveApp.ports_redirection_udpApp.server_roleApp.min_physical_ramApp.shop_urlApp.ad_member_issue_hideApp.ad_member_issue_passwordApp.app_report_object_typeApp.app_report_object_filterApp.app_report_object_attributeApp.app_report_attribute_typeApp.app_report_attribute_filterApp.docker_imageApp.docker_inject_env_fileApp.docker_main_serviceApp.docker_migration_worksApp.docker_migration_linkApp.docker_allowed_imagesApp.docker_shell_commandApp.docker_volumesApp.docker_server_roleApp.docker_script_initApp.docker_script_setupApp.docker_script_store_dataApp.docker_script_restore_data_before_setupApp.docker_script_restore_data_after_setupApp.docker_script_update_availableApp.docker_script_update_packagesApp.docker_script_update_releaseApp.docker_script_update_app_versionApp.docker_script_configureApp.docker_ucr_style_envApp.docker_tmpfsApp.host_certificate_accessApp.listener_udm_modulesApp.listener_udm_versionApp.vote_for_appApp.ucs_versionApp.min_free_disk_spaceApp.supported_architecturesApp.auto_mod_proxyApp.ports_redirectionApp.attrs_dict()App.install_permissions_exist()App.get_docker_image_name()App.get_docker_images()App.has_local_web_interface()App.license_descriptionApp.from_ini()App.dockerApp.uses_docker_compose()App.ucr_status_keyApp.ucr_autoinstalled_keyApp.ucr_version_keyApp.ucr_ucs_version_keyApp.ucr_upgrade_keyApp.ucr_container_keyApp.ucr_hostdn_keyApp.ucr_image_keyApp.ucr_docker_params_keyApp.ucr_ip_keyApp.ucr_ports_keyApp.ucr_component_keyApp.ucr_pinned_keyApp.get_attr()App.get_packages()App.supports_ucs_version()App.is_installed()App.is_ucs_component()App.get_share_dir()App.get_share_file()App.get_data_dir()App.get_conf_dir()App.get_conf_file()App.get_compose_dir()App.get_compose_file()App.get_ucs_version()App.get_locale()App.get_server()App.get_cache_dir()App.get_app_cache_obj()App.set_app_cache_obj()App.get_cache_file()App.get_ini_file()App.logo_nameApp.logo_detail_page_nameApp.secret_on_hostApp.get_thumbnail_urls()App.get_localised()App.get_localised_list()App.must_have_install_permissions()App.must_have_fitting_app_version()App.must_have_fitting_ucs_version()App.must_have_fitting_kernel_version()App.must_not_be_vote_for_app()App.must_not_be_docker_if_docker_is_disabled()App.must_not_be_docker_in_docker()App.must_have_valid_license()App.must_not_be_installed()App.must_not_be_end_of_life()App.must_have_supported_architecture()App.must_be_joined_if_master_packages()App.must_not_have_concurrent_operation()App.must_have_correct_server_role()App.must_have_no_conflicts_packages()App.must_have_no_conflicts_apps()App.must_have_no_unmet_dependencies()App.must_not_be_depended_on()App.must_not_remove_plugin()App.shall_not_have_plugins_in_docker()App.shall_have_enough_free_disk_space()App.shall_have_enough_ram()App.shall_only_be_installed_in_ad_env_with_password_service()App.shall_not_be_docker_if_discouraged()App.check()App.get_settings()
- univention.appcenter.app_cache module
AppCacheAppCenterCacheAppCenterCache.build()AppCenterCache.get_app_cache_class()AppCenterCache.get_server()AppCenterCache.get_server_netloc()AppCenterCache.get_ucs_versions()AppCenterCache.get_locale()AppCenterCache.get_cache_dir()AppCenterCache.get_cache_file()AppCenterCache.get_app_caches()AppCenterCache.get_license_description()AppCenterCache.get_ratings()AppCenterCache.get_app_categories()AppCenterCache.get_every_single_app()AppCenterCache.clear_cache()
AppsAllAppsAppCenterVersionLicenseTypeRatingdefault_locale()default_server()default_ucs_version()
- univention.appcenter.database module
DatabaseErrorDatabaseCreationFailedDatabaseConnectionFailedDatabaseInfoErrorDatabaseConnectorDatabaseConnector.get_db_port()DatabaseConnector.get_db_host()DatabaseConnector.get_db_name()DatabaseConnector.get_db_user()DatabaseConnector.get_db_password()DatabaseConnector.get_db_password_file()DatabaseConnector.get_autostart_variable()DatabaseConnector.install()DatabaseConnector.get_connector()DatabaseConnector.start()DatabaseConnector.db_exists()DatabaseConnector.db_user_exists()DatabaseConnector.create_db_and_user()DatabaseConnector.setup()DatabaseConnector.create_database()
PostgreSQLMySQL
- univention.appcenter.exceptions module
AbortAbortWithDetailsNetworkErrorCredentialsNoUsernameErrorCredentialsNoPasswordErrorConnectionFailedConnectionFailedSecretFileConnectionFailedInvalidAdminCredentialsConnectionFailedInvalidMachineCredentialsConnectionFailedInvalidUserCredentialsConnectionFailedServerDownUpdateSignatureVerificationFailedUpdateUnpackArchiveFailedConfigureFailedShellNoCommandErrorShellAppNotRunningShellContainerNotFoundInstallSetupFailedDockerCouldNotStartContainerDatabaseConnectorErrorInstallNonDockerVersionErrorInstallFailedInstallMasterPackagesNoninteractiveErrorInstallMasterPackagesPasswordErrorRemoveBackupFailedRemovePluginUnsupportedRegisterSchemaFailedRegisterSchemaFileFailedDockerVerificationFailedLocalAppCenterErrorUpgradeStartContainerFailedUpgradeBackupFailedUpgradeAppFailedUpgradePackagesFailedUpgradeReleaseFailedConnectionFailedConnectErrorDockerImagePullFailedRemoveFailedParallelOperationInProgressInstallWithoutPermissionErrorReinitializeErrorAppCenterErrorAppCenterErrorContainerStartResidualInstallationError
- univention.appcenter.extended_attributes module
AttributeHiddenAttributeStringAttributeDescAttributeBooleanAttributeAttributeListAttributeSyntaxAttributeSchemaObjectExtendedAttributeExtendedOptionObjectClassget_extended_attributes()get_schema()create_extended_attribute()remove_extended_attribute()create_extended_option()create_option_icon()remove_extended_option()
- univention.appcenter.ini_parser module
- univention.appcenter.install_checks module
RequirementMetaClassRequirementSingleRequirementMultiRequirementHardRequirementSoftRequirementMustHaveCorrectServerRoleMustHaveFittingAppVersionMustHaveFittingKernelVersionMustHaveCandidateMustHaveFittingUcsVersionMustHaveInstallPermissionsMustHaveNoConflictsAppsMustHaveNoConflictsPackagesMustHaveNoUnmetDependenciesMustHaveSupportedArchitectureMustHaveValidLicenseMustNotBeDependedOnMustNotBeDockerIfDockerIsDisabledMustNotBeDockerInDockerMustNotBeEndOfLifeMustNotBeInstalledMustNotBeVoteForAppMustNotHaveConcurrentOperationMustNotBePinnedShallHaveEnoughFreeDiskSpaceShallHaveEnoughRamShallNotBeDockerIfDiscouragedShallOnlyBeInstalledInAdEnvWithPasswordServicecheck()get_requirement()
- univention.appcenter.listener module
- univention.appcenter.log module
- univention.appcenter.meta module
- univention.appcenter.packages module
- univention.appcenter.settings module
- univention.appcenter.ucr module
- univention.appcenter.udm module
FakeAppinit_object()remove_object_if_exists()create_object_if_not_exists()modify_object()search_objects()dn_exists()get_machine_connection()get_admin_connection()get_connection()get_read_connection()ApplicationLDAPObjectApplicationLDAPObject.dnApplicationLDAPObject.from_udm_obj()ApplicationLDAPObject.add_localhost()ApplicationLDAPObject.remove_localhost()ApplicationLDAPObject.remove_from_directory()ApplicationLDAPObject.installed_on_servers()ApplicationLDAPObject.get_siblings()ApplicationLDAPObject.anywhere_installed()
get_app_ldap_object()create_recursive_container()
- univention.appcenter.utils module
read_ini_file()docker_bridge_network_conflict()app_is_running()docker_is_running()app_ports()app_ports_with_protocol()NoMorePortscurrently_free_port_in_range()generate_password()underscore()capfirst()camelcase()shell_safe()mkdir()rmdir()call_process2()call_process()call_process_as()verbose_http_error()HTTPSConnectionHTTPSHandlerurlopen()get_md5()get_md5_from_file()get_sha256()get_sha256_from_file()get_current_ram_available()get_free_disk_space()flatten()unique()get_locale()gpg_verify()get_local_fqdn()get_server()container_mode()send_information()find_hosts_for_master_packages()resolve_dependencies()
- Subpackages
- univention.authorization package
- Submodules
- univention.authorization.authorization module
LocalGuardianAuthorizationClientLocalGuardianAuthorizationClient.reload()LocalGuardianAuthorizationClient.load_local_roles()LocalGuardianAuthorizationClient.check_permissions()LocalGuardianAuthorizationClient.get_and_check_permissions()LocalGuardianAuthorizationClient.get_permissions()LocalGuardianAuthorizationClient.udm_conditions_target_position_from_context()LocalGuardianAuthorizationClient.udm_conditions_target_position_in()LocalGuardianAuthorizationClient.udm_conditions_target_object_type_equals()LocalGuardianAuthorizationClient.udm_conditions_target_property_values_compares()LocalGuardianAuthorizationClient.target_is_self()
GuardianAuthorizationClient
- univention.authorization.config module
- univention.authorization.management module
TokenInvalidErrorGuardianManagementClientGuardianManagementClient.get_token()GuardianManagementClient.handle_status_code()GuardianManagementClient.generate_headers()GuardianManagementClient.post()GuardianManagementClient.put()GuardianManagementClient.patch()GuardianManagementClient.request()GuardianManagementClient.create_app()GuardianManagementClient.modify_app()GuardianManagementClient.create_namespace()GuardianManagementClient.modify_namespace()GuardianManagementClient.create_role()GuardianManagementClient.modify_role()GuardianManagementClient.create_permission()GuardianManagementClient.modify_permission()GuardianManagementClient.create_context()GuardianManagementClient.modify_context()GuardianManagementClient.create_condition()GuardianManagementClient.modify_condition()GuardianManagementClient.create_role_capability_mapping()GuardianManagementClient.modify_role_capability_mapping()GuardianManagementClient.prune()
expand_role()expand_permission()expand_string()implode_string()expand_condition()GuardianManagementClientLocal
- univention.config_registry package
ucr_factory()- Submodules
- univention.config_registry.backend module
- univention.config_registry.filters module
- univention.config_registry.frontend module
- univention.config_registry.handler module
ConfigHandlersConfigHandlers.CACHE_FILEConfigHandlers.VERSIONConfigHandlers.VERSION_MINConfigHandlers.VERSION_MAXConfigHandlers.VERSION_TEXTConfigHandlers.VERSION_NOTICEConfigHandlers.VERSION_REConfigHandlers.load()ConfigHandlers.get_handler()ConfigHandlers.update()ConfigHandlers.update_divert()ConfigHandlers.register()ConfigHandlers.unregister()ConfigHandlers.commit()ConfigHandlers.call_handler()
- univention.config_registry.interfaces module
- univention.config_registry.misc module
- univention.config_registry.validation module
- univention.connector package
decode_guid()generate_strong_password()set_ucs_passwd_user()check_ucs_lastname_user()set_primary_group_user()dictonary_lowercase()compare_normal()compare_lowercase()configdbRFC4514_dnMappingattributepropertyucsucs.init_ldap_connections()ucs.dn_mapped_to_base()ucs.open_ucs()ucs.search_ucs()ucs.init_debug()ucs.close_debug()ucs.list_rejected_ucs()ucs.get_dn_by_ucs()ucs.get_dn_by_con()ucs.context_log()ucs.get_ucs_ldap_object_dn()ucs.get_ucs_ldap_object()ucs.get_ucs_object()ucs.initialize_ucs()ucs.initialize()ucs.resync_rejected_ucs()ucs.resync_rejected()ucs.poll_ucs()ucs.poll()ucs.add_in_ucs()ucs.modify_in_ucs()ucs.move_in_ucs()ucs.update_deleted_cache_after_removal()ucs.was_entryUUID_deleted()ucs.was_objectGUID_deleted_by_ucs()ucs.delete_in_ucs()ucs.sync_to_ucs()ucs.identify_udm_object()
- Subpackages
- univention.connector.ad package
netbiosDomainnameNotFoundkerberosAuthenticationFailedset_univentionObjectFlag_to_synced()group_members_sync_from_ucs()object_memberships_sync_from_ucs()group_members_sync_to_ucs()object_memberships_sync_to_ucs()primary_group_sync_from_ucs()primary_group_sync_to_ucs()disable_user_from_ucs()set_userPrincipalName_from_ucr()disable_user_to_ucs()fix_dn_in_search()fix_dn()str2dn()unix2ad_time()ad2unix_time()samba2ad_time()ad2samba_time()samaccountname_dn_mapping()user_dn_mapping()group_dn_mapping()windowscomputer_dn_mapping()decode_sid()LDAPEscapeFormatterformat_escaped()adad.RANGE_RETRIEVAL_PATTERNad.main()ad.init_group_cache()ad.init_ldap_connections()ad.open_drs_connection()ad.open_samr()ad.get_kerberos_ticket()ad.ad_search_ext_s()ad.open_ad()ad.get_lastUSN()ad.list_rejected()ad.save_rejected()ad.remove_rejected()ad.addToCreationList()ad.removeFromCreationList()ad.isInCreationList()ad.parse_range_retrieval_attrs()ad.value_range_retrieval()ad.get_ad_members()ad.get_object()ad.set_primary_group_to_ucs_user()ad.primary_group_sync_from_ucs()ad.primary_group_sync_to_ucs()ad.object_memberships_sync_from_ucs()ad.group_members_sync_from_ucs()ad.object_memberships_sync_to_ucs()ad.one_group_member_sync_to_ucs()ad.one_group_member_sync_from_ucs()ad.group_members_sync_to_ucs()ad.set_userPrincipalName_from_ucr()ad.disable_user_from_ucs()ad.disable_user_to_ucs()ad.ucs_object_ignored()ad.initialize()ad.resync_rejected()ad.poll()ad.sync_from_ucs()ad.delete_in_ad()
- Submodules
- univention.connector.ad.main module
- univention.connector.ad.mapping module
- univention.connector.ad.password module
nt_password_to_arcfour_hmac_md5()transformKey()mySamEncryptNTLMHash()deriveKey()removeDESLayer()decrypt()decrypt_history()calculate_krb5keys()set_password_in_ad()decrypt_supplementalCredentials()get_password_from_ad()password_sync_ucs()password_sync_kinit()password_sync()lockout_sync_to_ucs()lockout_sync_from_ucs()
- univention.connector.ad.proxyAddresses module
- univention.connector.ad.query_config module
- univention.connector.ad package
- Submodules
- univention.connector.adcache module
- univention.directory package
- Subpackages
- univention.directory.reports package
ConfigDocumentReportReportErrorcache_object()connect()connected()get_object()identify()set_format()- Submodules
- univention.directory.reports.admin module
- univention.directory.reports.config module
- univention.directory.reports.document module
- univention.directory.reports.error module
- univention.directory.reports.filter module
- univention.directory.reports.interpreter module
- univention.directory.reports.output module
- univention.directory.reports.parser module
- univention.directory.reports.report module
- univention.directory.reports.tokens module
- univention.directory.reports package
- Subpackages
- univention.ipcalc package
- univention.l10n package
ErrorMIMECheckerNoMatchingFilesNoSpecialCaseDefintionsFoundSpecialCaseUMCModuleTranslationcreate_new_package()find_base_translation_modules()get_special_cases_from_checkout()get_special_cases_from_srcpkg()read_special_case_definition()template_file()translate_special_case()update_package_translation_files()write_makefile()- Submodules
- univention.l10n.cmd module
- univention.l10n.helper module
- univention.l10n.l10n module
BaseModuleNoSpecialCaseDefintionsFoundNoMatchingFilesUMCModuleTranslationSpecialCaseMIMECheckerupdate_package_translation_files()write_makefile()translate_special_case()read_special_case_definition()get_special_cases_from_srcpkg()get_special_cases_from_checkout()find_base_translation_modules()template_file()create_new_package()
- univention.l10n.message_catalogs module
- univention.l10n.sourcefileprocessing module
- univention.l10n.umc module
UMC_ModuleUMC_Module.packageUMC_Module.python_pathUMC_Module.js_pathUMC_Module.js_module_fileUMC_Module.js_filesUMC_Module.html_filesUMC_Module.css_filesUMC_Module.module_nameUMC_Module.xml_definitionUMC_Module.xml_categoriesUMC_Module.python_filesUMC_Module.python_po_filesUMC_Module.js_po_filesUMC_Module.xml_po_filesUMC_Module.icons
read_modules()module_xml2po()create_po_file()merge_po_file()create_mo_file()create_json_file()po_to_json()
- univention.ldap_cache package
- univention.lib package
I18N_ErrorLocaleNullTranslationTranslationget_lock()release_lock()- Submodules
- univention.lib.account module
- univention.lib.admember module
initialize_debug()failedToSetServiceinvalidUCSServerRolefailedADConnectfailedToSetAdministratorPasswordfailedToCreateAdministratorAccountsambaSidNotSetForAdministratorAccountfailedToSearchForWellKnownSidfailedToAddAdministratorAccountToDomainAdminsdomainnameMismatchconnectionFailednotDomainAdminInADuniventionSambaWrongVersiontimeSyncronizationFailedmanualTimeSyncronizationRequiredsambaJoinScriptFailedfailedToAddServiceRecordToADfailedToGetUcrVariableis_localhost_in_admember_mode()is_localhost_in_adconnector_mode()is_domain_in_admember_mode()check_connection()flush_nscd_hosts_cache()decode_sid()check_ad_account()prepare_administrator()synchronize_account_position()server_supports_ssl()enable_ssl()disable_ssl()add_admember_service_to_localhost()add_adconnector_service_to_localhost()remove_admember_service_from_localhost()info_handler()error_handler()remove_install_univention_samba()CLDAP_REScldap_finddc()get_defaultNamingContext()lookup_adds_dc()set_timeserver()stop_service()start_service()restart_service()invoke_service()do_time_sync()time_sync()check_server_role()check_domain()set_nameserver()rename_well_known_sid_objects()make_deleted_objects_readable_for_this_machine()prepare_dns_reverse_settings()prepare_kerberos_ucr_settings()set_ucr()prepare_ucr_settings()revert_ucr_settings()prepare_connector_settings()revert_connector_settings()disable_local_samba4()disable_local_heimdal()run_samba_join_script()add_host_record_in_ad()get_domaincontroller_srv_record()add_domaincontroller_srv_record_in_ad()get_ucr_variable_from_ucs()set_nameserver_from_ucs_master()configure_ad_member()configure_backup_as_ad_member()configure_slave_as_ad_member()configure_member_as_ad_member()configure_container_as_ad_member()revert_backup_ad_member()revert_slave_ad_member()revert_member_ad_member()revert_container_ad_member()
- univention.lib.atjobs module
- univention.lib.fstab module
- univention.lib.i18n module
- univention.lib.ldap_extension module
BaseDirRestrictionsafe_path_join()set_handler_message()get_handler_message()UniventionLDAPExtensionUniventionLDAPExtension.udm_module_nameUniventionLDAPExtension.target_container_nameUniventionLDAPExtension.active_flag_attributeUniventionLDAPExtension.filesuffixUniventionLDAPExtension.create_base_container()UniventionLDAPExtension.is_local_active()UniventionLDAPExtension.is_applicable_for_current_ucs_version()UniventionLDAPExtension.wait_for_activation()UniventionLDAPExtension.udm_find_object()UniventionLDAPExtension.udm_find_object_dn()UniventionLDAPExtension.ldap_touch_udm_object()UniventionLDAPExtension.register()UniventionLDAPExtension.unregister()UniventionLDAPExtension.mark_active()
UniventionLDAPExtensionWithListenerHandlerUniventionLDAPSchemaUniventionLDAPACLUniventionDataExtensionUniventionUDMExtensionUniventionUDMModuleUniventionUDMModule.target_container_nameUniventionUDMModule.udm_module_nameUniventionUDMModule.active_flag_attributeUniventionUDMModule.filesuffixUniventionUDMModule.target_udm_moduleUniventionUDMModule.target_subdirUniventionUDMModule.target_filepathUniventionUDMModule.register()UniventionUDMModule.wait_for_activation()
UniventionUDMSyntaxUniventionUDMHookoption_validate_existing_filename()option_validate_ucs_version()option_validate_gnu_message_catalogfile()UCSOptionoption_callback_udm_passthrough_options()check_data_module_options()option_callback_set_data_module_options()option_callback_append_data_module_options()check_udm_module_options()option_callback_set_udm_module_options()option_callback_append_udm_module_options()check_udm_syntax_options()option_callback_append_udm_syntax_options()check_udm_hook_options()option_callback_append_udm_hook_options()ucs_registerLDAPExtension()ucs_unregisterLDAPExtension()
- univention.lib.license_tools module
- univention.lib.listenerSharePath module
- univention.lib.locking module
- univention.lib.misc module
- univention.lib.package_manager module
LockErrorPackageManagerPackageManager.cachePackageManager.always_install()PackageManager.lock()PackageManager.unlock()PackageManager.is_locked()PackageManager.locked()PackageManager.no_umc_restart()PackageManager.add_hundred_percent()PackageManager.set_max_steps()PackageManager.set_finished()PackageManager.poll()PackageManager.reset_status()PackageManager.brutal_noninteractive()PackageManager.noninteractive()PackageManager.update()PackageManager.get_packages()PackageManager.get_package()PackageManager.is_installed()PackageManager.packages()PackageManager.mark_auto()PackageManager.mark()PackageManager.commit()PackageManager.reopen_cache()PackageManager.autoremove()PackageManager.upgrade()PackageManager.dist_upgrade()PackageManager.install()PackageManager.uninstall()
- univention.lib.password module
- univention.lib.policy_result module
- univention.lib.s4 module
- univention.lib.share_restrictions module
RestrictionsSharePrinterShareConfigurationShareConfiguration.SHARES_DIRShareConfiguration.SHARES_UDM_DIRShareConfiguration.PRINTERS_UDM_DIRShareConfiguration.POSTFIXShareConfiguration.PREFIXShareConfiguration.INCLUDE_CONFShareConfiguration.GLOBAL_CONFShareConfiguration.CUPS_CONFShareConfiguration.delete()ShareConfiguration.read_shares()ShareConfiguration.read_printers()ShareConfiguration.read_ucr()ShareConfiguration.read()ShareConfiguration.write()ShareConfiguration.globalsShareConfiguration.sharesShareConfiguration.printers
- univention.lib.ucrLogrotate module
- univention.lib.ucs module
- univention.lib.umc module
ConnectionErrorHTTPErrorHTTPRedirectMovedPermanentlyFoundSeeOtherNotModifiedBadRequestUnauthorizedForbiddenNotFoundMethodNotAllowedNotAcceptableUnprocessableEntityInternalServerErrorBadGatewayServiceUnavailableRequestResponseClientClient.ConnectionTypeClient.authenticate()Client.reauthenticate()Client.set_basic_http_authentication()Client.authenticate_saml()Client.authenticate_with_machine_account()Client.umc_command()Client.umc_set()Client.umc_set_password()Client.umc_get()Client.umc_upload()Client.umc_auth()Client.umc_logout()Client.request()Client.send()
- univention.lib.umc_module module
- univention.listener package
ListenerModuleAdapterListenerModuleConfigurationListenerModuleConfiguration.attributesListenerModuleConfiguration.descriptionListenerModuleConfiguration.get_active()ListenerModuleConfiguration.get_attributes()ListenerModuleConfiguration.get_configuration_keys()ListenerModuleConfiguration.get_description()ListenerModuleConfiguration.get_ldap_filter()ListenerModuleConfiguration.get_listener_module_class()ListenerModuleConfiguration.get_listener_module_instance()ListenerModuleConfiguration.get_name()ListenerModuleConfiguration.get_priority()ListenerModuleConfiguration.ldap_filterListenerModuleConfiguration.listener_module_classListenerModuleConfiguration.name
ListenerModuleConfigurationErrorListenerModuleHandlerListenerModuleHandler.ConfigurationListenerModuleHandler.as_root()ListenerModuleHandler.clean()ListenerModuleHandler.configListenerModuleHandler.create()ListenerModuleHandler.diff()ListenerModuleHandler.error_handler()ListenerModuleHandler.initialize()ListenerModuleHandler.loListenerModuleHandler.modify()ListenerModuleHandler.poListenerModuleHandler.post_run()ListenerModuleHandler.pre_run()ListenerModuleHandler.remove()ListenerModuleHandler.ucr
ListenerModuleRuntimeError- Submodules
- univention.listener.api_adapter module
- univention.listener.exceptions module
- univention.listener.handler module
HandlerMetaClassListenerModuleHandlerListenerModuleHandler.configListenerModuleHandler.ucrListenerModuleHandler.ConfigurationListenerModuleHandler.create()ListenerModuleHandler.modify()ListenerModuleHandler.remove()ListenerModuleHandler.initialize()ListenerModuleHandler.clean()ListenerModuleHandler.pre_run()ListenerModuleHandler.post_run()ListenerModuleHandler.as_root()ListenerModuleHandler.diff()ListenerModuleHandler.error_handler()ListenerModuleHandler.loListenerModuleHandler.po
- univention.listener.handler_configuration module
ListenerModuleConfigurationListenerModuleConfiguration.nameListenerModuleConfiguration.descriptionListenerModuleConfiguration.ldap_filterListenerModuleConfiguration.listener_module_classListenerModuleConfiguration.attributesListenerModuleConfiguration.get_configuration_keys()ListenerModuleConfiguration.get_name()ListenerModuleConfiguration.get_description()ListenerModuleConfiguration.get_ldap_filter()ListenerModuleConfiguration.get_attributes()ListenerModuleConfiguration.get_priority()ListenerModuleConfiguration.get_listener_module_instance()ListenerModuleConfiguration.get_listener_module_class()ListenerModuleConfiguration.get_active()
- univention.listener.handler_logging module
- univention.mail package
- Submodules
- univention.mail.dovecot module
DovecotListenerDovecotListener.log_p()DovecotListener.log_e()DovecotListener.new_email_account()DovecotListener.delete_email_account()DovecotListener.read_from_ext_proc_as_root()DovecotListener.move_user_home()DovecotListener.move_mail_home()DovecotListener.get_maillocation()DovecotListener.upload_activate_sieve_script()DovecotListener.get_user_home()DovecotListener.get_masteruser_credentials()DovecotListener.get_dovecot_user()DovecotListener.mkdir_p()DovecotListener.chown_r()
- univention.mail.dovecot_shared_folder module
DovecotFolderAclEntryDovecotGlobalAclFileDovecotSharedFolderListenerDovecotSharedFolderListener.add_shared_folder()DovecotSharedFolderListener.del_shared_folder()DovecotSharedFolderListener.mod_shared_folder()DovecotSharedFolderListener.get_public_location()DovecotSharedFolderListener.create_public_folder()DovecotSharedFolderListener.read_from_ext_proc_as_root()DovecotSharedFolderListener.doveadm_set_mailbox_acls()DovecotSharedFolderListener.imap_set_mailbox_acls()DovecotSharedFolderListener.update_public_mailbox_configuration()DovecotSharedFolderListener.unsubscribe_from_mailbox()DovecotSharedFolderListener.get_udm_infos()DovecotSharedFolderListener.add_global_acls()DovecotSharedFolderListener.remove_global_acls()
- univention.management package
- Subpackages
- univention.management.console package
Translation- Subpackages
- Submodules
- univention.management.console.acl module
- univention.management.console.auth module
- univention.management.console.base module
- Python API for UMC modules
BaseBase.update_language()Base.set_locale()Base.usernameBase.user_dnBase.passwordBase.auth_typeBase.tornado_routesBase.prepare()Base.init()Base.destroy()Base.execute()Base.security_checks()Base.thread_finished_callback()Base.error_handling()Base.default_response_headers()Base.get_user_ldap_connection()Base.bind_user_connection()Base.require_password()Base.finished()Base.result()
- univention.management.console.category module
- univention.management.console.config module
- univention.management.console.error module
- univention.management.console.ldap module
- univention.management.console.locales module
- univention.management.console.log module
- univention.management.console.message module
- univention.management.console.modserver module
- univention.management.console.module module
- Module definitions
CommandFlavorModuleLinkXML_DefinitionXML_Definition.nameXML_Definition.versionXML_Definition.urlXML_Definition.descriptionXML_Definition.keywordsXML_Definition.idXML_Definition.priorityXML_Definition.translationIdXML_Definition.singletonXML_Definition.iconXML_Definition.deactivatedXML_Definition.flavorsXML_Definition.categoriesXML_Definition.commands()XML_Definition.get_module()XML_Definition.get_flavor()XML_Definition.get_command()
Manager
- univention.management.console.oidc module
create_federated_account()OIDCUserOIDCResourceOIDCResource.requires_authenticationOIDCResource.prepare()OIDCResource.get_openid_provider()OIDCResource.set_settings()OIDCResource.bearer_authorization()OIDCResource.authenticate()OIDCResource.handle_federated_account()OIDCResource.pam_oidc_authentication()OIDCResource.verify_id_token()OIDCResource.verify_access_token()OIDCResource.verify_logout_token()OIDCResource.get_user_information()OIDCResource.download_jwks()OIDCResource.get_access_token()OIDCResource.get_new_access_token()OIDCResource.refresh_session_tokens()
OIDCLoginOIDCLogoutOIDCLogoutFinishedOIDCFrontchannelLogoutOIDCBackchannelLogoutOIDCMetadata
- univention.management.console.pam module
- univention.management.console.resource module
ResourceResource.requires_authenticationResource.ignore_session_timeout_resetResource.set_default_headers()Resource.prepare()Resource.check_session_validity()Resource.get_current_user()Resource.get_user_locale()Resource.get_session_id()Resource.create_sessionid()Resource.sessionidhash()Resource.set_session()Resource.expire_session()Resource.set_cookies()Resource.get_cookie()Resource.suffixed_cookie_name()Resource.bind_session_to_ip()Resource.get_ip_address()Resource.parse_authorization()Resource.basic_authorization()Resource.bearer_authorization()Resource.refresh_oidc_session()Resource.loResource.load_json()Resource.decode_request_arguments()Resource.content_negotiation()Resource.get_json()Resource.content_negotiation_json()Resource.write_error()Resource.default_error_page()Resource.default_error_page_html()Resource.default_error_page_json()Resource.check_acceptable()Resource.reverse_abs_url()
- univention.management.console.resources module
- univention.management.console.saml module
SAMLUserSamlErrorSamlError.error()SamlError.from_exception()SamlError.unknown_principal()SamlError.unsupported_binding()SamlError.unknown_logout_binding()SamlError.verification_error()SamlError.unsolicited_response()SamlError.status_error()SamlError.missing_key()SamlError.signature_error()SamlError.unparsed_saml_response()SamlError.no_identity_provider()SamlError.multiple_identity_provider()
SAMLResourceSamlMetadataSamlACSSamlACS.spSamlACS.reload()SamlACS.get()SamlACS.post()SamlACS.attribute_consuming_service()SamlACS.attribute_consuming_service_iframe()SamlACS.pam_saml_authentication()SamlACS.parse_authn_response()SamlACS.do_single_sign_on()SamlACS.create_authn_request()SamlACS.select_identity_provider()SamlACS.get_identity_provider_destination()SamlACS.select_service_provider()SamlACS.http_response()
SamlIframeACSSamlSingleLogoutSamlLogout
- univention.management.console.server module
- univention.management.console.session module
UserSessionSession.sessionsSession.get_or_create()Session.put()Session.expire()Session.session_idSession.userSession.samlSession.oidcSession.aclsSession.processesSession.renew()Session.authenticate()Session.change_password()Session.set_credentials()Session.get_user_ldap_connection()Session.is_saml_user()Session.is_oidc_user()Session.get_umc_password()Session.get_umc_auth_type()Session.logout()Session.reset_timeout()Session.disconnect_timer()Session.timed_out()Session.session_end_timeSession.on_logout()
IACLsProcesses
- univention.management.console.session_db module
- univention.management.console.session_dict module
- univention.management.console.shared_memory module
- univention.management.console.sse module
- univention.management.console.tools module
- univention.management.console package
- Subpackages
- univention.monitoring package
- univention.portal package
PluginPluginsget_all_dynamic_classes()get_dynamic_classes()- Subpackages
- univention.portal.extensions package
- Submodules
- univention.portal.extensions.authenticator module
- univention.portal.extensions.cache module
- univention.portal.extensions.demo_reloader module
- univention.portal.extensions.portal module
PortalPortal.get_cache_id()Portal.get_user()Portal.login_user()Portal.login_request()Portal.logout_user()Portal.get_visible_content()Portal.get_user_links()Portal.get_menu_links()Portal.get_entries()Portal.get_folders()Portal.get_categories()Portal.auth_mode()Portal.may_be_edited()Portal.get_meta()Portal.get_announcements()Portal.refresh()Portal.score()
UMCPortalUMCPortal.auth_mode()UMCPortal.may_be_edited()UMCPortal.get_visible_content()UMCPortal.get_user_links()UMCPortal.get_menu_links()UMCPortal.get_entries()UMCPortal.get_folders()UMCPortal.get_categories()UMCPortal.get_meta()UMCPortal.get_announcements()UMCPortal.refresh()UMCPortal.get_cache_id()
- univention.portal.extensions.reloader module
- univention.portal.extensions.scorer module
- univention.portal.handlers package
- univention.portal.extensions package
- Submodules
- univention.portal.config module
- univention.portal.factory module
- univention.portal.log module
- univention.portal.main module
- univention.portal.user module
- univention.portal.util module
- univention.radius package
get_NetworkAccess()- Submodules
- univention.radius.networkaccess module
convert_network_access_attr()convert_ucs_debuglevel()get_ldapConnection()NetworkAccessErrorUserNotAllowedErrorMacNotAllowedErrorNoHashErrorUserDeactivatedErrorNetworkAccessNetworkAccess.ldapConnectionNetworkAccess.build_access_dict()NetworkAccess.get_user_network_access()NetworkAccess.get_station_network_access()NetworkAccess.get_groups_network_access()NetworkAccess.evaluate_ldap_network_access()NetworkAccess.check_proxy_filter_policy()NetworkAccess.check_network_access()NetworkAccess.check_station_whitelist()NetworkAccess.getNTPasswordHash()
- univention.radius.pyMsChapV2 module
- univention.radius.school_networkaccess module
- univention.radius.utils module
- univention.s4connector package
decode_guid()generate_strong_password()set_ucs_passwd_user()check_ucs_lastname_user()set_primary_group_user()dictonary_lowercase()compare_normal()compare_lowercase()configdbRFC4514_dnMappingattributepropertyucsucs.init_ldap_connections()ucs.dn_mapped_to_base()ucs.open_ucs()ucs.search_ucs()ucs.init_debug()ucs.close_debug()ucs.list_rejected_ucs()ucs.get_dn_by_ucs()ucs.get_dn_by_con()ucs.context_log()ucs.get_ucs_ldap_object_dn()ucs.get_ucs_ldap_object()ucs.get_ucs_object()ucs.initialize_ucs()ucs.initialize()ucs.resync_rejected_ucs()ucs.resync_rejected()ucs.poll_ucs()ucs.poll()ucs.add_in_ucs()ucs.modify_in_ucs()ucs.move_in_ucs()ucs.update_deleted_cache_after_removal()ucs.was_entryUUID_deleted()ucs.was_objectGUID_deleted_by_ucs()ucs.update_add_cache_after_creation()ucs.remove_add_cache_after_removal()ucs.was_objectGUID_added_by_ucs()ucs.delete_in_ucs()ucs.sync_to_ucs()ucs.identify_udm_object()
- Subpackages
- univention.s4connector.s4 package
group_members_sync_from_ucs()object_memberships_sync_from_ucs()group_members_sync_to_ucs()object_memberships_sync_to_ucs()primary_group_sync_from_ucs()primary_group_sync_to_ucs()disable_user_from_ucs()disable_user_to_ucs()add_primary_group_to_addlist()check_for_local_group_and_extend_serverctrls_and_sid()fix_dn_in_search()fix_dn()str2dn()unix2s4_time()s42unix_time()samba2s4_time()s42samba_time()samaccountname_dn_mapping()user_dn_mapping()group_dn_mapping()windowscomputer_dn_mapping()dc_dn_mapping()decode_sid()compare_sid_lists()LDAPEscapeFormatterformat_escaped()s4s4.RANGE_RETRIEVAL_PATTERNs4.main()s4.init_ldap_connections()s4.init_group_cache()s4.s4_search_ext_s()s4.open_s4()s4.get_lastUSN()s4.list_rejected()s4.save_rejected()s4.remove_rejected()s4.addToCreationList()s4.removeFromCreationList()s4.isInCreationList()s4.get_object_dn()s4.parse_range_retrieval_attrs()s4.value_range_retrieval()s4.get_s4_members()s4.get_object()s4.set_primary_group_to_ucs_user()s4.primary_group_sync_from_ucs()s4.primary_group_sync_to_ucs()s4.object_memberships_sync_from_ucs()s4.group_members_sync_from_ucs()s4.object_memberships_sync_to_ucs()s4.one_group_member_sync_to_ucs()s4.one_group_member_sync_from_ucs()s4.group_members_sync_to_ucs()s4.disable_user_from_ucs()s4.disable_user_to_ucs()s4.initialize()s4.resync_rejected()s4.poll()s4.sync_from_ucs()s4.delete_in_s4()
- Submodules
- univention.s4connector.s4.computer module
- univention.s4connector.s4.dc module
- univention.s4connector.s4.dns module
PTRRecordMXRecorddns_dn_mapping()s4_zone_create()s4_zone_msdcs_sync()s4_zone_create_wrapper()s4_zone_delete()s4_dns_node_base_create()s4_dns_node_base_delete()s4_host_record_create()ucs_host_record_create()ucs_host_record_delete()s4_ptr_record_create()ucs_ptr_record_create()ucs_ptr_record_delete()ucs_cname_create()ucs_cname_delete()s4_cname_create()ucs_srv_record_create()ucs_srv_record_delete()s4_srv_record_create()ucs_txt_record_create()ucs_txt_record_delete()s4_txt_record_create()ucs_ns_record_create()ucs_ns_record_delete()s4_ns_record_create()ucs_zone_create()ucs_zone_delete()ucs2con()con2ucs()
- univention.s4connector.s4.main module
- univention.s4connector.s4.mapping module
- univention.s4connector.s4.ntsecurity_descriptor module
- univention.s4connector.s4.password module
- univention.s4connector.s4.query_config module
- univention.s4connector.s4.sid_mapping module
- univention.s4connector.s4.user module
- univention.s4connector.s4 package
- Submodules
- univention.s4connector.lockingdb module
- univention.s4connector.s4cache module
- univention.testing package
- Subpackages
- univention.testing.browser package
- Submodules
- univention.testing.browser.appcenter module
- univention.testing.browser.generic_udm_module module
- univention.testing.browser.ldap_directory module
- univention.testing.browser.lib module
UCSLanguageInteractionsUMCBrowserTestUMCBrowserTest.langUMCBrowserTest.set_language()UMCBrowserTest.base_urlUMCBrowserTest.ldap_baseUMCBrowserTest.domainnameUMCBrowserTest.check_for_no_module_available_popup()UMCBrowserTest.login()UMCBrowserTest.end_umc_session()UMCBrowserTest.logout()UMCBrowserTest.systemd_restart_service()UMCBrowserTest.restart_umc()
- univention.testing.browser.packagemanagement module
PackageActionPackageManagementPackageManagement.navigate()PackageManagement.find_small_package()PackageManagement.search_for_package()PackageManagement.do_package_action()PackageManagement.handle_confirmation_dialog()PackageManagement.handle_action_dialog()PackageManagement.install_package()PackageManagement.uninstall_package()PackageManagement.verify_package_status()
- univention.testing.browser.policies module
- univention.testing.browser.portal module
- univention.testing.browser.process_overview module
- univention.testing.browser.selfservice module
- univention.testing.browser.sidemenu module
- univention.testing.browser.suggestion module
- univention.testing.browser.systemdiagnostics module
- univention.testing.browser.udm_users module
- univention.testing.browser.univentionconfigurationregistry module
- univention.testing.format package
- univention.testing.pytest_univention_playwright package
check_for_backtrace()print_path_in_jenkins()save_screenshot()save_trace()- Submodules
- univention.testing.pytest_univention_playwright.fixtures module
suppress_notifications()pytest_runtest_makereport()ucs_browser_context_args()ucs_browser_type_launch_args()browser_context_args()browser_type_launch_args()udm_module_scope()ucr_module()user_module()side_menu_license()side_menu_user()self_service()ldap_directory()kill_univention_management_console_module()kill_module_processes_module()kill_module_processes()setup_browser_context()context_module_scope()umc_browser_test_module()umc_browser_test()teardown_umc_browser_test()app_center_cache()
- univention.testing.selenium package
UMCSeleniumTestUMCSeleniumTest.BROWSERSUMCSeleniumTest.crop_screenshot_to_element()UMCSeleniumTest.do_login()UMCSeleniumTest.end_umc_session()UMCSeleniumTest.notifications_visible()UMCSeleniumTest.open_module()UMCSeleniumTest.open_traceback()UMCSeleniumTest.press_notifications_button()UMCSeleniumTest.restart_umc()UMCSeleniumTest.save_browser_log()UMCSeleniumTest.save_screenshot()UMCSeleniumTest.search_module()UMCSeleniumTest.set_viewport_size()UMCSeleniumTest.show_notifications()
- Submodules
- univention.testing.selenium.appcenter module
- univention.testing.selenium.base module
UMCSeleniumTestUMCSeleniumTest.BROWSERSUMCSeleniumTest.restart_umc()UMCSeleniumTest.set_viewport_size()UMCSeleniumTest.save_screenshot()UMCSeleniumTest.open_traceback()UMCSeleniumTest.crop_screenshot_to_element()UMCSeleniumTest.save_browser_log()UMCSeleniumTest.show_notifications()UMCSeleniumTest.notifications_visible()UMCSeleniumTest.press_notifications_button()UMCSeleniumTest.do_login()UMCSeleniumTest.end_umc_session()UMCSeleniumTest.open_module()UMCSeleniumTest.search_module()
- univention.testing.selenium.checks_and_waits module
ChecksAndWaitsChecksAndWaits.wait_for_text()ChecksAndWaits.wait_for_any_text_in_list()ChecksAndWaits.wait_for_text_to_disappear()ChecksAndWaits.wait_for_button()ChecksAndWaits.wait_until_all_dialogues_closed()ChecksAndWaits.wait_until_all_standby_animations_disappeared()ChecksAndWaits.wait_until_standby_animation_appears()ChecksAndWaits.wait_until_standby_animation_appears_and_disappears()ChecksAndWaits.wait_until_progress_bar_finishes()ChecksAndWaits.wait_until_element_visible()ChecksAndWaits.wait_until()ChecksAndWaits.get_gallery_items()ChecksAndWaits.get_all_visible_elements()ChecksAndWaits.elements_invisible()ChecksAndWaits.elements_visible()ChecksAndWaits.wait_for_element_by_css_selector()
- univention.testing.selenium.interactions module
InteractionsInteractions.click_text()Interactions.click_checkbox_of_grid_entry()Interactions.click_checkbox_of_dojox_grid_entry()Interactions.click_grid_entry()Interactions.click_tree_entry()Interactions.click_button()Interactions.click_buttons()Interactions.click_search_button()Interactions.click_tile()Interactions.click_tile_menu_icon()Interactions.click_tab()Interactions.open_side_menu()Interactions.close_side_menu()Interactions.click_side_menu_entry()Interactions.click_side_menu_back()Interactions.click_element()Interactions.enter_input()Interactions.enter_input_combobox()Interactions.enter_input_date()Interactions.submit_input()Interactions.get_input()Interactions.get_all_enabled_elements()Interactions.upload_image()Interactions.drag_and_drop()Interactions.drag_and_drop_by_offset()
- univention.testing.selenium.udm module
- univention.testing.selenium.utils module
- univention.testing.ucsschool package
- Submodules
- univention.testing.ucsschool.acl module
run_commands()CreateContextManagerCreateGroupInContainerCreateDCSlaveInContainerAclAcl.assert_acl()Acl.assert_base_dn()Acl.assert_student()Acl.assert_room()Acl.assert_teacher_group()Acl.assert_student_group()Acl.assert_share_object_access()Acl.assert_shares()Acl.assert_temps()Acl.assert_gid_temps()Acl.assert_ou()Acl.assert_global_containers()Acl.assert_computers()Acl.assert_user()Acl.assert_dhcp()Acl.assert_member_server()
- univention.testing.ucsschool.computer module
- univention.testing.ucsschool.computerroom module
CmdCheckFailretry_cmd()RoomRoom.get_room_user()Room.check_room_user()Room.aquire_room()Room.checK_room_aquire()Room.get_room_computers()Room.check_room_computers()Room.set_room_settings()Room.get_room_settings()Room.check_room_settings()Room.get_internetRules()Room.check_internetRules()Room.check_atjobs()Room.check_displayTime()Room.test_time_settings()Room.check_home_read()Room.check_home_write()Room.check_marktplatz_read()Room.check_marktplatz_write()Room.check_share_access()Room.check_share_behavior()Room.test_share_access_settings()Room.check_smb_print()Room.check_print_behavior()Room.test_printMode_settings()Room.checK_internetrules()Room.test_internetrules_settings()Room.test_settings()Room.check_behavior()
get_banpage()clean_folder()run_commands()add_printer()remove_printer()set_windows_pc_password()UmcComputercreate_homedirs()check_change_permissions()check_share_read()check_share_write()
- univention.testing.ucsschool.conftest module
UCSSchoolTypeGroupTypeShareTypeUserTypemodel_ldap_object_classes()model_school_object_class()model_ucsschool_roles()model_udm_module()model_ldap_container()user_groups()random_int()random_username()ucr()fqdn()admin_username()admin_password()machine_account_dn()machine_password()schoolenv()create_ou()lo()udm_session()create_import_user()get_import_user()mail_domain()ucr_domainname()ucr_hostname()ucr_is_singlemaster()ucr_ldap_base()user_ldap_attributes()user_school_attributes()workgroup_ldap_attributes()workgroup_school_attributes()workgroup_share_ldap_attributes()workgroup_share_school_attributes()random_logger()restart_services()schedule_restart_services()restart_umc()schedule_restart_umc()stop_module_process()copy_file()check_pdfprinter_spool_permissions()list_pdfprinter_jobs()send_pdfprinter_job()
- univention.testing.ucsschool.csv_test_helper module
- univention.testing.ucsschool.distribution module
DistributionDistribution.filesDistribution.files_encodedDistribution.query()Distribution.get()Distribution.idir()Distribution.genData()Distribution.uploadFile()Distribution.add()Distribution.check_add()Distribution.put()Distribution.check_put()Distribution.put_fail()Distribution.distribute()Distribution.check_distribute()Distribution.collect()Distribution.check_collect()Distribution.remove()Distribution.check_remove()Distribution.checkFiles()Distribution.adopt()Distribution.check_adopt()Distribution.getUserFilesPath()
- univention.testing.ucsschool.exam module
get_dir_files()get_s4_rejected()check_s4_rejected()check_proof_uniqueMember()wait_replications_check_rejected_uniqueMember()ExamExam.UMC_SCHOOLEXAM_LOG_PATHExam.start()Exam.save()Exam.get()Exam.delete()Exam.finish()Exam.genData()Exam.uploadFile()Exam.get_internetRules()Exam.fetch_internetRule()Exam.get_schools()Exam.fetch_school()Exam.get_groups()Exam.fetch_groups()Exam.get_lessonEnd()Exam.fetch_lessonEnd()Exam.collect()Exam.check_collect()Exam.check_upload()Exam.check_distribute()
ExamSaml
- univention.testing.ucsschool.import_factory_test_classes module
- univention.testing.ucsschool.importgroups module
- univention.testing.ucsschool.importnetworks module
- univention.testing.ucsschool.importou module
DCNotFoundDCMembershipDCisMemberOfGroupDhcpdLDAPBaseDhcpServerLocationcreate_mail_domain()remove_ou()get_school_base()get_school_ou_from_dn()create_ou_cli()create_ou_python_api()move_domaincontroller_to_ou_cli()get_ou_base()create_and_verify_ou()verify_ou()check_group_membership()check_dhcp()verify_dc()parametrization_id_base64_decode()generate_import_ou_basics_test_data()import_ou_with_existing_dc()import_3_ou_in_a_row()import_ou_alter_dhcpd_base_flag()
- univention.testing.ucsschool.importprinters module
- univention.testing.ucsschool.importusers module
PersonPerson.make_dn()Person.homedirPerson.make_school_base()Person.append_random_groups()Person.set_mode_to_modify()Person.set_mode_to_delete()Person.set_active()Person.set_inactive()Person.is_active()Person.update()Person.move_school_classes()Person.map_to_dict()Person.get_csv_line()Person.append_random_class()Person.append_random_working_group()Person.is_student()Person.is_teacher()Person.is_staff()Person.is_teacher_staff()Person.expected_attributes()Person.get_samba_home_path_server()Person.get_profile_path_server()Person.rolesPerson.verify()Person.update_from_ldap()Person.set_random_birthday()
StudentTeacherStaffTeacherStaffImportFileUserImportcreate_and_verify_users()create_windows_profile_server()create_home_server()import_users_basics()get_mail_domain()NonPrefixPerson
- univention.testing.ucsschool.importusers_cli_v2 module
ImportExceptionTestFailedreset_notifier_restart_burst_limit()ConfigDictPyHooksImportTestbaseImportTestbase.ou_AImportTestbase.ou_BImportTestbase.ou_CImportTestbase.use_ou_cacheImportTestbase.all_rolesImportTestbase.cleanup()ImportTestbase.save_ldap_status()ImportTestbase.diff_ldap_status()ImportTestbase.pugre_timestamp_ldap2udm()ImportTestbase.pugre_timestamp_udm2ldap()ImportTestbase.check_new_and_removed_users()ImportTestbase.fail()ImportTestbase.create_ous()ImportTestbase.setup_testenv()ImportTestbase.run()ImportTestbase.test()ImportTestbase.wait_for_drs_replication_of_membership()
CLI_Import_v2_TesterCLI_Import_v2_Tester.ldap_date_formatCLI_Import_v2_Tester.udm_date_formatCLI_Import_v2_Tester.cleanup()CLI_Import_v2_Tester.create_config_json()CLI_Import_v2_Tester.create_csv_file()CLI_Import_v2_Tester.check_for_non_empty_config()CLI_Import_v2_Tester.check_for_non_empty_pyhooks()CLI_Import_v2_Tester.run_import()
UniqueObjectTester
- univention.testing.ucsschool.importusers_http module
- univention.testing.ucsschool.internetrule module
- univention.testing.ucsschool.klasse module
- univention.testing.ucsschool.radius module
- univention.testing.ucsschool.randomdomain module
- univention.testing.ucsschool.school module
- univention.testing.ucsschool.schoolroom module
- univention.testing.ucsschool.simplecurl module
- univention.testing.ucsschool.test_samba4 module
TestSamba4TestSamba4.return_code_result_skip()TestSamba4.remove_samba_warnings()TestSamba4.create_and_run_process()TestSamba4.start_stop_service()TestSamba4.dc_master_has_samba4()TestSamba4.is_a_school_branch_site()TestSamba4.grep_for_key()TestSamba4.sed_for_key()TestSamba4.get_udm_list_dcs()TestSamba4.get_udm_list_dc_slaves_with_samba4()TestSamba4.select_school_ou()TestSamba4.get_samba_sam_ldb_path()TestSamba4.get_ucr_test_credentials()TestSamba4.create_umc_connection_authenticate()TestSamba4.delete_samba_gpo()
- univention.testing.ucsschool.ucs_test_school module
syntax_date2_dateformat()udm_formula_for_shadowExpire()force_ucsschool_logger_colorized_if_has_tty()get_ucsschool_logger()SchoolErrorSchoolMissingOUSchoolLDAPErrorBunchUCSTestSchoolUCSTestSchool.ucrUCSTestSchool.LDAP_BASEUCSTestSchool.PATH_CMD_BASEUCSTestSchool.PATH_CMD_CREATE_OUUCSTestSchool.CN_STUDENTUCSTestSchool.CN_TEACHERSUCSTestSchool.CN_TEACHERS_STAFFUCSTestSchool.CN_ADMINSUCSTestSchool.CN_STAFFUCSTestSchool.open_ldap_connection()UCSTestSchool.cleanup()UCSTestSchool.cleanup_ou()UCSTestSchool.remove_dcs_from_global_groups()UCSTestSchool.remove_ucsschool_role_from_dcs()UCSTestSchool.cleanup_default_containers()UCSTestSchool.check_name_edudc()UCSTestSchool.create_ou()UCSTestSchool.create_multiple_ous()UCSTestSchool.cleanup_old_template_ous()UCSTestSchool.cloned_ou()UCSTestSchool.get_district()UCSTestSchool.get_ou_base_dn()UCSTestSchool.get_user_container()UCSTestSchool.get_workinggroup_dn()UCSTestSchool.get_workinggroup_share_dn()UCSTestSchool.create_teacher()UCSTestSchool.create_student()UCSTestSchool.create_exam_student()UCSTestSchool.create_staff()UCSTestSchool.create_teacher_and_staff()UCSTestSchool.create_user()UCSTestSchool.create_school_admin()UCSTestSchool.create_domain_admin()UCSTestSchool.create_global_user()UCSTestSchool.create_school_class()UCSTestSchool.create_workgroup()UCSTestSchool.create_computerroom()UCSTestSchool.create_windows()UCSTestSchool.create_mac()UCSTestSchool.create_ip_managed_client()UCSTestSchool.create_school_dc_slave()UCSTestSchool.delete_test_ous()UCSTestSchool.load_test_ous()UCSTestSchool.store_test_ous()UCSTestSchool.get_ldap_status()UCSTestSchool.diff_ldap_status()
NameDnObjAutoMultiSchoolEnv_GenericAutoMultiSchoolEnv_SchoolAutoMultiSchoolEnvOUClonerOUCloner.clone_ou()OUCloner.pre_clone()OUCloner.post_clone()OUCloner.replace_case_sesitive_and_lower()OUCloner.get_max_rid()OUCloner.get_max_gid_uid()OUCloner.new_username()OUCloner.new_computer_name()OUCloner.clone_object()OUCloner.clone_ou_objects()OUCloner.update_group_members()OUCloner.clone_global_groups()OUCloner.update_global_groups()
- univention.testing.ucsschool.user module
- univention.testing.ucsschool.workgroup module
- univention.testing.browser package
- Submodules
- univention.testing.active_directory module
ActiveDirectoryExceptionSambaToolExceptionSmbClientExceptionLogonFailureExceptionAccountLockedOutExceptionNotLockedOutExceptionActiveDirectorySettingsDomainPasswordsettingsDataDomainPasswordsettingsData.password_complexityDomainPasswordsettingsData.store_plaintext_passwordsDomainPasswordsettingsData.password_history_lengthDomainPasswordsettingsData.minimum_password_lengthDomainPasswordsettingsData.minimum_password_ageDomainPasswordsettingsData.maximum_password_ageDomainPasswordsettingsData.account_lockout_durationDomainPasswordsettingsData.account_lockout_thresholdDomainPasswordsettingsData.reset_account_lockout_after
SharesDataUserDataActiveDirectorySambaToolSmbClientDomainPasswordSettingsUserShares
- univention.testing.apptest module
run_test_file()pip_modules()xserver()ffmpeg_start()ffmpeg_stop()is_local()SessionSession.add_ucs_root_ca_to_chrome_cert_store()Session.capture()Session.wait_until_clickable()Session.wait_until_clickable_and_click()Session.wait_until_gone()Session.goto_portal()Session.portal_login()Session.click_portal_tile()Session.switched_frame()Session.get()Session.get_current_url()Session.reload()Session.find_all()Session.find_all_below()Session.find_first()Session.assert_one()Session.assert_one_below()Session.click_element()Session.click_element_below()Session.change_tab()Session.close_tab()Session.enter_input()Session.enter_input_element()Session.enter_return()Session.enter_shift_tab()Session.enter_tab()Session.drag_and_drop()Session.send_keys()Session.save_screenshot()Session.chrome()Session.running_chrome()
config()hostname()fqdn()admin_username()admin_password()umc()ucs_call()ucr()ucr_module()appcenter()udm()users()new_user()db_conn()selenium_base_url()selenium_screenshot_path()test_logger()chrome()
- univention.testing.codes module
ReasonReason.UNKNOWNReason.SKIPReason.OKAYReason.FIXED_EXPECTEDReason.FIXED_UNEXPECTEDReason.FAILReason.FAIL_UNEXPECTEDReason.FAIL_TRANSIENTReason.FAIL_EXPECTEDReason.UNAVAILABLEReason.IMMATUREReason.VERSION_MISMATCHReason.VERSION_TOO_OLDReason.VERSION_TOO_NEWReason.ROLE_MISMATCHReason.JOINReason.JOINEDReason.INSTALLReason.INSTALLEDReason.DANGERReason.INTERNALReason.ABORTReason.APP_MISMATCHReason.eofsReason.colorReason.lookup()
- univention.testing.conftest module
- univention.testing.connector_common module
random_string()random_bytestring()normalize_dn()to_unicode()restart_univention_cli_server()TestUserNormalUserUtf8UserSpecialUserTestGroupNormalGroupUtf8GroupSpecialGroupTestObjectNormalWindowsNormalContainerNormalOUmap_udm_user_to_con()map_udm_group_to_con()map_udm_windows_to_con()map_udm_container_to_con()map_udm_ou_to_con()create_udm_user()delete_udm_user()create_con_user()delete_con_user()create_udm_group()delete_udm_group()create_con_group()delete_con_group()
- univention.testing.coverage module
MissingCoverageCoverageCoverage.COVERAGE_PTHCoverage.COVERAGE_PTH_CONTENTCoverage.COVERAGE_DEBUG_PATHCoverage.coverageCoverage.COVERAGE_DEBUGCoverage.start()Coverage.write_config_file()Coverage.restart_python_services()Coverage.stop()Coverage.get_argument_group()Coverage.is_candidate()Coverage.startup()Coverage.stop_measurement()Coverage.debug_message()
StopCoverageDecorator
- univention.testing.data module
- univention.testing.debian_package module
BuildRuntimeErrorInstallRuntimeErrorUninstallRuntimeErrorDebianPackageDebianPackage.get_package_name()DebianPackage.get_temp_dir()DebianPackage.get_binary_name()DebianPackage.create_join_script_from_buffer()DebianPackage.create_unjoin_script_from_buffer()DebianPackage.create_usr_share_file_from_buffer()DebianPackage.create_debian_file_from_buffer()DebianPackage.build()DebianPackage.install()DebianPackage.uninstall()DebianPackage.remove()
- univention.testing.decorators module
- univention.testing.errors module
- univention.testing.fixtures_recyclebin module
- univention.testing.internal module
- univention.testing.ldap_glue module
get_rdn()get_parent_dn()to_bytes()get_first()LDAPConnectionLDAPConnection.connect()LDAPConnection.get_kerberos_ticket()LDAPConnection.exists()LDAPConnection.get_attribute()LDAPConnection.get()LDAPConnection.create()LDAPConnection.delete()LDAPConnection.move()LDAPConnection.set_attribute()LDAPConnection.set_attributes()LDAPConnection.set_attribute_with_provision_ctrl()LDAPConnection.delete_attribute()LDAPConnection.append_to_attribute()LDAPConnection.remove_from_attribute()
ADConnectionADConnection.delete()ADConnection.search()ADConnection.get()ADConnection.set_attributes()ADConnection.add_to_group()ADConnection.remove_from_group()ADConnection.getdn()ADConnection.createuser()ADConnection.rename_or_move_user_or_group()ADConnection.group_create()ADConnection.windows_create()ADConnection.getprimarygroup()ADConnection.setprimarygroup()ADConnection.container_create()ADConnection.createou()ADConnection.verify_object()
- univention.testing.ldif module
- univention.testing.license_client module
CredentialsMissingShopParserTestLicenseClientTestLicenseClient.setup_logging()TestLicenseClient.create_connection()TestLicenseClient.close_connection()TestLicenseClient.get_server_password()TestLicenseClient.get_cookie()TestLicenseClient.make_post_request()TestLicenseClient.make_get_request()TestLicenseClient.get_the_license()TestLicenseClient.order_a_license()TestLicenseClient.get_body()TestLicenseClient.download_license_file()TestLicenseClient.check_date_format()TestLicenseClient.update_with_parsed_args()TestLicenseClient.process_cmd_arguments()TestLicenseClient.main()
- univention.testing.mail module
- univention.testing.network module
UCSTestNetworkUCSTestNetworkCannotDetermineExternalAddressUCSTestNetworkCmdFailedUCSTestNetworkUnknownLoopUCSTestNetworkUnknownRedirectionUCSTestNetworkNoWithStatementUCSTestNetworkOnlyOneLoopSupportedNetworkRedirectorNetworkRedirector.BIN_IPTABLESNetworkRedirector.CMD_LIST_LOOPNetworkRedirector.CMD_LIST_REDIRECTIONNetworkRedirector.revert_network_settings()NetworkRedirector.run_commands()NetworkRedirector.add_loop()NetworkRedirector.remove_loop()NetworkRedirector.add_redirection()NetworkRedirector.remove_redirection()
- univention.testing.pytest module
- univention.testing.strings module
- univention.testing.ucr module
- univention.testing.ucs_samba module
- univention.testing.udm module
UCSTestUDM_ExceptionUCSTestUDM_MissingModulenameUCSTestUDM_MissingDnUCSTestUDM_CreateUDMObjectFailedUCSTestUDM_CreateUDMUnknownDNUCSTestUDM_ModifyUDMObjectFailedUCSTestUDM_RestoreUDMObjectFailedUCSTestUDM_MoveUDMObjectFailedUCSTestUDM_NoModificationUCSTestUDM_ModifyUDMUnknownDNUCSTestUDM_RestoreUDMUnknownDNUCSTestUDM_RemoveUDMObjectFailedUCSTestUDM_CleanupFailedUCSTestUDM_CannotModifyExistingObjectUCSTestUDM_ListUDMObjectFailedUCSTestUDM_GetUDMObjectFailedUCSTestUDMUCSTestUDM.PATH_UDM_CLI_SERVERUCSTestUDM.PATH_UDM_CLI_CLIENTUCSTestUDM.PATH_UDM_CLI_CLIENT_WRAPPEDUCSTestUDM.COMPUTER_MODULESUCSTestUDM.ad_object_identifying_filter()UCSTestUDM.LDAP_BASEUCSTestUDM.FQHNUCSTestUDM.UNIVENTION_CONTAINERUCSTestUDM.UNIVENTION_TEMPORARY_CONTAINERUCSTestUDM.create_object()UCSTestUDM.create_with_defaults()UCSTestUDM.modify_object()UCSTestUDM.restore_object()UCSTestUDM.move_object()UCSTestUDM.remove_object()UCSTestUDM.wait_for()UCSTestUDM.create_user()UCSTestUDM.create_ldap_user()UCSTestUDM.remove_user()UCSTestUDM.create_group()UCSTestUDM.addCleanupLock()UCSTestUDM.get_object()UCSTestUDM.list_objects()UCSTestUDM.cleanup()UCSTestUDM.stop_cli_server()UCSTestUDM.verify_udm_object()UCSTestUDM.verify_ldap_object()
UDMverify_udm_object()
- univention.testing.udm_extensions module
get_package_name()get_package_version()get_extension_name()get_extension_filename()call_cmd()call_join_script()call_unjoin_script()get_syntax_buffer()get_hook_buffer()get_module_buffer()get_extension_buffer()get_postinst_script_buffer()get_postrm_script_buffer()get_join_script_buffer()get_unjoin_script_buffer()get_absolute_extension_filename()get_dn_of_extension_by_name()remove_extension_by_name()
- univention.testing.umc module
- univention.testing.utils module
LDAPErrorLDAPReplicationFailedLDAPObjectNotFoundLDAPUnexpectedObjectFoundLDAPObjectValueMissingLDAPObjectUnexpectedValueUCSTestDomainAdminCredentialsget_ldap_connection()retry_on_error()verify_ldap_object()s4connector_present()stop_s4connector()start_s4connector()restart_s4connector()stop_slapd()start_slapd()restart_slapd()stop_listener()start_listener()restart_listener()restart_firewall()AutomaticListenerRestartAutoCallCommandFollowLogfileReplicationTypewait_for_replication_from_master_openldap_to_local_samba()wait_for_replication_from_local_samba_to_local_openldap()wait_for()wait_for_drs_replication()wait_for_listener_replication()get_lid()wait_for_listener_replication_and_postrun()wait_for_s4connector_replication()wait_for_replication()wait_for_replication_and_postrun()wait_for_connector_replication()package_installed()fail()uppercase_in_ldap_base()is_udp_port_open()is_port_open()no_change_in_file()wait_for_s4_connector_to_be_inactive()
- Subpackages
- univention.ucslint package
- Submodules
- univention.ucslint.base module
noqa()line_regexp()UPCMessageUniventionPackageCheckBaseUniventionPackageCheckDebianUCSLintExceptionDebianControlNotEnoughSectionsDebianControlParsingErrorFailedToReadFileDebianControlEntryDebianControlSourceDebianControlBinaryParserDebianControlRegExTestUPCFileTesterFilteredDirWalkGenerator
- univention.ucslint.common module
- univention.ucslint.main module
- univention.ucslint.python module
- univention.udm package
UDMApiVersionMustNotChangeApiVersionNotSupportedConnectionErrorCreateErrorDeleteErrorDeletedErrorModifyErrorMoveErrorMultipleObjectsNoApiVersionSetNoObjectNoSuperordinateNotYetSavedErrorUdmErrorUnknownModuleTypeUnknownPropertyWrongObjectType- Subpackages
- univention.udm.modules package
- Submodules
- univention.udm.modules.appcenter_app module
- univention.udm.modules.computers_all module
- univention.udm.modules.container_cn module
- univention.udm.modules.container_dc module
- univention.udm.modules.container_ou module
- univention.udm.modules.generic module
- univention.udm.modules.groups_group module
- univention.udm.modules.mail_all module
- univention.udm.modules.nagios_service module
- univention.udm.modules.policies_registry module
- univention.udm.modules.policies_share_userquota module
- univention.udm.modules.policies_umc module
- univention.udm.modules.portal module
ListOfListOflTextToListofDictPropertyEncoderPortalsPortalObjectPropertiesPortalsPortalObjectPortalsPortalModulePortalsCategoryObjectPropertiesPortalsCategoryObjectPortalsCategoryModulePortalsPortalEntryObjectPropertiesPortalsPortalEntryObjectPortalsPortalEntryModulePortalsPortalFolderObjectPropertiesPortalsPortalFolderObjectPortalsPortalFolderModulePortalsPortalAnnouncementObjectPropertiesPortalsPortalAnnouncementObjectPortalsPortalAnnouncementModule
- univention.udm.modules.settings_data module
- univention.udm.modules.settings_directory module
- univention.udm.modules.users_ldap_v0 module
- univention.udm.modules.users_ldap_v1 module
- univention.udm.modules.users_user module
- univention.udm.modules package
- Submodules
- univention.udm.base module
- univention.udm.binary_props module
- univention.udm.connections module
- univention.udm.encoders module
BaseEncoderBase64BinaryPropertyEncoderBase64Bzip2BinaryPropertyEncoderDatePropertyEncoderDisabledPropertyEncoderHomePostalAddressPropertyEncoderListOfListOflTextToDictPropertyEncoderMultiLanguageTextAppcenterPropertyEncoderSambaGroupTypePropertyEncoderSambaLogonHoursPropertyEncoderStringCaseInsensitiveResultLowerBooleanPropertyEncoderStringCaseInsensitiveResultLowerBooleanPropertyEncoder.staticStringCaseInsensitiveResultLowerBooleanPropertyEncoder.result_case_funcStringCaseInsensitiveResultLowerBooleanPropertyEncoder.false_stringStringCaseInsensitiveResultLowerBooleanPropertyEncoder.true_stringStringCaseInsensitiveResultLowerBooleanPropertyEncoder.decode()StringCaseInsensitiveResultLowerBooleanPropertyEncoder.encode()
StringCaseInsensitiveResultUpperBooleanPropertyEncoderStringIntBooleanPropertyEncoderStringIntPropertyEncoderStringListToListDnListPropertyEncoderPoliciesEncoderCnameListPropertyEncoderDnsEntryZoneAliasListPropertyEncoderDnsEntryZoneForwardListMultiplePropertyEncoderDnsEntryZoneForwardListSinglePropertyEncoderDnsEntryZoneReverseListMultiplePropertyEncoderDnsEntryZoneReverseListSinglePropertyEncoderDnPropertyEncoderdn_list_property_encoder_for()dn_property_encoder_for()
- univention.udm.exceptions module
- univention.udm.helpers module
- univention.udm.plugins module
- univention.udm.udm module
- univention.udm.utils module
- univention.updater package
UniventionUpdaterUniventionUpdater.call_sh_files()UniventionUpdater.component()UniventionUpdater.component_update_get_packages()UniventionUpdater.config_repository()UniventionUpdater.get_all_available_release_updates()UniventionUpdater.get_components()UniventionUpdater.get_next_version()UniventionUpdater.get_releases()UniventionUpdater.get_sh_files()UniventionUpdater.print_component_repositories()UniventionUpdater.release_update_available()UniventionUpdater.release_update_temporary_sources_list()UniventionUpdater.run_dist_upgrade()UniventionUpdater.ucr_reinit()
- Subpackages
- univention.updater.scripts package
- Submodules
- univention.updater.scripts.actualize module
- univention.updater.scripts.kernel module
- univention.updater.scripts.list_installed_unmaintained_packages module
- univention.updater.scripts.policy_maintenance module
- univention.updater.scripts.policy_repo_server module
- univention.updater.scripts.policy_repo_sync module
- univention.updater.scripts.repo_create module
- univention.updater.scripts.repo_update module
- univention.updater.scripts.statistics module
- univention.updater.scripts.updater module
- univention.updater.scripts.upgrade module
- univention.updater.scripts package
- Submodules
- univention.updater.commands module
- univention.updater.errors module
- univention.updater.locking module
- univention.updater.mirror module
- univention.updater.repo_url module
- univention.updater.repository module
- univention.updater.tools module
verify_script()UCSRepoPool5UCSRepoPoolUCSRepoPoolNoArchUCSHttpServerUCSHttpServer.HTTPHeadHandlerUCSHttpServer.logUCSHttpServer.http_methodUCSHttpServer.head_handlerUCSHttpServer.password_managerUCSHttpServer.auth_handlerUCSHttpServer.proxy_handlerUCSHttpServer.openerUCSHttpServer.failed_hostsUCSHttpServer.prefixUCSHttpServer.reinit()UCSHttpServer.load_credentials()UCSHttpServer.join()UCSHttpServer.access()
UCSLocalServerComponentComponent.FN_APTSOURCESComponent.UCRVComponent.AVAILABLEComponent.NOT_FOUNDComponent.DISABLEDComponent.UNKNOWNComponent.PERMISSION_DENIEDComponent.ucrv()Component.currentComponent.default_packagesComponent.defaultpackage_installed()Component.baseurl()Component.server()Component.versions()Component.repositories()Component.status()Component.layout
UniventionUpdaterUniventionUpdater.config_repository()UniventionUpdater.ucr_reinit()UniventionUpdater.get_releases()UniventionUpdater.get_next_version()UniventionUpdater.get_all_available_release_updates()UniventionUpdater.release_update_available()UniventionUpdater.release_update_temporary_sources_list()UniventionUpdater.component()UniventionUpdater.get_components()UniventionUpdater.component_update_get_packages()UniventionUpdater.run_dist_upgrade()UniventionUpdater.print_component_repositories()UniventionUpdater.call_sh_files()UniventionUpdater.get_sh_files()
LocalUpdater
Submodules#
univention.config_registry_info module#
- class univention.config_registry_info.Variable(registered: bool = True)[source]#
Bases:
LocalizedDictionaryUCR variable description.
- class univention.config_registry_info.Category[source]#
Bases:
LocalizedDictionaryUCR category description.
- class univention.config_registry_info.ConfigRegistryInfo(install_mode: bool = False, registered_only: bool = True, load_customized: bool = True)[source]#
Bases:
objectUCR variable and category descriptions.
Initialize variable and category descriptions.
- Parameters:
install_mode – True deactivates the use of an UCR instance.
registered_only – False creates synthetic entries for all undescribed but set variables.
load_customized – False deactivates loading customized descriptions.
- BASE_DIR = '/etc/univention/registry.info'#
- CATEGORIES = 'categories'#
- VARIABLES = 'variables'#
- CUSTOMIZED = '_customized'#
- FILE_SUFFIX = '.cfg'#
- check_categories() dict[str, list[str]][source]#
Check all categories for completeness.
- Returns:
dictionary of incomplete category descriptions.
- check_variables() dict[str, list[str]][source]#
Check variables.
- Returns:
dictionary of incomplete variable descriptions.
- read_categories(filename: str) None[source]#
Load a single category description file.
- Parameters:
filename – File to load.
- describe_search_term(term: str) dict[str, Variable][source]#
Try to apply a description to a search term.
This is not complete, because it would require a complete “intersect two regular languages” algorithm.
- Parameters:
term – Search term.
- Returns:
Dictionary mapping variable pattern to Variable info blocks.
- read_variables(filename: str | None = None, package: str | None = None, override: bool = False) None[source]#
Read variable descriptions.
- Parameters:
filename – Explicit filename for loading.
package – Explicit package name.
override – True to overwrite already loaded descriptions.
- Raises:
AttributeError – if neither filename nor package are given.
- get_categories() Iterable[str][source]#
Return a list of category names.
- Returns:
List if categories.
- get_category(name: str) Category | None[source]#
Returns a category object associated with the given name or None.
- Parameters:
name – Name of the category.
- Returns:
- get_variables(category: str | None = None) dict[str, Variable][source]#
Return dictionary of variable info blocks belonging to given category.
- Parameters:
category – Name of the category. None defaults to all variables.
- Returns:
Dictionary mapping variable-name to
Variableinstance.
- get_variable(key: str) Variable | None[source]#
Return the description of a variable.
- Parameters:
key – Variable name.
- Returns:
description object or None.
univention.debhelper module#
Debhelper compatible routines.
- univention.debhelper.doIt(*argv: str) int[source]#
Execute argv and wait.
- Parameters:
argv – List of command and arguments.
>>> doIt('true') 0
- univention.debhelper.binary_packages() list[str][source]#
Get list of binary packages from debian/control file.
>>> binary_packages() [...]
- univention.debhelper.parseRfc822(f: str) list[dict[str, list[str]]][source]#
Parses string f as a RFC 822 conforming file and returns list of sections, each a dict mapping keys to lists of values. Splits file into multiple sections separated by blank line.
- Parameters:
f – The messate to parse.
- Returns:
A list of dictionaries.
Note
For real Debian files, use the
debian.deb822module from the python-debian package.>>> res = parseRfc822('Type: file\nFile: /etc/fstab\n\nType: Script\nScript: /bin/false\n') >>> res == [{'Type': ['file'], 'File': ['/etc/fstab']}, {'Type': ['Script'], 'Script': ['/bin/false']}] True >>> parseRfc822('') [] >>> parseRfc822('\n') [] >>> parseRfc822('\n\n') []
- univention.debhelper.parser_dh_sequence(parser: ArgumentParser, argv: Sequence[str] | None = None) Namespace[source]#
Add common argument for Debian helper sequence.
- Parameters:
parser – argument parser
- Returns:
parsed arguments
>>> parser = ArgumentParser() >>> args = parser_dh_sequence(parser, ["-v"]) >>> args.verbose True
univention.debug module#
Univention debugging and logging library.
example:
>>> f = init('stdout', NO_FLUSH, FUNCTION)
... ... DEBUG_INIT
>>> set_level(LISTENER, ERROR)
- univention.debug.begin()#
begin(fname) - Function starts here.
Log the begin of function ‘fname’. fname - name of the function starting.
- univention.debug.debug(category, level, message, utf8=True)[source]#
Log message ‘message’ of severity ‘level’ to facility ‘category’.
- Parameters:
>>> debug(LISTENER, ERROR, 'Fatal error: var=%s' % 42) ... ... LISTENER ( ERROR ) : Fatal error: var=42
- univention.debug.end()#
end(fname) - Function ends here.
Log the end of function ‘fname’. fname - name of the function ending.
- univention.debug.exit()#
exit() - Close debug log.
Close the debug logfile.
- class univention.debug.function(fname, utf8=True)[source]#
Bases:
objectLog function call begin and end.
- Parameters:
Deprecated since version 4.4: Use function decorator
trace()instead.>>> def my_func(agr1, agr2=None): ... _d = function('my_func(...)') # noqa: F841 ... return 'yes' >>> my_func(42) 'yes'
- univention.debug.get_level(category) int - Get debug level for category.#
Get minimum required severity for facility ‘category’. category - ID of the category, e.g. MAIN, LDAP, USERS, …
- univention.debug.init()#
init(logfile, force_flush, trace_function, structured) - Initialize debugging library.
Initialize debugging library for logging to ‘logfile’. logfile - name of the logfile, or ‘stderr’, or ‘stdout’. force_flush - force flushing of messages (True). trace_function - enable (True) or disable (False) function tracing. structured - enable (True) or disable (False) structured logging.
- univention.debug.reopen()#
reopen() - Re-open logfile.
Close and re-open the debug logfile.
- univention.debug.set_function()#
set_function(activate) - Enable function tracing.
Enable or disable the logging of function begins and ends. activate - enable (True) or disable (False) function tracing.
- univention.debug.set_level()#
set_level(category, level) - Set debug level for category.
Set minimum required severity ‘level’ for facility ‘category’. category - ID of the category, e.g. MAIN, LDAP, USERS, … level - Level of logging, e.g. ERROR, WARN, PROCESS, INFO, ALL
- univention.debug.set_structured()#
set_structured(activate) - Define weather to use structured logging formats.
activate - enable (True) or disable (False) structured logging format..
- univention.debug.trace(with_args=True, with_return=False, repr=<slot wrapper '__repr__' of 'object' objects>)[source]#
Log function call, optional with arguments and result.
- Parameters:
>>> @trace(with_args=True, with_return=True) ... def my_func(arg1, arg2=None): ... return 'yes' >>> my_func(42) 'yes' >>> class MyClass(object): ... @trace(with_args=True, with_return=True, repr=repr) ... def my_meth(self, arg1, arg2=None): ... return 'yes' >>> MyClass().my_meth(42) 'yes' >>> @trace() ... def my_bug(): ... 1 / 0 >>> my_bug() Traceback (most recent call last): ... ZeroDivisionError: integer division or modulo by zero
univention.debug2 module#
Python native Univention debugging library.
See univention.debug for an alternative being a wrapper for the C
implementation.
- univention.debug2.init(logfile, force_flush=0, enable_function=0, enable_syslog=0)[source]#
Initialize debugging library for logging to ‘logfile’.
- Parameters:
- Returns:
output file or None.
- univention.debug2.set_level(category, level)[source]#
Set minimum required severity ‘level’ for facility ‘category’.
- univention.debug2.get_level(category)[source]#
Get minimum required severity for facility ‘category’.
- univention.debug2.set_function(activate)[source]#
Enable or disable the logging of function begins and ends.
- Parameters:
activate (bool) – enable (True) or disable (False) function tracing.
Deprecated since version 4.4: Use function decorator
trace()instead.
- univention.debug2.debug(category, level, message, utf8=True)[source]#
Log message ‘message’ of severity ‘level’ to facility ‘category’.
- class univention.debug2.function(fname, utf8=True)[source]#
Bases:
objectLog function call begin and end.
- Parameters:
Deprecated since version 4.4: Use function decorator
trace()instead.>>> def my_func(agr1, agr2=None): ... _d = function('my_func(...)') # noqa: F841 ... return 'yes' >>> my_func(42) 'yes'
- univention.debug2.trace(with_args=True, with_return=False, repr=<slot wrapper '__repr__' of 'object' objects>)[source]#
Log function call, optional with arguments and result.
- Parameters:
>>> @trace(with_args=True, with_return=True) ... def my_func(arg1, arg2=None): ... return 'yes' >>> my_func(42) 'yes' >>> class MyClass(object): ... @trace(with_args=True, with_return=True, repr=repr) ... def my_meth(self, arg1, arg2=None): ... return 'yes' >>> MyClass().my_meth(42) 'yes' >>> @trace() ... def my_bug(): ... 1 / 0 >>> my_bug() Traceback (most recent call last): ... ZeroDivisionError: integer division or modulo by zero
univention.dn module#
A convenient wrapper to easily work with LDAP Distinguished Names (DNs)
- class univention.dn.DN(dn: str)[source]#
Bases:
objectA LDAP Distinguished Name.
- dn#
- endswith(other: str | Self)[source]#
>>> DN('foo=1,bar=2').endswith('bar=2') True >>> DN('foo=1,bar=2').endswith('foo=1') False
- startswith(other: str | Self)[source]#
>>> DN('foo=1,bar=2').startswith('foo=1') True >>> DN('foo=1,bar=2').startswith('bar=2') False
- walk(base)[source]#
>>> [str(x) for x in DN('foo=1,bar=2,baz=3,blub=4').walk('baz=3,blub=4')] ['baz=3,blub=4', 'bar=2,baz=3,blub=4', 'foo=1,bar=2,baz=3,blub=4']
univention.info_tools module#
- class univention.info_tools.LocalizedValue(*args, **kwargs)[source]#
Bases:
dictLocalized description entry.
- class univention.info_tools.LocalizedDictionary[source]#
Bases:
dictLocalized descriptions.
- class univention.info_tools.UnicodeConfig[source]#
Bases:
ConfigParser- read(filename, encoding='UTF-8')[source]#
Read and parse a filename or an iterable of filenames.
Files that cannot be opened are silently ignored; this is designed so that you can specify an iterable of potential configuration file locations (e.g. current directory, user’s home directory, systemwide directory), and all existing configuration files in the iterable will be read. A single filename may also be given.
Return list of successfully read files.
univention.ldif module#
Univention LDIF tool
- univention.ldif.ldif_decode(src: ~typing.IO[str] = <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>, dst: ~typing.IO[bytes] = <_io.BufferedWriter name='<stdout>'>) None[source]#
Decode bas64 in LDIF.
univention.logging module#
A python-logging interface compatible wrapper for logging with univention.debug
>>> import univention.logging
>>> import logging
>>> logger = logging.getLogger('MAIN').getChild(__name__)
>>> univention.logging.basicConfig(level=logging.INFO)
>>> logger.info('test')
- class univention.logging.DebugHandler(category=0, level=0, auto_init=False, delay_init=False, do_exit=True, filename='stderr')[source]#
Bases:
HandlerA logging handler which logs to
univention.debugInitializes the instance - basically setting the formatter to None and the filter list to empty.
- emit(record)[source]#
Do whatever it takes to actually log the specified logging record.
This version is intended to be implemented by subclasses and so raises a NotImplementedError.
- init(filename='stderr', flush=0, function=0, structured=False)[source]#
Initialize
univention.debug. Must only be called once. returns the file descriptor on success
- reopen()[source]#
reopen the
univention.debuglogfile. must be called e.g. after log rotation.
- class univention.logging.LevelDependentFormatter(datefmt=None, log_pid=False)[source]#
Bases:
FormatterA formatter which logs different formats depending on the log level.
Deprecated since version 5.2-3: unstructured logging with different formats will be removed in UCS 5.2-5.
Initialize the formatter with specified format strings.
Initialize the formatter either with the specified format string, or a default as described above. Allow for specialized date formatting with the optional datefmt argument. If datefmt is omitted, you get an ISO8601-like (or RFC 3339-like) format.
Use a style parameter of ‘%’, ‘{’ or ‘$’ to specify that you want to use one of %-formatting,
str.format()({}) formatting orstring.Templateformatting in your format string.Changed in version 3.2: Added the
styleparameter.- RESERVED = ('args', 'asctime', 'created', 'exc_info', 'exc_text', 'filename', 'funcName', 'levelname', 'levelno', 'lineno', 'message', 'module', 'msecs', 'msg', 'name', 'pathname', 'process', 'processName', 'relativeCreated', 'stack_info', 'taskName', 'thread', 'threadName', 'prefix', 'request_id', 'pid', 'umcmodule')#
- format(record)[source]#
Format the specified record as text.
The record’s attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.
- class univention.logging.Logger(name, level=0, log_pid=False, **kwargs)[source]#
Bases:
LoggerA logger which automatically adds
univention.debugas logging handler.Can be set as global default logger via
logging.setLoggerClass(univention.logging.Logger).Initialize the logger with a name and an optional level.
- getEffectiveLevel()[source]#
Get the effective level for this logger.
Loop through this logger and its parents in the logger hierarchy, looking for a non-zero logging level. Return the first one found.
- init(filename='stderr', flush=0, function=0, structured=False)[source]#
init
univention.debug. must only be called once. returns the file descriptor on success
- reopen()[source]#
reopen the
univention.debuglogfile. must be called e.g. after log rotation.
- class univention.logging.StructuredFormatter(fmt=None, *, defaults=None, data_fields=None, data_mapping=None, data_defaults=None, data_ignored_keys=None, add_full_tracebacks=True, with_date_prefix=False, key='logfmt')[source]#
Bases:
FormatterA formatter combining prefixed content and structured data from logfmt.
Producing log lines like:
2025-01-01T00:00:00.000000+00:00 INFO [ -] module.function:1 the messaget| pid=12345 logname=ADMIN
Initialize the formatter with specified format strings.
Initialize the formatter either with the specified format string, or a default as described above. Allow for specialized date formatting with the optional datefmt argument. If datefmt is omitted, you get an ISO8601-like (or RFC 3339-like) format.
Use a style parameter of ‘%’, ‘{’ or ‘$’ to specify that you want to use one of %-formatting,
str.format()({}) formatting orstring.Templateformatting in your format string.Changed in version 3.2: Added the
styleparameter.- format(record)[source]#
Format the specified record as text.
The record’s attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.
- formatTime(record, datefmt=None)[source]#
Return the creation time of the specified LogRecord as formatted text.
This method should be called from format() by a formatter which wants to make use of a formatted time. This method can be overridden in formatters to provide for any specific requirement, but the basic behaviour is as follows: if datefmt (a string) is specified, it is used with time.strftime() to format the creation time of the record. Otherwise, an ISO8601-like (or RFC 3339-like) format is used. The resulting string is returned. This function uses a user-configurable function to convert the creation time to a tuple. By default, time.localtime() is used; to change this for a particular formatter instance, set the ‘converter’ attribute to a function with the same signature as time.localtime() or time.gmtime(). To change it for all formatters, for example if you want all logging times to be shown in GMT, set the ‘converter’ attribute in the Formatter class.
- univention.logging.basicConfig(filename='stdout', level=None, *, univention_debug_level=None, log_pid=False, univention_debug_flush=1, univention_debug_function=0, univention_debug_categories=None, do_exit=True, delay_init=False, use_structured_logging=False, **kwargs)[source]#
Do basic configuration for the logging system. Especially initialize the
loggingmodule so that it usesunivention.debug:>>> import logging >>> basicConfig(level=logging.DEBUG) >>> logger = logging.getLogger('ADMIN').getChild(__name__) >>> logger.info('some info')
- univention.logging.extendLogger(name: str, **kwargs: Any) None[source]#
Ensure that the logger with the specified name is a univention-debug logger otherwise transform it.
- Parameters:
name – The name of the logger.
univention_debug_category – A
univention.debugcategory (if not given name will be used). If the logger name should differ from the univention-debug category this param can be used as initialization call to create the logger once.
>>> import logging >>> logger = logging.getLogger('myservice') >>> extendLogger('myservice', univention_debug_category='MAIN') >>> logger.init('stdout', ud.FLUSH, ud.NO_FUNCTION) >>> logger.setLevel(logging.WARNING) >>> logger.warning('some warning')
- univention.logging.getLogger(name: str, **kwargs: Any) Logger[source]#
Return a logger with the specified name, creating it if necessary.
- Parameters:
name – The name of a
univention.debugcategory (if not existant ud.MAIN will be used)extend – Whether a non univention-debug logger should be extended to be one.
univention_debug_category – If the logger name should differ from the univention-debug category this param can be used as initialization call to create the logger once.
Warning
If a logger with that name already exists and is not a
univention.logging.Loggerno univention-debug logger is initialized and returned.>>> logger = getLogger('ADMIN') # .getChild(__name__) >>> logger.init('stdout', ud.FLUSH, ud.NO_FUNCTION) >>> logger.setLevel(logging.WARNING) >>> logger.info('some info') >>> logger.error('some error')
- class univention.logging.BufferingFormatter(linefmt=None)[source]#
Bases:
objectA formatter suitable for formatting a number of records.
Optionally specify a formatter which will be used to format each individual record.
Return the footer string for the specified records.
- class univention.logging.FileHandler(filename, mode='a', encoding=None, delay=False, errors=None)[source]#
Bases:
StreamHandlerA handler class which writes formatted logging records to disk files.
Open the specified file and use it as the stream for logging.
- class univention.logging.Filter(name='')[source]#
Bases:
objectFilter instances are used to perform arbitrary filtering of LogRecords.
Loggers and Handlers can optionally use Filter instances to filter records as desired. The base filter class only allows events which are below a certain point in the logger hierarchy. For example, a filter initialized with “A.B” will allow events logged by loggers “A.B”, “A.B.C”, “A.B.C.D”, “A.B.D” etc. but not “A.BB”, “B.A.B” etc. If initialized with the empty string, all events are passed.
Initialize a filter.
Initialize with the name of the logger which, together with its children, will have its events allowed through the filter. If no name is specified, allow every event.
- class univention.logging.Formatter(fmt=None, datefmt=None, style='%', validate=True, *, defaults=None)[source]#
Bases:
objectInitialize the formatter with specified format strings.
Initialize the formatter either with the specified format string, or a default as described above. Allow for specialized date formatting with the optional datefmt argument. If datefmt is omitted, you get an ISO8601-like (or RFC 3339-like) format.
Use a style parameter of ‘%’, ‘{’ or ‘$’ to specify that you want to use one of %-formatting,
str.format()({}) formatting orstring.Templateformatting in your format string.Changed in version 3.2: Added the
styleparameter.- converter()#
- localtime([seconds]) -> (tm_year,tm_mon,tm_mday,tm_hour,tm_min,
tm_sec,tm_wday,tm_yday,tm_isdst)
Convert seconds since the Epoch to a time tuple expressing local time. When ‘seconds’ is not passed in, convert the current time instead.
- default_msec_format = '%s,%03d'#
- default_time_format = '%Y-%m-%d %H:%M:%S'#
- format(record)[source]#
Format the specified record as text.
The record’s attribute dictionary is used as the operand to a string formatting operation which yields the returned string. Before formatting the dictionary, a couple of preparatory steps are carried out. The message attribute of the record is computed using LogRecord.getMessage(). If the formatting string uses the time (as determined by a call to usesTime(), formatTime() is called to format the event time. If there is exception information, it is formatted using formatException() and appended to the message.
- formatException(ei)[source]#
Format and return the specified exception information as a string.
This default implementation just uses traceback.print_exception()
- formatStack(stack_info)[source]#
This method is provided as an extension point for specialized formatting of stack information.
The input data is a string as returned from a call to
traceback.print_stack(), but with the last trailing newline removed.The base implementation just returns the value passed in.
- formatTime(record, datefmt=None)[source]#
Return the creation time of the specified LogRecord as formatted text.
This method should be called from format() by a formatter which wants to make use of a formatted time. This method can be overridden in formatters to provide for any specific requirement, but the basic behaviour is as follows: if datefmt (a string) is specified, it is used with time.strftime() to format the creation time of the record. Otherwise, an ISO8601-like (or RFC 3339-like) format is used. The resulting string is returned. This function uses a user-configurable function to convert the creation time to a tuple. By default, time.localtime() is used; to change this for a particular formatter instance, set the ‘converter’ attribute to a function with the same signature as time.localtime() or time.gmtime(). To change it for all formatters, for example if you want all logging times to be shown in GMT, set the ‘converter’ attribute in the Formatter class.
- class univention.logging.Handler(level=0)[source]#
Bases:
FiltererHandler instances dispatch logging events to specific destinations.
The base handler class. Acts as a placeholder which defines the Handler interface. Handlers can optionally use Formatter instances to format records as desired. By default, no formatter is specified; in this case, the ‘raw’ message as determined by record.message is logged.
Initializes the instance - basically setting the formatter to None and the filter list to empty.
- close()[source]#
Tidy up any resources used by the handler.
This version removes the handler from an internal map of handlers, _handlers, which is used for handler lookup by name. Subclasses should ensure that this gets called from overridden close() methods.
- emit(record)[source]#
Do whatever it takes to actually log the specified logging record.
This version is intended to be implemented by subclasses and so raises a NotImplementedError.
- flush()[source]#
Ensure all logging output has been flushed.
This version does nothing and is intended to be implemented by subclasses.
- format(record)[source]#
Format the specified record.
If a formatter is set, use it. Otherwise, use the default formatter for the module.
- handle(record)[source]#
Conditionally emit the specified logging record.
Emission depends on filters which may have been added to the handler. Wrap the actual emission of the record with acquisition/release of the I/O thread lock. Returns whether the filter passed the record for emission.
- handleError(record)[source]#
Handle errors which occur during an emit() call.
This method should be called from handlers when an exception is encountered during an emit() call. If raiseExceptions is false, exceptions get silently ignored. This is what is mostly wanted for a logging system - most users will not care about errors in the logging system, they are more interested in application errors. You could, however, replace this with a custom handler if you wish. The record which was being processed is passed in to this method.
- property name#
- class univention.logging.LogRecord(name, level, pathname, lineno, msg, args, exc_info, func=None, sinfo=None, **kwargs)[source]#
Bases:
objectA LogRecord instance represents an event being logged.
LogRecord instances are created every time something is logged. They contain all the information pertinent to the event being logged. The main information passed in is in msg and args, which are combined using str(msg) % args to create the message field of the record. The record also includes information such as when the record was created, the source line where the logging call was made, and any exception information to be logged.
Initialize a logging record with interesting information.
- class univention.logging.LoggerAdapter(logger, extra=None)[source]#
Bases:
objectAn adapter for loggers which makes it easier to specify contextual information in logging output.
Initialize the adapter with a logger and a dict-like object which provides contextual information. This constructor signature allows easy stacking of LoggerAdapters, if so desired.
You can effectively pass keyword arguments as shown in the following example:
adapter = LoggerAdapter(someLogger, dict(p1=v1, p2=”v2”))
- exception(msg, *args, exc_info=True, **kwargs)[source]#
Delegate an exception call to the underlying logger.
- log(level, msg, *args, **kwargs)[source]#
Delegate a log call to the underlying logger, after adding contextual information from this adapter instance.
- property manager#
- property name#
- process(msg, kwargs)[source]#
Process the logging message and keyword arguments passed in to a logging call to insert contextual information. You can either manipulate the message itself, the keyword args or both. Return the message and kwargs modified (or not) to suit your needs.
Normally, you’ll only need to override this one method in a LoggerAdapter subclass for your specific needs.
- class univention.logging.NullHandler(level=0)[source]#
Bases:
HandlerThis handler does nothing. It’s intended to be used to avoid the “No handlers could be found for logger XXX” one-off warning. This is important for library code, which may contain code to log events. If a user of the library does not configure logging, the one-off warning might be produced; to avoid this, the library developer simply needs to instantiate a NullHandler and add it to the top-level logger of the library module or package.
Initializes the instance - basically setting the formatter to None and the filter list to empty.
- class univention.logging.StreamHandler(stream=None)[source]#
Bases:
HandlerA handler class which writes logging records, appropriately formatted, to a stream. Note that this class does not close the stream, as sys.stdout or sys.stderr may be used.
Initialize the handler.
If stream is not specified, sys.stderr is used.
- emit(record)[source]#
Emit a record.
If a formatter is specified, it is used to format the record. The record is then written to the stream with a trailing newline. If exception information is present, it is formatted using traceback.print_exception and appended to the stream. If the stream has an ‘encoding’ attribute, it is used to determine how to do the output to the stream.
- setStream(stream)[source]#
Sets the StreamHandler’s stream to the specified value, if it is different.
Returns the old stream, if the stream was changed, or None if it wasn’t.
- terminator = '\n'#
- univention.logging.addLevelName(level, levelName)[source]#
Associate ‘levelName’ with ‘level’.
This is used when converting levels to text during message formatting.
- univention.logging.captureWarnings(capture)[source]#
If capture is true, redirect all warnings to the logging package. If capture is False, ensure that warnings are not redirected to logging but to their original destinations.
- univention.logging.critical(msg, *args, **kwargs)[source]#
Log a message with severity ‘CRITICAL’ on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.
- univention.logging.debug(msg, *args, **kwargs)[source]#
Log a message with severity ‘DEBUG’ on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.
- univention.logging.disable(level=50)[source]#
Disable all logging calls of severity ‘level’ and below.
- univention.logging.error(msg, *args, **kwargs)[source]#
Log a message with severity ‘ERROR’ on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.
- univention.logging.exception(msg, *args, exc_info=True, **kwargs)[source]#
Log a message with severity ‘ERROR’ on the root logger, with exception information. If the logger has no handlers, basicConfig() is called to add a console handler with a pre-defined format.
- univention.logging.fatal(msg, *args, **kwargs)[source]#
Don’t use this function, use critical() instead.
- univention.logging.getLevelName(level)[source]#
Return the textual or numeric representation of logging level ‘level’.
If the level is one of the predefined levels (CRITICAL, ERROR, WARNING, INFO, DEBUG) then you get the corresponding string. If you have associated levels with names using addLevelName then the name you have associated with ‘level’ is returned.
If a numeric value corresponding to one of the defined levels is passed in, the corresponding string representation is returned.
If a string representation of the level is passed in, the corresponding numeric value is returned.
If no matching numeric or string value is passed in, the string ‘Level %s’ % level is returned.
- univention.logging.getLoggerClass()[source]#
Return the class to be used when instantiating a logger.
- univention.logging.info(msg, *args, **kwargs)[source]#
Log a message with severity ‘INFO’ on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.
- univention.logging.log(level, msg, *args, **kwargs)[source]#
Log ‘msg % args’ with the integer severity ‘level’ on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.
- univention.logging.makeLogRecord(dict)[source]#
Make a LogRecord whose attributes are defined by the specified dictionary, This function is useful for converting a logging event received over a socket connection (which is sent as a dictionary) into a LogRecord instance.
- univention.logging.setLoggerClass(klass)[source]#
Set the class to be used when instantiating a logger. The class should define __init__() such that only a name argument is required, and the __init__() should call Logger.__init__()
- univention.logging.shutdown(handlerList=[<weakref at 0x7f8f10bac220; to 'StreamHandler'>, <weakref at 0x7f8f1da946d0; to 'StreamHandler'>, <weakref at 0x7f8f10c75a80; to 'AdminEmailHandler'>, <weakref at 0x7f8f0b8c4220; to 'FileHandler'>, <weakref at 0x7f8f0a2d86d0; to 'FileHandler'>, <weakref at 0x7f8f09c67a60; to 'FileHandler'>, <weakref at 0x7f8f09b5e1b0; to 'FileHandler'>, <weakref at 0x7f8f09b5e2a0; to 'FileHandler'>, <weakref at 0x7f8f09b5e390; to 'FileHandler'>, <weakref at 0x7f8f095c6160; to 'StreamHandler'>, <weakref at 0x7f8f0719df30; to 'UniFileHandler'>])[source]#
Perform any cleanup actions in the logging system (e.g. flushing buffers).
Should be called at application exit.
- univention.logging.warning(msg, *args, **kwargs)[source]#
Log a message with severity ‘WARNING’ on the root logger. If the logger has no handlers, call basicConfig() to add a console handler with a pre-defined format.
univention.password module#
- univention.password.password_config(scope=None)[source]#
Read password configuration options from UCR.
- univention.password.generate_password(digits=6, lower=6, other=0, upper=6, forbidden='', min_length=24)[source]#
Generate random password using given parameters. Whitespaces are implicitly forbidden.
- Parameters:
digits (
int) – Minimal number of digits in generated password. 0 excludes it from the password.lower (
int) – Minimal number of lowercase ASCII letters in generated password. 0 excludes it from the password.other (
int) – Minimal number of special characters in generated password. 0 excludes it from the password.upper (
int) – Minimal number of uppercase ASCII letters in generated password. 0 excludes it from the password.forbidden (
str) – Forbidden characters in generated password.min_length (
int) – Minimal length of generated password.
- Returns:
Randomly generated password.
- Return type:
- Raises:
ValueError – In case any password quality precondition fails.
univention.pkgdb module#
Univention Package Database Python module for the package database
- univention.pkgdb.parse_options()[source]#
- parse options and return <options> with
<options.debug> <options.action> <options.system> <options.db_server> set
- univention.pkgdb.sql_grant_system(connection, cursor, sysname)[source]#
Datenbankbenutzer hinzufügen
- univention.pkgdb.sql_revoke_system(connection, cursor, sysname)[source]#
Datenbankbenutzer entfernen
- univention.pkgdb.sql_put_sys_in_systems(cursor, sysname, sysversion, sysrole, ldaphostdn, architecture)[source]#
insert a system name into the system-table (or update its data)
- univention.pkgdb.sql_put_sys_in_systems_no_architecture(cursor, sysname, sysversion, sysrole, ldaphostdn)[source]#
insert a system name into the old system-table (or update its data)
- univention.pkgdb.sql_get_packages_in_systems_by_query(cursor, query, join_systems, limit=None, orderby='sysname, pkgname, vername')[source]#
- univention.pkgdb.dump_systems(cursor)[source]#
writes CSV with all systems and their system-specific information to stdout
- univention.pkgdb.action_remove_system(connection, cursor, sysname)[source]#
removes system <sysname> from the database
- univention.pkgdb.scan_and_store_packages(cursor, sysname, fake_null=False, architecture=None)[source]#
updates the system <sysname> with the current package state if <fake_null> is True put ‘’ instead of None in the vername field
- univention.pkgdb.action_fill_testdb(connection, cursor, config_registry)[source]#
Fülle Testdatenbank
univention.service_info module#
- exception univention.service_info.ServiceError[source]#
Bases:
ExceptionError when starting, stopping or restarting a service.
- class univention.service_info.Service(*args: Any, **kwargs: Any)[source]#
Bases:
LocalizedDictionaryDescription for a system service.
- REQUIRED = frozenset({'description', 'programs'})#
- OPTIONAL = frozenset({'icon', 'init_script', 'name', 'start_type', 'systemd'})#
- KNOWN = frozenset({'description', 'icon', 'init_script', 'name', 'programs', 'start_type', 'systemd'})#
- univention.service_info.pidof(name: str, docker: int | str = '/var/run/docker.pid') list[int][source]#
Return list of process IDs matching name.
- Parameters:
name – Procress name.
docker – File name containing process ID of docker process.
>>> import os,sys;os.getpid() in list(pidof(os.path.realpath(sys.executable))) + list(pidof(sys.executable)) + list(pidof(sys.argv[0])) True
- class univention.service_info.ServiceInfo(install_mode: bool = False)[source]#
Bases:
object- BASE_DIR = '/etc/univention/service.info'#
- SERVICES = 'services'#
- CUSTOMIZED = '_customized'#
- FILE_SUFFIX = '.cfg'#
- check_services() dict[str, list[str]][source]#
Check service descriptions for completeness.
- Returns:
dictionary of incomplete service descriptions.
- read_services(filename: str | None = None, package: str | None = None, override: bool = False) None[source]#
Read start/stop levels of services.
- Parameters:
filename – Explicit filename for loading.
package – Explicit package name.
override – True to overwrite already loaded descriptions.
- Raises:
AttributeError – if neither filename nor package are given.
- get_services() Iterable[str][source]#
Return a list fo service names.
- Returns:
List of service names.
univention.uldap module#
- univention.uldap.parentDn(dn: str, base: str = '') str | None[source]#
Return the parent container of a distinguished name.
- univention.uldap.explodeDn(dn: str, notypes: int = 0) list[str][source]#
Break up a DN into its component parts.
- univention.uldap.getRootDnConnection(start_tls: int | None = None, decode_ignorelist: None = None, reconnect: bool = True) access[source]#
Open a LDAP connection to the local LDAP server with the LDAP root account.
- Parameters:
- Returns:
A LDAP access object.
- Return type:
- univention.uldap.getAdminConnection(start_tls: int | None = None, decode_ignorelist: None = None, reconnect: bool = True) access[source]#
Open a LDAP connection to the Primary Directory Node LDAP server using the admin credentials.
- Parameters:
- Returns:
A LDAP access object.
- Return type:
- univention.uldap.getBackupConnection(start_tls: int | None = None, decode_ignorelist: None = None, reconnect: bool = True) access[source]#
Open a LDAP connection to a Backup Directory Node LDAP server using the admin credentials.
- Parameters:
- Returns:
A LDAP access object.
- Return type:
- univention.uldap.getMachineConnection(start_tls: int | None = None, decode_ignorelist: None = None, ldap_master: bool = True, secret_file: str = '/etc/machine.secret', reconnect: bool = True, random_server: bool = False) access[source]#
Open a LDAP connection using the machine credentials.
- Parameters:
start_tls (int) – Negotiate TLS with server. If 2 is given, the command will require the operation to be successful.
ldap_master (bool) – Open a connection to the Master if True, to the preferred LDAP server otherwise.
secret_file (str) – The name of a file containing the password credentials.
reconnect (bool) – Automatically reconnect if the connection fails.
random_server (bool) – Choose a random LDAP server from ldap/server/name and ldap/server/addition.
- Returns:
A LDAP access object.
- Return type:
- class univention.uldap.access(host: str = 'localhost', port: int | None = None, base: str = '', binddn: str | None = '', bindpw: str = '', start_tls: int | None = None, ca_certfile: str | None = None, decode_ignorelist: None = None, use_ldaps: bool = False, uri: str | None = None, follow_referral: bool = False, reconnect: bool = True)[source]#
Bases:
objectThe low-level class to access a LDAP server.
- Parameters:
host (str) – host name of the LDAP server.
port (int) – TCP port of the LDAP server. Defaults to 7389 or 7636.
base (str) – LDAP base distinguished name.
binddn (str) – Distinguished name for simple authentication.
bindpw (str) – Password for simple authentication.
start_tls (int) – 0=no, 1=try StartTLS, 2=require StartTLS.
ca_certfile (str) – File name to CA certificate.
decode_ignorelist – obsolete
use_ldaps (bool) – Connect to SSL port.
uri (str) – LDAP connection string.
follow_referral (bool) – Follow referrals and return result from other servers instead of returning the referral itself.
reconnect (bool) – Automatically re-establish connection to LDAP server if connection breaks.
- property authz_connection#
- bind_saml(bindpw: str) None[source]#
Do LDAP bind using SAML message.
- Parameters:
bindpw (str) – The SAML authentication cookie.
- bind_oauthbearer(authzid: str | None, bindpw: str) None[source]#
Do LDAP bind using OAuth 2.0 Access Token.
OAUTHBEARER follows RFC 7628. Currently sending an optional authzid which could be used for SASL Proxy Authorization in the future (https://www.openldap.org/doc/admin26/sasl.html#SASL%20Proxy%20Authorization).
- whoami() str[source]#
Return the distinguished name of the authenticated user.
- Returns:
The distinguished name.
- Return type:
- get(dn: str, attr: list[str] = [], required: bool = False) dict[str, list[bytes]][source]#
Return multiple attributes of a single LDAP object.
- Parameters:
- Returns:
A dictionary mapping the requested attributes to a list of their values.
- Return type:
- Raises:
ldap.NO_SUCH_OBJECT – If the LDAP object is not accessible.
- getAttr(dn: str, attr: str, required: bool = False) list[bytes][source]#
Return a single attribute of a single LDAP object.
- Parameters:
- Returns:
A list of values.
- Return type:
- Raises:
ldap.NO_SUCH_OBJECT – If the LDAP object is not accessible.
Warning
the attribute name is currently case sensitive and must be given as in the LDAP schema
Warning
when required=True it raises ldap.NO_SUCH_OBJECT even if the object exists but the attribute is not set
- search(filter: str = '(objectClass=*)', base: str = '', scope: str = 'sub', attr: list[str] = [], unique: bool = False, required: bool = False, timeout: int = -1, sizelimit: int = 0, serverctrls: list[LDAPControl] | None = None, response: dict[str, LDAPControl] | None = None) list[tuple[str, dict[str, list[bytes]]]][source]#
Perform LDAP search and return values.
- Parameters:
filter (str) – LDAP search filter.
base (str) – the starting point for the search.
scope (str) – Specify the scope of the search to be one of base, base+one, one, sub, or domain to specify a base object, base plus one-level, one-level, subtree, or children search.
unique (bool) – Raise an exception if more than one object matches.
required (bool) – Raise an exception instead of returning an empty dictionary.
timeout (int) – wait at most timeout seconds for a search to complete. -1 for no limit.
sizelimit (int) – retrieve at most sizelimit entries for a search. 0 for no limit.
serverctrls (list[ldap.controls.LDAPControl]) – a list of
ldap.controls.LDAPControlinstances sent to the server along with the LDAP request.response (dict) – An optional dictionary to receive the server controls of the result.
- Returns:
A list of 2-tuples (dn, values) for each LDAP object, where values is a dictionary mapping attribute names to a list of values.
- Return type:
- Raises:
ldap.NO_SUCH_OBJECT – Indicates the target object cannot be found.
ldap.INAPPROPRIATE_MATCHING – Indicates that the matching rule specified in the search filter does not match a rule defined for the attribute’s syntax.
- searchDn(filter: str = '(objectClass=*)', base: str = '', scope: str = 'sub', unique: bool = False, required: bool = False, timeout: int = -1, sizelimit: int = 0, serverctrls: list[LDAPControl] | None = None, response: dict[str, LDAPControl] | None = None) list[str][source]#
Perform LDAP search and return distinguished names only.
- Parameters:
filter (str) – LDAP search filter.
base (str) – the starting point for the search.
scope (str) – Specify the scope of the search to be one of base, base+one, one, sub, or domain to specify a base object, base plus one-level, one-level, subtree, or children search.
unique (bool) – Raise an exception if more than one object matches.
required (bool) – Raise an exception instead of returning an empty dictionary.
timeout (int) – wait at most timeout seconds for a search to complete. -1 for no limit.
sizelimit (int) – retrieve at most sizelimit entries for a search. 0 for no limit.
serverctrls (list[ldap.controls.LDAPControl]) – a list of
ldap.controls.LDAPControlinstances sent to the server along with the LDAP request.response (dict) – An optional dictionary to receive the server controls of the result.
- Returns:
A list of distinguished names.
- Return type:
- Raises:
ldap.NO_SUCH_OBJECT – Indicates the target object cannot be found.
ldap.INAPPROPRIATE_MATCHING – Indicates that the matching rule specified in the search filter does not match a rule defined for the attribute’s syntax.
- getPolicies(dn: str, policies: list[str] | None = None, attrs: dict[str, list[Any]] | None = None, result: Any = None, fixedattrs: Any = None) dict[str, dict[str, Any]][source]#
Return UCS policies for LDAP entry.
- get_schema() SubSchema[source]#
Retrieve LDAP schema information from LDAP server.
- Returns:
The LDAP schema.
- Return type:
ldap.schema.subentry.SubSchema
- add(dn: str, al: list[tuple], serverctrls: list[LDAPControl] | None = None, response: dict | None = None) None[source]#
Add LDAP entry at distinguished name and attributes in add_list=(attribute-name, old-values. new-values) or (attribute-name, new-values).
- Parameters:
dn (str) – The distinguished name of the object to add.
al – The add-list of 2-tuples (attribute-name, new-values).
serverctrls (list[ldap.controls.LDAPControl]) – a list of ldap.controls.LDAPControl instances sent to the server along with the LDAP request
response (dict) – An optional dictionary to receive the server controls of the result.
- modify(dn: str, changes: list[tuple[str, Any, Any]], serverctrls: list[LDAPControl] | None = None, response: dict | None = None, rename_callback: Callable | None = None) str[source]#
Modify LDAP entry DN with attributes in changes=(attribute-name, old-values, new-values).
- Parameters:
dn (str) – The distinguished name of the object to modify.
changes – The modify-list of 3-tuples (attribute-name, old-values, new-values).
serverctrls (list[ldap.controls.LDAPControl]) – a list of ldap.controls.LDAPControl instances sent to the server along with the LDAP request
response (dict) – An optional dictionary to receive the server controls of the result.
- Returns:
The distinguished name.
- Return type:
- modify_s(dn: str, ml: list[tuple[str, list[str] | None, list[str]]]) None[source]#
Redirect modify_s directly to
lo.- Parameters:
dn (str) – The distinguished name of the object to modify.
ml – The modify-list of 3-tuples (attribute-name, old-values, new-values).
- modify_ext_s(dn: str, ml: list[tuple[str, Any, Any]], serverctrls: list[LDAPControl] | None = None, response: dict | None = None) None[source]#
Redirect modify_ext_s directly to
lo.- Parameters:
dn (str) – The distinguished name of the object to modify.
ml – The modify-list of 3-tuples (attribute-name, old-values, new-values).
serverctrls (list[ldap.controls.LDAPControl]) – a list of ldap.controls.LDAPControl instances sent to the server along with the LDAP request
response (dict) – An optional dictionary to receive the server controls of the result.
- rename(dn: str, newdn: str, serverctrls: list[LDAPControl] | None = None, response: dict | None = None) None[source]#
Rename a LDAP object.
- Parameters:
dn (str) – The old distinguished name of the object to rename.
newdn (str) – The new distinguished name of the object to rename.
serverctrls (list[ldap.controls.LDAPControl]) – a list of ldap.controls.LDAPControl instances sent to the server along with the LDAP request
response (dict) – An optional dictionary to receive the server controls of the result.
- rename_ext_s(dn: str, newrdn: str, newsuperior: str | None = None, serverctrls: list[LDAPControl] | None = None, response: dict | None = None) None[source]#
Redirect rename_ext_s directly to
lo.- Parameters:
dn (str) – The old distinguished name of the object to rename.
newdn (str) – The new distinguished name of the object to rename.
newsuperior (str) – The distinguished name of the new container.
serverctrls (list[ldap.controls.LDAPControl]) – a list of ldap.controls.LDAPControl instances sent to the server along with the LDAP request
response (dict) – An optional dictionary to receive the server controls of the result.
- explodeDn(dn: str, notypes: bool | int = False) list[str][source]#
Break up a DN into its component parts.
- classmethod compare_dn(a: str, b: str) bool[source]#
Test DNs are same
- Parameters:
- Returns:
True if the DNs are the same, False otherwise.
- Return type:
>>> compare_dn = access.compare_dn >>> compare_dn('foo=1', 'foo=1') True >>> compare_dn('foo=1', 'foo=2') False >>> compare_dn('Foo=1', 'foo=1') True >>> compare_dn('Foo=1', 'foo=2') False >>> compare_dn('foo=1,bar=2', 'foo=1,bar=2') True >>> compare_dn('bar=2,foo=1', 'foo=1,bar=2') False >>> compare_dn('foo=1+bar=2', 'foo=1+bar=2') True >>> compare_dn('bar=2+foo=1', 'foo=1+bar=2') True >>> compare_dn('bar=2+Foo=1', 'foo=1+Bar=2') True >>> compare_dn(r'foo=\31', r'foo=1') True