changing Netbios 137 port used by Launchd, PID 1

Hi,


I Installed Samba tarball https://download.samba.org/pub/samba/samba-4.5.5.tar.gz. Samba have smbd, nmbd y winbindddaemons.

nmbd — NetBIOS name server to provide NetBIOS over IP naming services to clients

When I try to run nmbd daemon I have this message.

bind failed on port 137 socket_addr = 0.0.0.0.

Error = Address already in use

Reviewing who is using that port.

# lsof -i :137

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME

launchd 1 root 32u IPv4 0xfa74f673adc87d2f 0t0 UDP *:netbios-ns

sh-3.2#


How avoid that launchd uses the 137 port, changing to another?


NOTE:

I disabled.


sudo launchctl stop com.apple.netbiosd

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.netbiosd.plist


sudo launchctl stop com.apple.smb.preferences

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.smb.preferences.plist



Thank you!

MacBook Air, macOS Sierra (10.12.2), VirtualBox 5.1.10

Posted on Feb 22, 2017 5:13 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

changing Netbios 137 port used by Launchd, PID 1

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.