Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 15, 2012, 03:08 PM   #1
solarein
macrumors regular
 
Join Date: Feb 2010
NetBIOS broken?

So, after seeing the following come up every couple of minites in the logs, I decided to investigate what's going on.

Code:
netbiosd[166]: name servers down?
It turns out netbiosd is trying to bind to UDP ports 137 and 138, which are needed by the NetBIOS protocol to work. But its launchd file configures netbiosd to run as the _netbios user, which is unprivileged and cannot bind to those ports, resulting in the following error message when netbiosd starts up:

Code:
netbiosd[166]: Unable to start NetBIOS name service:
Simple, right? Just run netbiosd as root. But it's not so easy. Running netbiosd as root using launchd, it again can't bind to those ports. That's because launchd is configured to bind to those sockets on behalf of netbiosd, and it seems like netbiosd is not properly programmed to support running under launchd, so it tries to bind to those ports itself, rather than having them passed in by launchd, so once again it cannot start the NetBIOS name service.

Then I tried removing those sockets from the launchd config for netbiosd. Which resulted in the following error message:

Code:
netbiosd[166]: failed to send CheckIn message to launchd for job checkin: Operation not permitted
So it seems like it's checking in with launchd after all! Yet it still wants to bind to those ports itself. Is this daemon just completely broken then? Has anyone had any luck getting it to work?
solarein is offline   0 Reply With Quote
Old Feb 23, 2013, 10:08 PM   #2
niwrik
macrumors newbie
 
Join Date: Feb 2013
netbiosd[137]: name servers down?

I've seen this in my logs as well. I'm having an issue with ACL's not resolving properly to AD user accounts on SMBX shares. I wonder if this could be causing the permissions not to resolve/bind properly.
niwrik is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Change NetBIOS name in 10.6 Server mknabster Mac OS X Server, Xserve, and Networking 1 Oct 11, 2013 04:52 PM
Netbios brentg33 OS X 10.8 Mountain Lion 1 Jul 6, 2013 12:06 PM
Disable WINS/netbios/etc. therealseebs OS X 10.8 Mountain Lion 2 Mar 11, 2013 02:02 AM
NetBIOS Name Changes on Wireless strwrsfrk MacBook Pro 2 Mar 1, 2013 12:35 PM
What is the NetBIOS name? macuser1232 Mac OS X Server, Xserve, and Networking 8 Aug 23, 2012 09:02 PM

Forum Jump

All times are GMT -5. The time now is 05:14 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC