[Samba] [4.13.13-Debian] " reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory"?

Michael Tokarev mjt at tls.msk.ru
Wed Jan 11 09:55:57 UTC 2023


11.01.2023 12:48, Gilles via samba wrote:

> [2023/01/11 10:04:49.943723,  0] ../../lib/util/debug.c:1104(reopen_one_log)
> reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory

> smb.conf: log file = /var/log/samba/%m

some daemons work without client information, ie, they're not client-specific.
These will try to open log files too. Without client info, "%m" expands to
nothing, to an empty string. So you'll have the error message like that.

Fix your log file setting. Check what's the default for this.

/mjt





More information about the samba mailing list