1820694 Members
2590 Online
109627 Solutions
New Discussion юеВ

Disabling NetBios

 
dictum9
Super Advisor

Disabling NetBios

This is on HP-UX 11.23

In /etc/services, netbios_ns runs on port 137, netbios_dgm on port 138 and netbios_ssn runs on port 139.

However, when I do netstat -an, the only port which shows up is 139.



4 REPLIES 4
dictum9
Super Advisor

Re: Disabling NetBios

I need to disable NetBios, what' the best way of doing that? Modifying /etc/services file and commenting out all the ports?

Will it impact samba?
Steven E. Protter
Exalted Contributor

Re: Disabling NetBios

Shalom etc,

Samba can run without netbios. You don't need to modify /etc/services

modify /etc/opt/samba/smb.conf

Find and change the winbind parameter to disabled or comment it out.

/sbin/init.d/samba stop
/sbin/ini.d/samba start

Then you are done.

If you are on a winbind network with windows clients, you will by doing this possibly break samba connectivity.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
dictum9
Super Advisor

Re: Disabling NetBios

I cannot find the "winbind" parameter anywhere in that file.
I did however find the following:

"netbios name = "

Are you saying that I disable NetBios from /etc/opt/samba/smb.conf ?

dictum9
Super Advisor

Re: Disabling NetBios

P.S. I don't want to just reconfigure samba to not use NetBios, I also want to turn NetBios ports (137,138 and 139) off.