summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-09-04 14:32:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:30 -0500
commit99cc296968e5f2c0b646107e20120975c594958d (patch)
treed7c97345d093406838694ae640a3e17f426cba6c
parentbe3fdd8b6237a6dcaf4ff974dc4dad35b7009169 (diff)
downloadsamba-99cc296968e5f2c0b646107e20120975c594958d.tar.gz
samba-99cc296968e5f2c0b646107e20120975c594958d.tar.bz2
samba-99cc296968e5f2c0b646107e20120975c594958d.zip
r24954: Fix the build without krb5.
Guenther (This used to be commit 9df961914c3119eb6b20ecdc05d963480dea3521)
-rw-r--r--source3/nsswitch/winbindd_util.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index a29ea38145..69d9d31103 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -1366,9 +1366,6 @@ BOOL winbindd_internal_child(struct winbindd_child *child)
return False;
}
-void winbindd_set_locator_kdc_envs(const struct winbindd_domain *domain);
-void winbindd_unset_locator_kdc_env(const struct winbindd_domain *domain);
-
#ifdef HAVE_KRB5_LOCATE_PLUGIN_H
/*********************************************************************
@@ -1448,5 +1445,16 @@ void winbindd_unset_locator_kdc_env(const struct winbindd_domain *domain)
unsetenv(var);
free(var);
}
+#else
+
+void winbindd_set_locator_kdc_envs(const struct winbindd_domain *domain)
+{
+ return;
+}
+
+void winbindd_unset_locator_kdc_env(const struct winbindd_domain *domain)
+{
+ return;
+}
#endif /* HAVE_KRB5_LOCATE_PLUGIN_H */