Bug #148
PAM service name should be lighttpd not "login"
| 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