"net -d 10" does not work anymore
Volker.Lendecke at SerNet.DE
Sun Nov 21 03:19:17 MST 2010
On Sun, Nov 21, 2010 at 11:24:47AM +1100, tridge at samba.org wrote:
> The problem is that the parsing of -d on the command line uses the
> same lp_set_cmdline() call. A 2nd lp_set_cmdline() when libnet is
> initialised overrides a previous call, whereas with the old code the
> command line set had a higher precedence, so if the command line was
> parsed before the AllowDebugChange code was run, then the command line
> debug level was still used.
What I'm getting is that AllowDebugChange is gone and we now
have to manually make sure that the cases this was supposed
to protect against are not violated? Wouldn't it be easier
to introduce AllowDebugChange again?
More information about the samba-technical