summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-08 08:47:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:18 -0500
commitcf469f2af14f97bc8b6868cb38cc88e5ca3b3488 (patch)
treeb4a1b875a12718e939ea5d7f39b0233facfa96d5 /source3/nsswitch
parent6cfe7be80e7eb2153d7fb503076d84177da7ad4c (diff)
downloadsamba-cf469f2af14f97bc8b6868cb38cc88e5ca3b3488.tar.gz
samba-cf469f2af14f97bc8b6868cb38cc88e5ca3b3488.tar.bz2
samba-cf469f2af14f97bc8b6868cb38cc88e5ca3b3488.zip
r18259: Fix the non-krb5 builds.
Guenther (This used to be commit 576488933b8e04ddd6cb45a7992374efe174a404)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_pam.c3
1 files changed, 2 insertions, 1 deletions
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;
}