Authentication fails after upgrade 12.04 to 14.04
Bug #1408269 reported by
Manel Clos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libapache2-authenntlm-perl (Debian) |
Fix Released
|
Unknown
|
|||
libapache2-authenntlm-perl (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Apache error log shows:
Can't locate object method "remote_addr" via package "Apache2:
Default install of 14.04 + apt-get update && apt-get upgrade also fails.
Installed packages for default test install:
apache2
libapache2-mod-php5
libapache2-
On virtualhost:
<Location /ntlm>
PerlAuthenHa
AuthType ntlm
AuthName NTAuth
require valid-user
PerlAddVar ntdomain "!!DOMAIN NAME!! !!LOGON SERVER!!"
PerlSetVar defaultdomain !!DOMAIN NAME!!
PerlSetVar ntlmsemtimeout 2
PerlSetVar ntlmdebug 1
PerlSetVar splitdomainprefix 1
</Location>
Changed in libapache2-authenntlm-perl (Debian): | |
status: | Unknown → New |
Changed in libapache2-authenntlm-perl (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
I got around the problem fixing the code in /usr/lib/ perl5/Apache2/ AuthenNTLM. pm replacing:
remote_addr -> client_addr
remote_ip -> client_ip
as stated in the 2.4 API changes document here:
http:// httpd.apache. org/docs/ 2.4/developer/ new_api_ 2_4.html