AD Authentication test fail

I can’t complete the setup about AD authentication , Error message is generated when I execute auth_test.php.

Error messages

My config.php

$config[‘auth_mechanism’] = ‘active_directory’;
$config[‘auth_ad_url’] = ‘ldaps://xxx.xxx.com’;
$config[‘auth_ad_domain’] = ‘xxx.com’;
$config[‘auth_ad_base_dn’] = ‘dc=xxx,dc=com’;
$config[‘auth_ad_check_certificates’] = 0;
$config[‘auth_ad_binduser’] = ‘xxxx’;
$config[‘auth_ad_bindpassword’] = ‘xxxx’;
$config[‘auth_ad_timeout’] = 5;
$config[‘auth_ad_debug’] = false;
$config[‘active_directory’][‘users_purge’] = 30;
$config[‘auth_ad_require_groupmembership’] = true;
$config[‘auth_ad_groups’][‘libadmin’][‘level’] = 10;
$config[‘auth_ad_groups’][‘libusers’][‘level’] = 5;

Try changing auth_ad_check_certificates to false instead of 0. I have that set to true and mine works fine.

Hi John:
Thanks Your replay.

I change auth_ad_check_certificates to false , also have the same error.

I I have solved this problem

Current config.php
$config[‘auth_mechanism’] = ‘active_directory’;
$config[‘auth_ad_url’] = ‘ldaps://xxx.xxx.com’;
$config[‘auth_ad_domain’] = ‘xxx.com’;
$config[‘auth_ad_base_dn’] = ‘dc=xxx,dc=com’;
$config[‘auth_ad_check_certificates’] = false;
$config[‘auth_ad_binduser’] = ‘xxx’;
$config[‘auth_ad_bindpassword’] = ‘xxx’;
$config[‘auth_ad_timeout’] = 5;
$config[‘auth_ad_debug’] = false;
$config[‘active_directory’][‘users_purge’] = 30;
$config[‘auth_ad_require_groupmembership’] = false;
$config[‘auth_ad_groups’][‘xxx’][‘level’] = 10;
$config[‘auth_ad_groups’][‘xxx’][‘level’] = 7;
$config[‘auth_ad_check_certificates’] = 0;

Thanks