Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146309 Details for
Bug 213578
[gnome-overlay] gnome-keyring pam modules regression
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to revert upstream "fix"
gnome-keyring-2.22.0-gentoo-fixpam.patch (text/plain), 1.23 KB, created by
Pierre Poissinger
on 2008-03-16 13:53:49 UTC
(
hide
)
Description:
patch to revert upstream "fix"
Filename:
MIME Type:
Creator:
Pierre Poissinger
Created:
2008-03-16 13:53:49 UTC
Size:
1.23 KB
patch
obsolete
>diff -Nbur gnome-keyring-2.22.0.old/pam/gkr-pam-module.c gnome-keyring-2.22.0/pam/gkr-pam-module.c >--- gnome-keyring-2.22.0.old/pam/gkr-pam-module.c 2008-02-13 22:07:21.000000000 +0100 >+++ gnome-keyring-2.22.0/pam/gkr-pam-module.c 2008-03-16 12:39:41.000000000 +0100 >@@ -773,6 +773,7 @@ > return PAM_SERVICE_ERR; > } > >+#if 0 > /* Look up the password */ > ret = pam_get_item (ph, PAM_AUTHTOK, (const void**)&password); > if (ret != PAM_SUCCESS || password == NULL) { >@@ -783,6 +784,24 @@ > pam_strerror (ph, ret)); > return PAM_SUCCESS; > } >+#else >+ /* Look up the password */ >+ ret = pam_get_item (ph, PAM_AUTHTOK, (const void**)&password); >+ if (ret != PAM_SUCCESS || password == NULL) { >+ ret = prompt_password (ph); >+ if (ret != PAM_SUCCESS) { >+ syslog (GKR_LOG_ERR, "gkr-pam: couldn't get the password from user: %s", >+ pam_strerror (ph, ret)); >+ return PAM_AUTH_ERR; >+ } >+ ret = pam_get_item (ph, PAM_AUTHTOK, (const void**)&password); >+ if (ret != PAM_SUCCESS || password == NULL) { >+ syslog (GKR_LOG_ERR, "gkr-pam: couldn't get the password from user: %s", >+ ret == PAM_SUCCESS ? "password was null" : pam_strerror (ph, ret)); >+ return PAM_AUTHTOK_RECOVER_ERR; >+ } >+ } >+#endif > > started_daemon = 0; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 213578
:
146309
|
146311
|
146313
|
146407
|
146516
|
146519
|
146521
|
146783