NTLM on new Apache 2.4 in Debian 8.4
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"> 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. |
Solved!
httpd.conf was not loaded in apache2.conf. After doing that a few errors occurred stating remote_ip and remote_addr couldn't be located. After changing a few lines in /usr/lib/x86_64-linux-gnu/perl5/5.20/Apache2/AuthenNTLM.pm to client_ip and client_addr the problem was solved after restarting the apache2 service. |
All times are GMT -5. The time now is 12:31 PM. |