cmdline: Remove dynconfig hooks in command line processing
authorAndrew Bartlett <abartlet@samba.org>
Wed, 8 Jan 2014 00:35:34 +0000 (13:35 +1300)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 Feb 2014 15:42:14 +0000 (16:42 +0100)
commite02c94d13bab4fb4ad791b7c0dedd963c33804cb
tree2217be1665c29bf1f71365faffb148993c05070d
parent276b233c0090d51b59dbe06ae66a14ee09cbb4c2
cmdline: Remove dynconfig hooks in command line processing

This removes the ability to set paths like the sbindir, bindir, and changes the tool for setting lockdir
statedir etc to be via --option="lock dir=/var/lock".

These were originally added by commit 90a6873b0570f2691ba8d8fd11154c856bdd4415
by James Peach <jpeach@samba.org>

The important use case, qemu, does not use these options, but specifies these directories via an smb.conf.

They are being removed to remove a layer from the loadparm system, now that options
can be specified from the command line.  It will also make it easier to generate the affected
parameters from the XML documentation if this layer of indirection is removed.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Feb 12 16:42:14 CET 2014 on sn-devel-104
source3/lib/popt_common.c
source3/smbd/server.c