I am trying to get single sign on working with active directory.
In IIS if I have Windows Authentication enabled and Anonymous Authentication enabled, I can view the page, and log in with my windows credentials.
If I disable Anonymous Authentication and try to use my windows credentials it does not work (gives no error, just brings up sign in box again.)
php 7.2 is installed and php_ldap is enabled.
In internet options the allowing the passing of authentication on intranet sites is enabled.
local.protected.php is below:
$conf['authtype'] = 'authad';
$conf['useacl'] = 1;
// configure your Active Directory data here
$conf['auth']['authad']['account_suffix'] = '@domain.com';
$conf['auth']['authad']['base_dn'] = 'DC=domain,DC=com';
$conf['auth']['authad']['domain_controllers'] = 'server.domain.com';
// Enable SSO
$conf['auth']['authad']['sso'] = 1;
$conf['auth']['authad']['admin_username'] = 'user';
$conf['auth']['authad']['admin_password'] = 'pass';
$conf['auth']['authad']['real_primarygroup'] = 1;
$conf['auth']['authad']['use_ssl'] = 0;
$conf['auth']['authad']['use_tls'] = 0;
// Admin
$conf['manager'] = 'admin';
$conf['superuser'] = 'alist,ofpeople';