Project

General

Profile

« Previous | Next » 

Revision d74bd052

Added by Viktor Gurov about 4 years ago

Do not show CA as In Use if LDAP Server transport is not TLS/SSL. Fixes #11922

View differences:

src/etc/inc/certs.inc
814 814
		return;
815 815
	}
816 816
	foreach ($config['system']['authserver'] as $authserver) {
817
		if ($authserver['ldap_caref'] == $caref) {
817
		if (($authserver['ldap_caref'] == $caref) &&
818
		    ($authserver['ldap_urltype'] != 'Standard TCP')) {
818 819
			return true;
819 820
		}
820 821
	}

Also available in: Unified diff