The Samba-Bugzilla – Bug 9898
samba daemon does not support %m or %I for logging
Last modified: 2017-05-30 00:33:08 UTC
When setting the log file to log.%m (which has been the default in Debian for some time now), the samba daemon logs to log.%m, while smbd logs to log.(name) or log.smbd. It seems the support for the %m substitution is missing in the samba daemon.
Michael suggested trying with %I instead, but this results in log.%I being created, so that doesn't work either.
If it is hard to implement, an alternative could be to replace this macro with 'samba' (and log to log.samba), as smbd seems to be doing.
I've experienced the same. Also with an include=...%I in the smb.conf samba-tool refuses to work. Evaluating of %-Variables really needs to work also with the AD daemon and related tools in Samba 4. This is a blocker for 4.1.
No 4.1 blocker => 4.2
Any news on this one?
I think this bug is related to Bug #9673.
Assigning to Garming :)
Any updates about this?
Another possible duplicate: https://bugzilla.samba.org/show_bug.cgi?id=12494