View | Details | Raw Unified | Return to bug 25835
Collapse All | Expand All

(-)modules/univention/connector/ad/__init__.py (-1 / +1 lines)
 Lines 575-581    Link Here 
575
		self.CONFIGBASENAME = CONFIGBASENAME
575
		self.CONFIGBASENAME = CONFIGBASENAME
576
		tls_mode = 2
576
		tls_mode = 2
577
		if baseConfig.has_key('%s/ad/ldap/ssl' % CONFIGBASENAME) and self.baseConfig['%s/ad/ldap/ssl' % CONFIGBASENAME] == "no":
577
		if baseConfig.has_key('%s/ad/ldap/ssl' % CONFIGBASENAME) and self.baseConfig['%s/ad/ldap/ssl' % CONFIGBASENAME] == "no":
578
			ud.debug(ud.LDAP, ud.INFO,"__init__: LDAP-connection to AD switched of by UCR.")
578
			ud.debug(ud.LDAP, ud.INFO,"__init__: LDAP connection to AD will not use SSL (switched of by UCR \"%s/ad/ldap/ssl\")." % CONFIGBASENAME)
579
			tls_mode = 0
579
			tls_mode = 0
580
580
581
		ldaps = baseConfig.is_true('%s/ad/ldap/ldaps' % CONFIGBASENAME, False) # tls or ssl
581
		ldaps = baseConfig.is_true('%s/ad/ldap/ldaps' % CONFIGBASENAME, False) # tls or ssl

Return to bug 25835