The Samba-Bugzilla – Bug 5956
vfs_extd_audit logging fix.
Last modified: 2009-01-21 11:34:35 UTC
Hello there Samba developers!
Problem is that this module don't parse smb.conf parameters correctly.
If I set syslog = 0 in smb.conf it's still logging to syslog.
Second thing is if I set VFS logging level (log level = 0 vfs:3) it doesn't work (module still use global log level).
According to samba documentation at http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/VFS.html#id2617119 it should work.
I have found partial fix at https://bugzilla.samba.org/show_bug.cgi?id=3518 provided by Oliver Schulze but it's adding new parameter instead of parsing right one.
I wrote a simple patch to fix this, please see the attachment.
Created attachment 3796 [details]
We've reviewed your patch and consider your first hunk as wrong.
If we #define DBGC_CLASS as DBGC_VFS the DEBUG() statements never use the value of vfs_extd_audit_debug_level.
Modified patch applied to master with commit 3089cfcc.
Closing out bug report.
Thanks for reporting and providing the patch!