On 18/10/2024 19:39, Peter Milesson via samba wrote:> Check if you have got the nscd service running. If it is, try to
> disable/remove it. It has played tricks on me in the past, and I
> always make sure it's not installed. It's just a far fetched hunch,
> though.
AFAICT, it's not running:
==============root at debian:~# netstat -tunlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address?????????? Foreign Address????????
State?????? PID/Program name
tcp??????? 0????? 0 0.0.0.0:22 0.0.0.0:*?????????????? LISTEN?????
382/sshd: /usr/sbin
tcp??????? 0????? 0 0.0.0.0:80 0.0.0.0:*?????????????? LISTEN?????
297/nginx: master p
tcp??????? 0????? 0 192.168.0.15:139 0.0.0.0:*?????????????? LISTEN?????
2994/smbd
tcp??????? 0????? 0 192.168.0.15:5357 0.0.0.0:*??????????????
LISTEN????? 7626/python3
tcp??????? 0????? 0 192.168.0.15:445 0.0.0.0:*?????????????? LISTEN?????
2994/smbd
tcp??????? 0????? 0 127.0.0.1:445 0.0.0.0:*?????????????? LISTEN?????
2994/smbd
tcp??????? 0????? 0 127.0.0.1:139 0.0.0.0:*?????????????? LISTEN?????
2994/smbd
tcp6?????? 0????? 0 :::22 :::*??????????????????? LISTEN????? 382/sshd:
/usr/sbin
tcp6?????? 0????? 0 fe80::50:43ff:fee7:5357 :::*???????????????????
LISTEN????? 7626/python3
udp??????? 0????? 0 192.168.0.15:3702
0.0.0.0:*?????????????????????????? 7626/python3
udp??????? 0????? 0 239.255.255.250:3702
0.0.0.0:*?????????????????????????? 7626/python3
udp??????? 0????? 0 0.0.0.0:51521 0.0.0.0:*??????????????????????????
7626/python3
udp??????? 0????? 0 0.0.0.0:68 0.0.0.0:*??????????????????????????
268/dhclient
udp6?????? 0????? 0 fe80::50:43ff:fee7:3702
:::*??????????????????????????????? 7626/python3
udp6?????? 0????? 0 ff02::c:3702 :::*???????????????????????????????
7626/python3
udp6?????? 0????? 0 :::59334 :::*???????????????????????????????
7626/python3
==============root at debian:~# ps aux | grep nscd
root????? 8074? 0.0? 0.4?? 7484? 2092 pts/0??? S+?? 20:11?? 0:00 grep nscd
==============
On 18/10/2024 19:29, James Browning via samba wrote:> It almost sounds like ARP is being slow. I do not think that is it though.
I waited a couple of minutes after typing the first "net view" command
in Windows before re-running "arp -a". Samba's IP is still listed,
but
"net view" is again slow. Like Windows/Samba only keeps an open
connection for a few minutes before closing it or something.
c:\>arp -a
Interface: 192.168.0.17 --- 0xc
? Internet Address????? Physical Address????? Type
? 192.168.0.13????????? 44-39-c4-56-04-c8???? dynamic
? 192.168.0.15????????? 02-50-43-e7-5c-e1???? dynamic
? 192.168.0.254???????? 00-07-cb-91-be-45???? dynamic
? 192.168.0.255???????? ff-ff-ff-ff-ff-ff???? static
? 224.0.0.22??????????? 01-00-5e-00-00-16???? static
? 224.0.0.251?????????? 01-00-5e-00-00-fb???? static
? 224.0.0.252?????????? 01-00-5e-00-00-fc???? static
? 224.15.1.80?????????? 01-00-5e-0f-01-50???? static
? 239.255.255.250?????? 01-00-5e-7f-ff-fa???? static
? 255.255.255.255?????? ff-ff-ff-ff-ff-ff???? static