How to get the REMOTE_USER variable with PHP under linux

时间:2015-11-12 11:02:37

标签: php linux apache apache-modules

I've already searched for this problem but i didn't find a working solution. May you could help.

I have to get with PHP the REMOTE_USER from the loggend in User in the company Domain, so his username in the intranet. The REMOTE_IP an so on is all set, but the REMOTE_USER, which we use for authentications on our intranet applications can is not transmitted.

The Server Setup is as following:

  • ServerOS: RedHat

  • PHP: 5.6.15

  • Apache: 2.2.31

  • OpenSSL: 1.0.2

  • The server has NO internet connection and yum install isn't working because of security reasons. The only thing I can do is download, make install and compile things with gcc.

I do not need an strong authentication or something like that, I only need the remote's username.

I hope you can help.

Thank you very much for your help and advices

Greetings Stefan

0 个答案:

没有答案