[SCM] Samba Shared Repository - branch v3-6-test updated
Karolin Seeger
kseeger at samba.org
Fri Sep 21 01:41:01 MDT 2012
The branch, v3-6-test has been updated
via de0764d pam_winbind: match more return codes when wbcGetPwnam has failed.
from 1a97d0c s3-docs: Remove non-existent option from winbindd manpage.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit de0764d75dc6dd0900a699fe504c576f3f6f2de4
Author: Günther Deschner <gd at samba.org>
Date: Wed Sep 19 10:59:50 2012 +0200
pam_winbind: match more return codes when wbcGetPwnam has failed.
This is required to properly return PAM_USER_UNKNOWN in case winbind had a
problem.
Guenther
Autobuild-User(master): Günther Deschner <gd at samba.org>
Autobuild-Date(master): Wed Sep 19 15:06:10 CEST 2012 on sn-devel-104
Fix bug #9177 - pam_winbind's pm_sm_acct_mgmt needs to return PAM_USER_UNKNOWN.
-----------------------------------------------------------------------
Summary of changes:
nsswitch/pam_winbind.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 025d930..fc7cdca 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -2063,6 +2063,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;
--
Samba Shared Repository
More information about the samba-cvs
mailing list