Bug 9898 - samba daemon does not support %m or %I for logging
samba daemon does not support %m or %I for logging
Status: ASSIGNED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other
unspecified
All All
: P5 normal
: ---
Assigned To: Garming Sam
Samba QA Contact
http://bugs.debian.org/cgi-bin/bugrep...
:
Depends on:
Blocks: 9839
  Show dependency treegraph
 
Reported: 2013-05-19 15:56 UTC by Ivo De Decker
Modified: 2015-11-24 15:33 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivo De Decker 2013-05-19 15:56:24 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.
Comment 1 Björn Jacke 2013-06-27 08:10:23 UTC
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.
Comment 2 Stefan Metzmacher 2013-08-29 07:12:09 UTC
No 4.1 blocker => 4.2
Comment 3 Karolin Seeger 2013-12-10 15:54:07 UTC
Any news on this one?
Comment 4 Marc Muehlfeld 2014-03-31 19:38:06 UTC
I think this bug is related to Bug #9673.
Comment 5 Andreas Schneider 2014-10-28 10:44:20 UTC
Assigning to Garming :)
Comment 6 Karolin Seeger 2014-11-25 19:33:57 UTC
ping
Comment 7 Dron 2015-11-24 15:33:45 UTC
Any updates about this?