Peter Milesson
2022-Jun-11 08:47 UTC
[Samba] Why is smbd listening on port 139? (using Louis' repo 4.15.7)
Hi folks, I have got a samba member server Debian Bullseye 11.3 with Louis' repo 4.15.7. I just wanted to ask why smbd is listening on port 139/tcp? nmbd is disabled and does not run, marked as dead when running systemctl status nmbd. I have set "min server protocol = SMB2_10" and "min client protocol = SMB2_10" in smb.conf. I have wsdd running for network discovery. Everything works fine, so I'm just curious. Best regards, Peter
Rowland Penny
2022-Jun-11 09:47 UTC
[Samba] Why is smbd listening on port 139? (using Louis' repo 4.15.7)
On Sat, 2022-06-11 at 10:47 +0200, Peter Milesson via samba wrote:> Hi folks, > > I have got a samba member server Debian Bullseye 11.3 with Louis' > repo > 4.15.7. > > I just wanted to ask why smbd is listening on port 139/tcp?Because it does, unless you set 'smb ports = 445' and turn off port 139.> > nmbd is disabled and does not run, marked as dead when running > systemctl > status nmbd. > I have set "min server protocol = SMB2_10" and "min client protocol > = > SMB2_10" in smb.conf.You might as well remove them, Samba now defaults to SMB2_02 Rowland