[Samba] log level sticks at 2
Rowland Penny
rowlandpenny at googlemail.com
Tue Jul 8 04:19:43 MDT 2014
On 08/07/14 11:05, L.P.H. van Belle wrote:
> This is not a sernet problem..
>
> Look here...
>
> samba -V
> Version 4.1.9-SerNet-Debian-8.wheezy
>
> samba-tool testparm -v | grep log
>
> log level = 0
>
>
> now i changed log level = 6 in smb.conf
>
> /etc/init.d/sernet-samba-ad stop && /etc/init.d/sernet-samba-ad start
>
> samba-tool testparm -v | grep log
> INFO: Current debug levels:
> all: 6
> tdb: 6
> printdrivers: 6
> lanman: 6
> smb: 6
> rpc_parse: 6
> rpc_srv: 6
> rpc_cli: 6
> passdb: 6
> sam: 6
> auth: 6
> winbind: 6
> vfs: 6
> idmap: 6
> quota: 6
> acls: 6
> locking: 6
> msdfs: 6
> dmapi: 6
> registry: 6
> scavenger: 6
> dns: 6
> ldb: 6
> Processing section "[netlogon]"
> Processing section "[sysvol]"
> pm_process() returned Yes
>
> log level = 6
> syslog = 1
> syslog only = No
> log file =
> max log size = 0
> log writeable files on exit = No
> logon script =
> logon path =
> logon drive =
> logon home =
> domain logons = No
> init logon delayed hosts =
> init logon delay = 0
> eventlog list =
> log nt token command =
> winbind offline logon = No
> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey, dnsserver
>
>
>> -----Oorspronkelijk bericht-----
>> Van: sven.schwedas at tao.at
>> [mailto:samba-bounces at lists.samba.org] Namens Sven Schwedas
>> Verzonden: dinsdag 8 juli 2014 11:59
>> Aan: samba at lists.samba.org
>> Onderwerp: Re: [Samba] log level sticks at 2
>>
>> On 2014-07-08 11:56, Achim Gottinger wrote:
>>> Hi,
>>>
>>> Seems log level can not be defined in smb.conf any longer. No matter
>>> what i define in [global], testparm -v always reports it at 2.
>>> This is on debian wheezy with sernet 4.1.9-8.
>> Do you set it in multiple places, by chance?
>>
>>> achim~
>>>
>> --
>> Mit freundlichen Grüßen, / Best Regards,
>> Sven Schwedas
>> Systemadministrator
>> TAO Beratungs- und Management GmbH | Lendplatz 45 | A - 8020 Graz
>> Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
>> http://software.tao.at
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
Hi, I agree with Louis, this is not a sernet problem, it is a 'there are
two testparm commands' problem and they do not agree with each other. If
you run 'testparm -v' you do indeed get 'log level = 2' even if the log
level is set differently, but 'samba-tool testparm -v ' reports the
correct level.
I believe that this all going to be fixed in the up coming samba 4.2,
along with a raft of other improvements, including being able to run the
winbind daemon.
Rowland
More information about the samba
mailing list