git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3be01a4
)
r13340: The gensec_init() needs to be after the popt processing, as it
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 4 Feb 2006 09:49:33 +0000
(09:49 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:51:46 +0000
(13:51 -0500)
disables modules based on parametric options.
Andrew Bartlett
source/lib/ldb/tools/cmdline.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/tools/cmdline.c
b/source/lib/ldb/tools/cmdline.c
index 446923f282d1a7970d1dd3091a32b77758e9bd47..1926df4c864f74d6dd336fda6243418c4d983738 100644
(file)
--- a/
source/lib/ldb/tools/cmdline.c
+++ b/
source/lib/ldb/tools/cmdline.c
@@
-72,8
+72,6
@@
struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
};
#ifdef _SAMBA_BUILD_
- gensec_init();
-
r = ldb_register_samba_handlers(ldb);
if (r != 0) {
goto failed;
@@
-198,6
+196,9
@@
struct ldb_cmdline *ldb_cmdline_process(struct ldb_context *ldb, int argc, const
}
#ifdef _SAMBA_BUILD_
+ /* Must be after we have processed command line options */
+ gensec_init();
+
if (ldb_set_opaque(ldb, "sessionInfo", system_session(ldb))) {
goto failed;
}