cmdline: Remove dynconfig hooks in command line processing

Enterprise / Samba - Andrew Bartlett [samba.org] - 12 February 2014 09:42 UTC

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

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

e02c94d cmdline: Remove dynconfig hooks in command line processing
source3/lib/popt_common.c | 145 ---------------------------------------------
source3/smbd/server.c | 1 -
2 files changed, 146 deletions(-)

Upstream: gitweb.samba.org


  • Share