From 33d178767b425510448435748bdd780402106ded Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 29 Nov 2010 13:25:59 +1100 Subject: s4-loadparm: use loadparm_init_global() instead of loadparm_init() this prevents us having two lp_ctx contexts in these tools which leads to bizarre behaviour Pair-Programmed-With: Andrew Bartlett --- source4/kdc/mit_samba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/kdc') diff --git a/source4/kdc/mit_samba.c b/source4/kdc/mit_samba.c index 956ccd394e..3d5888c460 100644 --- a/source4/kdc/mit_samba.c +++ b/source4/kdc/mit_samba.c @@ -70,7 +70,7 @@ static int mit_samba_context_init(struct mit_samba_context **_ctx) ret = ENOMEM; goto done; } - base_ctx.lp_ctx = loadparm_init(ctx); + base_ctx.lp_ctx = loadparm_init_global(false); if (!base_ctx.lp_ctx) { ret = ENOMEM; goto done; -- cgit