mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Moved auth_ad_dont_check_certificates to auth_ad_check_certificates
This commit is contained in:
		@@ -3,8 +3,8 @@
 | 
			
		||||
// easier to rewrite for Active Directory than to bash it into existing LDAP implementation
 | 
			
		||||
 | 
			
		||||
// disable certificate checking before connect if required
 | 
			
		||||
if (isset($config['auth_ad_dont_check_certificates']) &&
 | 
			
		||||
          $config['auth_ad_dont_check_certificates'] > 0) {
 | 
			
		||||
if (isset($config['auth_ad_check_certificates']) &&
 | 
			
		||||
          $config['auth_ad_check_certificates'] == 0) {
 | 
			
		||||
    putenv('LDAPTLS_REQCERT=never');
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user