diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/tools/cmdline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/lib/ldb/tools/cmdline.c b/source4/lib/ldb/tools/cmdline.c index 01ef04f5d2..5e3013600a 100644 --- a/source4/lib/ldb/tools/cmdline.c +++ b/source4/lib/ldb/tools/cmdline.c @@ -31,11 +31,12 @@ #include "auth/gensec/gensec.h" #include "auth/auth.h" #include "ldb_wrap.h" +#include "param/param.h" #endif -/* +/** process command line options */ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const char **argv, @@ -208,7 +209,7 @@ struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const #if (_SAMBA_BUILD_ >= 4) /* Must be after we have processed command line options */ - gensec_init(); + gensec_init(global_loadparm); if (ldb_set_opaque(ldb, "sessionInfo", system_session(ldb))) { goto failed; |