s4-param Don't set variables such as the debuglevel unless global
authorAndrew Bartlett <abartlet@samba.org>
Sun, 8 May 2011 08:30:36 +0000 (10:30 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 8 May 2011 08:56:28 +0000 (10:56 +0200)
commit958368efd0f0db4a0e77f6a374d3c7b5056105c6
treee873596dc88e00449b742fb00c84ba46066fccc4
parentf946668b7ad1ecc1990fa8ee0499c63c4aac6ea6
s4-param Don't set variables such as the debuglevel unless global

This ensures that when a second lp_ctx is created, that it does not
set global variables such as the debug level, log file etc,
potentially overriding the settings created by another context.

In particular this matters when loading Samba4 modules into Samba3.

Andrew Bartlett
source4/param/loadparm.c