univention.management.console.modules.adconnector package#

exception univention.management.console.modules.adconnector.ADNotAvailable[source]#

Bases: Exception

univention.management.console.modules.adconnector.ucr_rollback(ucr, variables)[source]#
univention.management.console.modules.adconnector.test_connection()[source]#

Search a query that should never fail: RDN of connector/ad/ldap/base

univention.management.console.modules.adconnector.adsearch(query)[source]#
univention.management.console.modules.adconnector.guess_ad_domain_language()[source]#

AD Connector supports “en” and “de”, this check detects a German AD Domain and returns “en” as fallback.

univention.management.console.modules.adconnector.get_ad_binddn_from_name(base, server, username, password)[source]#
class univention.management.console.modules.adconnector.Instance(*args, **kwargs)[source]#

Bases: Base, ProgressMixin

OPTION_MAPPING = (('LDAP_Host', 'connector/ad/ldap/host', ''), ('LDAP_Base', 'connector/ad/ldap/base', ''), ('LDAP_BindDN', 'connector/ad/ldap/binddn', ''), ('KerberosDomain', 'connector/ad/mapping/kerberosdomain', ''), ('PollSleep', 'connector/ad/poll/sleep', 5), ('RetryRejected', 'connector/ad/retryrejected', 10), ('DebugLevel', 'connector/debug/level', 2), ('DebugFunction', 'connector/debug/function', False), ('MappingSyncMode', 'connector/ad/mapping/syncmode', 'sync'), ('MappingGroupLanguage', 'connector/ad/mapping/group/language', 'de'))#
init()[source]#

this function is invoked after the module process started.

state(request)[source]#

Retrieve current status of the Active Directory connection configuration and the service

options: {}

return: { ‘configured’ : (True|False), ‘certificate’ : (True|False), ‘running’ : (True|False) }

load(request)[source]#

Retrieve current status of the Active Directory connection configuration and the service

options: {}

return: { <all AD connector UCR variables> }

adconnector_save(request)[source]#

Saves the Active Directory connection configuration

options:

Host_IP: IP address of the AD server LDAP_Host: hostname of the AD server LDAP_Base: LDAP base of the AD server LDAP_BindDN: LDAP DN to use for authentication KerberosDomain: kerberos domain PollSleep: time in seconds between polls RetryRejected: how many time to retry a synchronisation MappingSyncMode: synchronisation mode MappingGroupLanguage: language of the AD server

return: { ‘success’ : (True|False), ‘message’ : <details> }

upload_certificate(request)[source]#
service(request)[source]#
check_domain(request)[source]#
admember_join(request)[source]#
enable_ssl(request, *args, **kwargs)[source]#
password_sync_service(request, *args, **kwargs)[source]#
check_dcmaster_srv_rec(request, *args, **kwargs)[source]#