[Samba] [wsdd] Resolution takes several seconds

Gilles codecomplete at free.fr
Thu Oct 17 10:37:40 UTC 2024


Also when…
1. using wsdd and a workgroup in a home network, do I need nmbd.service 
and samba-ad-dc.service?
2. typing "systemctl list-unit-files --state=enabled", why are some 
lines in green and others in black? Does it mean something?

https://postimg.cc/rDftS80K

On 17/10/2024 11:55, Gilles via samba wrote:
> Hello,
>
> On a Windows 10 host and a Debian appliance connected on the same 
> switch, it takes several seconds to see the list of shared ressources 
> after typing "net view \\debian".
>
> Is it to be expected, or is it due to wrong options in smb.conf?
>
> FWIW, I'm running  Samba 4.17.12-Debian and wsdd v0.7.0.
>
> Thank you.
>
> =============== netstat -tunlp
> tcp        0      0 192.168.0.15:5357 0.0.0.0:* LISTEN      6192/python3
> tcp6       0      0 fe80::50:43ff:fee7:5357 :::*                    
> LISTEN      6192/python3
> udp        0      0 192.168.0.15:3702 
> 0.0.0.0:*                           6192/python3
> udp        0      0 239.255.255.250:3702 
> 0.0.0.0:*                           6192/python3
> udp        0      0 0.0.0.0:39450 0.0.0.0:*                           
> 6192/python3
>
> =============== smb.conf
> [global]
> workgroup = WORKGROUP
> netbios name = DEBIAN
>
> security = user
> ;comment = No need for Unix/Samba passwords
> map to guest = Bad User
> guest account = www-data
>
> hosts allow = 127.0.0.1 192.168.0.0/24
> hosts deny = 0.0.0.0/0
>
> bind interfaces only = yes
> interfaces = 192.168.0.15/255.255.255.0 127.0.0.1/255.255.255.255
>
> log level = 2
>
> printcap name = /dev/null
> load printers = no
> printing = bsd
>
> [www]
> path = /usr/share/www
> ;comment = No need for Unix/Samba passwords
> guest ok = yes
> writeable=yes
> browseable=yes
> force create mode = 0644
> create mask = 0664
> security mask = 0664
> force security mode = 0664
>
> [sdcard]
> path = /mnt/sdcard
> guest ok = yes
> writeable=yes
> browseable=yes
> force create mode = 0644
> create mask = 0664
>
>




More information about the samba mailing list