Warning: Cannot modify header information - headers already sent by (output started at /var/www/lalieno.it/index.php:48) in /var/www/lalieno.it/inc/cookie.php on line 3
a cadenza discontinua
Come se fossi
BLOG

Apache - Integrated Windows Authentication ( IWA )


In apache 2.4 mod_auth_sspi sembra non girare più. In alternativa possiamo utilizzare un modulo di terze parti:

mod_authnz_sspi

https://www.apachehaus.net/modules/mod_authnz_sspi/ )

Download:


Copiandolo nella modules è possibile configurare una directory per renderla accessibile tramite autenticazione IWA.

LoadModule authnz_sspi_module modules/mod_authnz_sspi.so


  Options None
  AllowOverride All
  Order allow,deny
  Allow from all
  #AuthName "SSPI Protected Place"
  AuthType SSPI
  SSPIAuth On
  SSPIAuthoritative On
  SSPIOfferBasic On
  SSPIOmitDomain On
  Require valid-user


Dal php riceveremo il nome utente nelle variabili SERVER così $_SERVER['REMOTE_USER']


di GuiZ
21/03/2014

Commenta

We'll never share your email with anyone else.