diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-11-29 13:25:59 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-11-29 18:04:42 +1100 |
commit | 33d178767b425510448435748bdd780402106ded (patch) | |
tree | 0ba21861705712cff9c76c6760ee5d0c2ebd2bd8 /source4/kdc | |
parent | b20ce4392e2d00c3edff8b4b8f329cf22341ea76 (diff) | |
download | samba-33d178767b425510448435748bdd780402106ded.tar.gz samba-33d178767b425510448435748bdd780402106ded.tar.bz2 samba-33d178767b425510448435748bdd780402106ded.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source4/kdc')
-rw-r--r-- | source4/kdc/mit_samba.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |