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

Bug#284863: marked as done (libapache2-mod-auth-pam: AuthPAM doesn't report PAM_RUSER or PAM_RHOST to the PAM subsystem)



Your message dated Thu, 06 Jun 2013 06:45:42 +0000
with message-id <[🔎] E1UkTx8-0002rJ-6m@franck.debian.org>
and subject line Bug#710770: Removed package(s) from unstable
has caused the Debian Bug report #284863,
regarding libapache2-mod-auth-pam: AuthPAM doesn't report PAM_RUSER or PAM_RHOST to the PAM subsystem
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.)


-- 
284863: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=284863
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libapache2-mod-auth-pam
Version: 1.1.1-4.1
Severity: normal
Tags: patch

AuthPAM doesn't report PAM_RUSER or PAM_RHOST to the PAM subsystem.
This is because its calls to pam_set_item are commented out.

I have included a patch to that fixes this.

Simon
2004-12-08  Simon Law <sfllaw@nit.ca>

        * Restore PAM_USER and PAM_RHOST support.  Now we can tell PAM
        who is connecting to Apache, and where he or she is coming from.

diff -pruN -pruN mod_auth_pam.orig/mod_auth_pam.c mod_auth_pam/mod_auth_pam.c
--- mod_auth_pam.orig/mod_auth_pam.c	2002-08-24 10:22:23.000000000 -0400
+++ mod_auth_pam/mod_auth_pam.c	2004-12-08 23:21:12.000000000 -0500
@@ -358,11 +358,10 @@ int pam_auth_basic_user(request_rec * r)
 #endif
 
     /* set remote user information */
-    /*
-     * this seems to cause segfaults in lots of cases -- disabled for now
-     * pam_set_item(pamh, PAM_USER, userinfo.name); pam_set_item(pamh,
-     * PAM_RHOST, get_remote_host(r->connection, conf, REMOTE_NAME));
-     */
+    pam_set_item(pamh, PAM_RUSER, userinfo.name);
+    pam_set_item(pamh, PAM_RHOST, ap_get_remote_host(r->connection,
+						     r->per_dir_config,
+						     REMOTE_NAME));
 
     /* try to authenticate user, log error on failure */
     if ((res = pam_authenticate(pamh, PAM_DISALLOW_NULL_AUTHTOK)) !=

--- End Message ---
--- Begin Message ---
Version: 1.1.1-9+rm

Dear submitter,

as the package libapache2-mod-auth-pam 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 http://bugs.debian.org/710770

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

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.
Ansgar Burchardt (the ftpmaster behind the curtain)

--- End Message ---

Reply to: