s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt calls
authorAndrew Bartlett <abartlet@samba.org>
Fri, 29 Oct 2010 10:10:31 +0000 (21:10 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 2 Nov 2010 04:36:04 +0000 (04:36 +0000)
commited111d11ebcbaa1e709485f86ca45e582a55301f
tree5a9866d3417a24b21412a7158e80a234a8dee2f5
parente64dfdcc71e17f21419f24b3f2b32d477b4cea1e
s3-debug Move 'load_case_tables()' before lp_set_cmdline() and popt calls

The problem here is that we cannot run lp_set_cmdline() (directly or
indirectly via the popt helpers) until load_case_tables() has been run.

However, load_case_tables does not have auto-initialisation, so we
must init it once, and once only.

Andrew Bartlett
source3/client/client.c
source3/smbd/server.c
source3/utils/dbwrap_torture.c
source3/utils/sharesec.c
source3/utils/smbcacls.c
source3/web/swat.c