[Samba] error connecting to myhost:139 (Invalid argument)

Jim Watt wattjg at appliedbiosystems.com
Thu May 30 12:46:03 GMT 2002


--On 05/30/2002 3:24 PM -0400 Bruce David wrote:

} a. I start Samba with inetd.  The pertinent lines in /etc/inetd.conf are:
} 
} netbios_ssn  stream tcp nowait untrusted m6nobody /opt/samba/bin/smbd smbd
} netbios_ns   dgram udp wait untrusted root /opt/samba/bin/nmbd nmbd -d 999    

If smbd is being started as "nobody", (is that what "m6nobody" is?),
it will be unable to bind to a privileged port (tcp/139 in this case).

"nmbd" is apparently being started as root.  What's the "-d 999"
about?  According to the manpage for nmbd...

 -d <debug level>
      debuglevel is an integer from 0 to 10. The default value if
      this parameter is not specified is zero.

Jim
--
Jim Watt                               wattjg at appliedbiosystems.com
Applied Biosystems                     Voice (desk): +1 408 577 2228
3833 North First Street                Fax:          +1 408 894 9307
San Jose CA 95134-1701                 Voice (main): +1 408 577 2200





More information about the samba mailing list