[Samba] How to set netbios node type to Samba server
John H Terpstra
jht at samba.org
Mon Mar 7 15:30:48 GMT 2005
On Monday 07 March 2005 07:11, oota at mail.linux.bs1.fc.nec.co.jp wrote:
> I have 2 samba server. both server is multi homed server.
>
> mostly same smb.conf.
>
> First server, run on FreeBSD 5-Stable,and this machine
> register two NetBIOS name to IP adress mapping to wins server.
> And this machine is m-node.
>
> Another server ,run on Linux,and this machine
> register only one NetBIOS name to IP adderss mapping to wins server.
> And this machine is h-node.
>
> I have a question.
>
> 1) Why both server have differrent node type?
>
> 2) Why linux server only one mapping data to wins server?
>
> 3) Where does samba server setting netbios node type?
On Samba server - to make it the WINS server,
(it will be a client of its own WINS server automatically) set:
wins support = Yes
name resolve order = wins host bcast
to make it a WINS client of a WINS service that is running on another machine
set:
wins server = IP_Address_of_WINS_server
name resolve order = wins host bcast
All MS Windows client must then be configured to use WINS (preferable H-node).
- John T.
>
> ------------------------------------------------------------
> [global]
> client code page = 932
> netbios name = SAMBA3
> # interfaces = 192.168.1.0/26 localhost
> interfaces = 192.168.1.0/26 210.xxx.yyy.zzz/29 localhost
> encrypt passwords = Yes
> # min password length = 1
> # printcap name = ulp
> os level = 20
> guest account = testuser
> valid users = aaa,bbb,ccc,ddd
> admin users = eee,fff
> printer admin =aaa,bbb,ccc,ddd
> printing = bsd
> print command = lpr -r -s -P%p %s
> nt acl support = yes
> map hidden = yes
> map system = yes
> wins server = 192.168.1.11
>
> --
> --- Oota Toshiya --- oota at mail.linux.bs1.fc.nec.co.jp
> NEC Computers Software Operations Unit Shiba,Minato,Tokyo
> Linux Promotion Center Japan,Earth,Solar system
> (samba-jp President/postmaster,mutt-j/faqomatic admin,analog-jp postmaster)
--
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668
Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
More information about the samba
mailing list