From cf469f2af14f97bc8b6868cb38cc88e5ca3b3488 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 8 Sep 2006 08:47:07 +0000 Subject: r18259: Fix the non-krb5 builds. Guenther (This used to be commit 576488933b8e04ddd6cb45a7992374efe174a404) --- source3/nsswitch/winbindd_pam.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index 6b75d20d36..6741446a68 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -846,6 +846,7 @@ NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, return result; } +#ifdef HAVE_KRB5 /* FIXME: what else points out that the remote domain is AD ? */ if (!strequal(domain->name, domain->alt_name) && (state->request.flags & WBFLAG_PAM_KRB5)) { @@ -907,7 +908,7 @@ NTSTATUS winbindd_dual_pam_auth_cached(struct winbindd_domain *domain, } } } - +#endif /* HAVE_KRB5 */ return NT_STATUS_OK; } -- cgit