apache get windows client name

Discussion in 'Apache' started by ABBAPOH, Oct 13, 2009.

  1. #1
    I have apache server based on debian linux as a part of windows domain.
    The thing i want to do is to get client's windows login name from php script (or from any other). in php, variable $_SERVER['REMOTE_USER'] contains such data. However, it requires any type of authentification to server. I tried lot of them and the only one worked is PAM auth module. Unfortunately, i can't configure browser (or server?) not to ask users credentials every time i begin session. NTLM provides transparent authentification from Internet Explorer (it is used in IIS and the other site based on it workas properly). But when i use mod_ntlm i have firefox/safari and konqueror working, but not Internet Explorer. In logs, i can see: got header with host "", domain "", while when i use firefox this field contains my computer name and my domain user belongs to...
    What can i do to get that stupid user name in apache?.. It seems that linux sucks in something more complicated than basic things like usual web server...
    However, i don't want to use IIS cause MS sucks more)
    Thank you for help
     
    ABBAPOH, Oct 13, 2009 IP