[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 11:03:19 UTC 2023

11.01.2023 13:58, Gilles via samba wrote:
> On 11/01/2023 11:38, Rowland Penny via samba wrote:
>> [global]
>>>          bind interfaces only = Yes
>>>          disable netbios = Yes
>> Having now seen the smb.conf, the fix is easy ;-) In smb.conf there is:  disable netbios = Yes
>> This means that NetBIOS isn't being used, the only reason to run nmbd is for NetBIOS, so turn nmbd off and stop it ever running again.
> If I turn off NetBIOS (which also means "net view" is no long available on Windows), what should I use in the log file instead?

There's no need to turn off netbios on windows.
Net view, browse lists and that stuff is useful.
But windows connects to SMB servers (other windows or samba) using port 445 first,
where netbios is not used.

An alternative for %m is, for example, %I

> log file = /var/log/samba/%m

Why do you repeat the same wrong setting again? :)


More information about the samba mailing list