The Samba-Bugzilla – Attachment 8012 Details for
Bug 9177
pam_winbind's pm_sm_acct_mgmt needs to return PAM_USER_UNKNOWN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.0.0rc3
0001-pam_winbind-match-more-return-codes-when-wbcGetPwnam.patch (text/plain), 1.16 KB, created by
Jeremy Allison
on 2012-10-08 22:15:30 UTC
(
hide
)
Description:
git-am fix for 4.0.0rc3
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-10-08 22:15:30 UTC
Size:
1.16 KB
patch
obsolete
>From e62207c94ec7a453cd39b1bbcffa8e169b577f34 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Wed, 19 Sep 2012 10:59:50 +0200 >Subject: [PATCH] pam_winbind: match more return codes when wbcGetPwnam has > failed. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This is required to properly return PAM_USER_UNKNOWN in case winbind had a >problem. > >Guenther > >Autobuild-User(master): Günther Deschner <gd@samba.org> >Autobuild-Date(master): Wed Sep 19 15:06:10 CEST 2012 on sn-devel-104 >(cherry picked from commit 98d90c02f0961d173bebb9901c7ad0819827f96e) >--- > nsswitch/pam_winbind.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c >index fb84985..83d7bb6 100644 >--- a/nsswitch/pam_winbind.c >+++ b/nsswitch/pam_winbind.c >@@ -2064,6 +2064,9 @@ static int valid_user(struct pwb_context *ctx, > > switch (wbc_status) { > case WBC_ERR_UNKNOWN_USER: >+ /* match other insane libwbclient return codes */ >+ case WBC_ERR_WINBIND_NOT_AVAILABLE: >+ case WBC_ERR_DOMAIN_NOT_FOUND: > return 1; > case WBC_ERR_SUCCESS: > return 0; >-- >1.7.7.3 >
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 Raw
Actions:
View
Attachments on
bug 9177
:
7907
| 8012