Rowland Penny
2023-Jan-11 11:04 UTC
[Samba] [4.13.13-Debian] " reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory"?
On 11/01/2023 10: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? > > log file = /var/log/samba/%m > >You already have turned off NetBIOS (or the major part of it) in your smb.conf I suggest you run wsdd on your standalone server and use Network Discovery on the Windows clients. I take it that your Windows clients are not in a domain. Rowland
Gilles
2023-Jan-11 11:12 UTC
[Samba] [4.13.13-Debian] " reopen_one_log: Unable to open new log file '/var/log/samba/': Is a directory"?
On 11/01/2023 12:04, Rowland Penny via samba wrote:>> 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? >> >> log file = /var/log/samba/%m > > You already have turned off NetBIOS (or the major part of it) in your > smb.conf? I suggest you run wsdd on your standalone server and use > Network Discovery on the Windows clients. I take it that your Windows > clients are not in a domain.Yes, it's a home LAN. I can live without "net view". I just wanted to make sure I understood the consequences of turning off NetBIOS and moving to wsdd. Thank you.