[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#799109: marked as done (libapache2-mod-auth-kerb: Incorrect keytab file path handling)



Your message dated Fri, 05 Apr 2024 17:27:47 +0000
with message-id <[🔎] E1rsnLv-00Fr8g-I4@fasolo.debian.org>
and subject line Bug#1068262: Removed package(s) from unstable
has caused the Debian Bug report #799109,
regarding libapache2-mod-auth-kerb: Incorrect keytab file path handling
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
799109: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799109
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libapache2-mod-auth-kerb
Version: 5.4-2.2
Severity: normal

Let's assume the following sample VirtualHost configuration.

<VirtualHost *:80>
        ServerName testwww.foo.bar

        ServerAdmin webmaster@localhost
        DocumentRoot /home/apache/http_root/testwww/public

        <Directory /home/apache/http_root/testwww>
          AuthType Kerberos
          AuthName "Please login to proceed"
          KrbAuthRealms FOO.BAR
          KrbServiceName HTTP
          Krb5Keytab /etc/apache2/apache.keytab
          KrbMethodNegotiate on
          KrbMethodK5Passwd on
          KrbLocalUserMapping On
          Require valid-user
        </Directory>
</VirtualHost>

When web browser uses "negotiate" authentication method, everything
works fine. But when apache tries to perform "K5Passwd" method via
acquiring plain login and password from user, the auth_kerb module reads
incorrect keytab.

It should use "Krb5Keytab" file defined in config. In my example it is
"/etc/apache2/apache.keytab". But in fact the module reads the system
default keytab instead. Usually it is placed in "/etc/krb5.keytab".

So, mod_auth_kerb ignores the directive "Krb5Keytab" while checking
against plain login and password, provided by user. Thus, in the case
when apache configured keytab differs from the system default keytab,
the same user on the same machine in the same time successfully signs in
via SPNEGO and fails to authenticate via login and password. I beleive
this is a bug.

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libapache2-mod-auth-kerb depends on:
ii  apache2-bin [apache2-api-20120211]  2.4.10-10+deb8u3
ii  krb5-config                         2.3
ii  libc6                               2.19-18+deb8u1
ii  libcomerr2                          1.42.12-1.1
ii  libgssapi-krb5-2                    1.12.1+dfsg-19
ii  libk5crypto3                        1.12.1+dfsg-19
ii  libkrb5-3                           1.12.1+dfsg-19

libapache2-mod-auth-kerb recommends no packages.

libapache2-mod-auth-kerb suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 5.4-3+rm

Dear submitter,

as the package libapache-mod-auth-kerb has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1068262

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply to: