Project

General

Profile

Actions

Bug #148

closed

PAM service name should be lighttpd not "login"

Added by Anonymous over 17 years ago. Updated about 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

lighttpd should use its own service name so that its PAM configuration can be tailored.


--- http_auth.c.orig    2005-06-05 18:26:54.000000000 +0000
+++ http_auth.c 2005-06-05 18:27:05.000000000 +0000
@@ -457,7 +457,7 @@
                pam_handle_t *pamh=NULL;
                int retval;

-               retval = pam_start("login", username->ptr, &conv, &pamh);
+               retval = pam_start("lighttpd", username->ptr, &conv, &pamh);

                if (retval == PAM_SUCCESS)
                        retval = pam_authenticate(pamh, 0);    /* is user really user? */

-- tigger


Files

lighttpd.patch (520 Bytes) lighttpd.patch patch to fix pam service name -- tigger Anonymous, 2005-06-05 17:28
Actions #1

Updated by jan over 17 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in changeset r372

Actions

Also available in: Atom