Bug #148

PAM service name should be lighttpd not "login"

Added by Anonymous 1312 days ago. Updated 551 days ago.

Status:Fixed Start:
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:core
Target version:-
Pending:

Resolution:

fixed


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

lighttpd.patch - patch to fix pam service name -- tigger (520 Bytes) Anonymous, 06/05/2005 05:28 PM

History

06/05/2005 08:59 PM - jan

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

fixed in changeset r372

Also available in: Atom PDF