diff options
-rw-r--r-- | source3/nsswitch/winbindd_util.c | 14 |
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 */ |