PHP Active Directory Authentication with Kerberos

I am currently integrating CMS authentication (developed in PHP) in Active Directory. This particular Active Directory allows authorization only through Kerberos or ldaps: // (but this last one is not the most wanted, since I have to use absolute paths).

I searched the Internet for something about PHP AD Kerberos Authentication, but found nothing. Can someone point me in the right direction?

Thanks in advance.

+3
source share
3 answers

Not a free solution - google with the keyword "Plexcel"

+2
source

Active Directory, , - - IIS, *.. - PHP:

$user = isset($_SERVER['AUTH_USER']) ? $_SERVER['AUTH_USER'] : false; 
if((false === $user) or ('' == $user)){
//Divert to incorrect password page.. 
//MSIE typically tries three times, Kerb/NTLM/Plain
//FF will only try NTLM/Plain if configured for NTLM
//Chrome.. won't work with this at all.. not that I have discovered.
//If testing locally using Apache, user will be 0
}

SSO Kerberos, .

*: " Windows" http://support.microsoft.com/kb/324274 , " " " " ".., , IIS .. SPN " "" IIS " . / . - , , . script/GPO IE, .

, - . , , , .. , , . // .. , , , , .. , , ..

+3

Source: https://habr.com/ru/post/1717069/


All Articles