The Samba-Bugzilla – Attachment 4916 Details for
Bug 6872
krb5 refresh chain is broken when login in cached mode.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for v3-2-test
krb5-refresh-chain-v3-2-test.diff (text/plain), 1.06 KB, created by
Bo Yang
on 2009-11-05 03:00:34 UTC
(
hide
)
Description:
patch for v3-2-test
Filename:
MIME Type:
Creator:
Bo Yang
Created:
2009-11-05 03:00:34 UTC
Size:
1.06 KB
patch
obsolete
>From 7e9804c2065fb057bd51a62b22cc8c6dcd08326f Mon Sep 17 00:00:00 2001 >From: Bo Yang <boyang@samba.org> >Date: Fri, 6 Nov 2009 08:56:53 +0800 >Subject: [PATCH] s3: Fix kerberos refresh chain. > >Signed-off-by: Bo Yang <boyang@samba.org> >--- > source/winbindd/winbindd_pam.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/source/winbindd/winbindd_pam.c b/source/winbindd/winbindd_pam.c >index fea1075..3d58c89 100644 >--- a/source/winbindd/winbindd_pam.c >+++ b/source/winbindd/winbindd_pam.c >@@ -992,7 +992,9 @@ NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, > #ifdef HAVE_KRB5 > if ((state->request.flags & WBFLAG_PAM_KRB5) && > ((tdc_domain = wcache_tdc_fetch_domain(state->mem_ctx, name_domain)) != NULL) && >- (tdc_domain->trust_type & NETR_TRUST_TYPE_UPLEVEL)) { >+ ((tdc_domain->trust_type & NETR_TRUST_TYPE_UPLEVEL) || >+ /* used to cope with the case winbindd starting without network. */ >+ !strequal(tdc_domain->domain_name, tdc_domain->dns_name))) { > > uid_t uid = -1; > const char *cc = NULL; >-- >1.5.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 6872
: 4916 |
4917
|
4918