I have since years an issue with Samba 4.3.11 and Windows 10 in a Domain with Samba Active Directory:
The Users on Windows 10 will be shown as further logged on on the samba server (smbstatus -b) even after a shutdown or restart of the Windows 10 clients.
If they do instead only a logoff they will correctly disappear from the smbstatus list after ~10 seconds.
I get a correct user logoff from the Samba server after Windows shutdown only if I limit the protocol on the samba server to NT1 (SMB1).
I'm building now a new domain with samba 4.13.13 and I see the same issue again.
I would very much like to come finally to a better solution than to still use the old smb protocol.
Thanks for any hint!