summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2014-04-28 15:22:34 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-04-29 23:31:09 +0200
commit7556c20d4bf90bfcc288ba1c82008105eaf8f261 (patch)
tree5a9c5d0be6035c379a8c43c26c1e3616d8479199 /source3/param/loadparm.c
parentb5a67b9d24ceb84cf00721770d31c82196dafa56 (diff)
downloadsamba-7556c20d4bf90bfcc288ba1c82008105eaf8f261.tar.gz
param: Add 'mit kdc command' to change the default.
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 3c597ec2f40..91ecba88ad8 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -900,6 +900,10 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
Globals.samba_kcc_command = str_list_make_v3_const(NULL, s, NULL);
TALLOC_FREE(s);
+#ifdef MIT_KDC_PATH
+ Globals.mit_kdc_command = str_list_make_v3_const(NULL, MIT_KDC_PATH, NULL);
+#endif
+
s = talloc_asprintf(talloc_tos(), "%s/samba_dnsupdate", get_dyn_SCRIPTSBINDIR());
if (s == NULL) {
smb_panic("init_globals: ENOMEM");