summaryrefslogtreecommitdiff
path: root/source3/utils/testparm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-12-28 22:48:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:59 -0500
commitc8f28c92a7a96e278031b85f04b4671206bf3502 (patch)
tree445fbb3a2fa167ecdf3b14781c87ac789c9dc544 /source3/utils/testparm.c
parent608aa3f41e2667f8812980c5abb459a031fd382c (diff)
downloadsamba-c8f28c92a7a96e278031b85f04b4671206bf3502.tar.gz
samba-c8f28c92a7a96e278031b85f04b4671206bf3502.tar.bz2
samba-c8f28c92a7a96e278031b85f04b4671206bf3502.zip
r12555: Fix more load_case_table swegfaults. Arggg.
What I'd give for a global constructor... Jeremy. (This used to be commit c970d7d0a5ba225465dfb0980989b8817b17c643)
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r--source3/utils/testparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index e097ea34d6..f5c835725a 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -230,6 +230,8 @@ via the %%o substitution. With encrypted passwords this is not possible.\n", lp_
POPT_TABLEEND
};
+ load_case_tables();
+
pc = poptGetContext(NULL, argc, argv, long_options,
POPT_CONTEXT_KEEP_FIRST);
poptSetOtherOptionHelp(pc, "[OPTION...] <config-file> [host-name] [host-ip]");