"net -d 10" does not work anymore

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Nov 27 01:51:45 MST 2010


On Sat, Nov 27, 2010 at 08:27:31AM +1100, Andrew Bartlett wrote:
> That was the clue!  The -d10 option set 'log level = 1', and when tridge
> and I wrote the lp_set_cmdline support for Samba3, we didn't correlate
> that 'debug level' and 'log level' (among other examples of aliases)
> where the same parameter. 
> 
> This meant that when the smb.conf was re-loaded, we didn't skip handling
> the debug level, as the flag wasn't set.  
> 
> (We missed this detail of the requirement when we ported
> lp_set_cmdline() from Samba4). 
> 
> > whereas if I set "debug level = 10" in the smb.conf file, I
> > get a much more verbose output.
> 
> Thanks for the clues.  Attached is the patch to fix this.

Yep, that did it. Thanks!

Volker


More information about the samba-technical mailing list