Bug 14393 - log level items with index >= 1 dropped in testparm
Summary: log level items with index >= 1 dropped in testparm
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.12.3
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2020-05-25 09:26 UTC by Francesco
Modified: 2020-05-25 10:54 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Francesco 2020-05-25 09:26:01 UTC
smb.conf's directive:

log level = 1 auth_json_audit:3@/var/log/samba/audit.json auth_audit:5@/var/log/samba/audit.log

according to testparm is just:

log level = 1
Comment 1 Andrew Bartlett 2020-05-25 10:30:37 UTC
This is just due to how we have to override the log level internally to make testparm work.

samba-tool testparm is written differently and might not show this artefact.
Comment 2 Francesco 2020-05-25 10:53:49 UTC
Thank you, I didn't note the newer tool. For me it's fine,