Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NTLM in apache

Featured Replies

I've installed Debian 8.2 amd64 with apache, mysql and php to run as a webserver.

What I want is retrieving the $_SERVER['REMOTE_USER'] when my clients, using Windows XP and Windows 7, visit the intranet installed on the Debian server.

Modules that are enabled in apache:

alias

auth_basic

auth_kerb

authn_core

authn_file

authz_core

authz_host

authz_user

autoindex

cgi

deflate

dir

env

filter

mime

mpm_prefork

negotiation

perl

php5

setenvif

status

 

httpd.conf

DirectoryIndex index.php index.html index.htm KeepAlive on HostnameLookups on <Location /test>
  PerlAuthenHandler "Apache2::AuthenNTLM"
  AuthType ntlm,basic
  AuthName "NTLM Authentication"

  require valid-user

  PerlAddVar ntdomain "MYDOMAIN 10.52.43.220"
  PerlSetVar defaultdomain "MYDOMAIN"

  PerlSetVar splitdomainprefix 1

  PerlSetVar ntlmdebug 0
  PerlSetVar ntlmauthorative off
  PerlSetVar ntlmsemkey 0

  PerlSetVar ntlmsemtimeout 1

</Location>

apache2.conf is a default file without any changes.

 

Because it doesn't work I tried putting an .htaccess in /var/www/test

<Location /test>
AuthType NTLM
NTLMAuth on
NTLMAuthoritative on
NTLMDomain MYDOMAIN
NTLMServer 10.52.43.220
require valid-user
</Location>

But it doesn't work either.

 

/var/log/apache2/error.log displays this:

[Thu Oct 08 11:34:23.786879 2015] [mpm_prefork:notice] [pid 2287]
AH00163: Apache/2.4.10 (Debian) mod_auth_kerb/5.4 mod_perl/2.0.9dev
Perl/v5.20.2 configured -- resuming normal operations [Thu Oct 08 11:34:23.786922 2015] [core:notice] [pid 2287] AH00094: 
Command line: '/usr/sbin/apache2'
[Thu Oct 08 11:35:39.656529 2015] [:error] [pid 2293] [client 10.52.43.14:49784] PHP Notice:  Undefined index: REMOTE_USER in /var/www/html/test/ntlm.php on line 2, referer: http://10.52.43.71/test/

What am I doing wrong and how can I fix it?

has nothing to do with froxlor, please refer to apache docs or similar

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.