diff options
-rw-r--r-- | source3/param/loadparm.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 113903c961..9252abd8f9 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1061,6 +1061,12 @@ static void init_globals(bool reinit_globals) string_set(&Globals.winbindd_privileged_socket_directory, get_dyn_WINBINDD_PRIVILEGED_SOCKET_DIR()); + if (asprintf(&s, "%s/samba_kcc", get_dyn_SCRIPTSBINDIR()) < 0) { + smb_panic("init_globals: ENOMEM"); + } + Globals.samba_kcc_command = (const char **)str_list_make_v3(NULL, s, NULL); + SAFE_FREE(s); + /* Now put back the settings that were set with lp_set_cmdline() */ apply_lp_set_cmdline(); } |