On Thu, 17 Oct 2024 12:37:40 +0200 Gilles via samba <samba at lists.samba.org> wrote:> Also when? > 1. using wsdd and a workgroup in a home network, do I need > nmbd.service and samba-ad-dc.service?You only need nmbd if you are using SMBv1 (which from your smb.conf file you are not), I would disable it and add 'disable netbios = yes' to the 'global' part of your smb.conf file. NetBIOS provided 'Network Browsing' which has been replaced by 'Network Discovery' and that is what wsdd is for, but wsdd has nothing to do with Samba. You might as well disable the 'samba-ad-dc' service, you are not running a Samba AD DC.> 2. typing "systemctl list-unit-files --state=enabled", why are some > lines in green and others in black? Does it mean something?No idea, perhaps someone else knows ? Rowland
On 17/10/2024 12:52, Rowland Penny via samba wrote: > You only need nmbd if you are using SMBv1 (which from your smb.conf > file you are not), I would disable it and add 'disable netbios > = yes' to the 'global' part of your smb.conf file. NetBIOS provided > 'Network Browsing' which has been replaced by 'Network Discovery' and > that is what wsdd is for, but wsdd has nothing to do with Samba. > > You might as well disable the 'samba-ad-dc' service, you are not > running a Samba AD DC. Thanks for the infos. wsdd takes as much time to respond, but since it has nothing to do with with Samba, I'll look at that particular piece of software. =======systemctl stop nmbd systemctl disable nmbd systemctl stop samba-ad-dc systemctl disable samba-ad-dc vi /etc/samba/smb.conf: [global] ? disable netbios = yes smbcontrol smbd reload-config ========