Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 117211 Details for
Bug 169919
sys-libs/pam: allow access to user authenticated by LDAP but disallowed to login
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
My patch to resolve pam_unix account bug
pam-patch.wolf.txt (text/plain), 689 bytes, created by
Robert Wolf
on 2007-04-25 09:55:46 UTC
(
hide
)
Description:
My patch to resolve pam_unix account bug
Filename:
MIME Type:
Creator:
Robert Wolf
Created:
2007-04-25 09:55:46 UTC
Size:
689 bytes
patch
obsolete
>Index: pam_unix_acct.c >=================================================================== >--- pam_unix_acct.c (revision 147) >+++ pam_unix_acct.c (working copy) >@@ -187,7 +187,7 @@ > const char *uname; > int retval, daysleft; > time_t curdays; >- struct spwd *spent; >+ struct spwd *spent=NULL; // set spent to NULL by default > struct passwd *pwent; > char buf[80]; > >@@ -239,8 +239,11 @@ > > } else if (_unix_shadowed (pwent)) > spent = _pammodutil_getspnam (pamh, uname); >+/*** >+**** if unix_shadow record not found, continue testing ( no success return ) > else > return PAM_SUCCESS; >+***/ > > if (!spent && SELINUX_ENABLED ) > spent = _unix_run_verify_binary(pamh, ctrl, uname);
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 169919
:
112554
|
117209
| 117211