Hi,
I've recently installed the new Debian 8.4 with Apache 2.4.10 with the purpose of installing a intranet.
One of the things the intranet must contain is the retrieval of the username through $_SERVER['REMOTE_USER'] from the Windows PC's that connect to this server. The package mod_auth_ntlm_winbind was installed along with the following /etc/apache2/httpd.conf file:
Code:
DirectoryIndex index.php index.html index.htm KeepAlive on <Directory "/var/www/html/test">
PerlAuthenHandler "Apache2::AuthenNTLM"
AuthType ntlm,basic
AuthName "NTLM Authentication"
require valid-user
PerlAddVar ntdomain "my_dom 10.52.28.220"
PerlSetVar defaultdomain "my_dom"
PerlSetVar splitdomainprefix 1
PerlSetVar ntlmdebug 0
PerlSetVar ntlmauthorative off
PerlSetVar ntlmsemkey 0
PerlSetVar ntlmsemtimeout 1
</Directory>
How can I solve this easily?
I'm a newby so don't make it too hard [
]
Thanks in advance!
[EDIT]
The module libapache2-authenntlm-perl was installed also but the parameter REMOTE_USER was not found in the phpinfo.