Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Samba] WINS

0 views
Skip to first unread message

naz...@heitech.com.my

unread,
Apr 24, 2003, 11:50:15 AM4/24/03
to
Anybody can help me how to add a static IP address with NetBIOS name for my
samba 2.2.5 on RH Linux 8.0
I've tried to modify the wins.dat and restart nmbd but it didn't work. I
couldn't figure out what are the numbers all about.
Pleaseeeee.... help!!!

This E-mail contains privileged and / or confidential information. If you
are not the intended recipient ( or responsible for delivery of the message
to such person) or if you have inadvertently received this e-mail, you
should destroy or delete this message and notify the sender by replying the
E-mail accordingly. If you or your employer do not consent to using
Internet E-mail for messages of this kind, please advise immediately by
sending an E-mail to the sender of this message.
All opinions, conclusions and other information in this message do not
relate to the official business of HeiTech Padu Berhad ("HeiTech") shall be
understood as neither given nor endorsed by HeiTech. Our company accepts no
liability for the content of this E-mail, or of the consequences of any
actions taken on the basis of the information provided, unless that
information is subsequently confirmed in writing. Caveat.
CAUTION: Computer Viruses can be transmitted via E-mail, and you should
check this E-mail and any attachments for the presence of viruses. HeiTech
accepts no liability for any damage caused by any virus transmitted by this
E-mail. Our employees are expressly required not to make defamatory
statements nor infringe or authorise any infringement of copyright or any
other Intellectual Property Rights via any communications. Any such
communication is contrary to HeiTech's policy and outside the scope of the
employment of said individual. We will not be liable for such
communication.


--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba

John H Terpstra

unread,
Apr 24, 2003, 12:10:14 PM4/24/03
to
On Thu, 24 Apr 2003 naz...@heitech.com.my wrote:

> Anybody can help me how to add a static IP address with NetBIOS name for my
> samba 2.2.5 on RH Linux 8.0
> I've tried to modify the wins.dat and restart nmbd but it didn't work. I
> couldn't figure out what are the numbers all about.
> Pleaseeeee.... help!!!

Why do you need a static IP address in WINS? What is your configuration?

- John T.
--
John H Terpstra
Email: j...@samba.org

John H Terpstra

unread,
Apr 25, 2003, 12:30:12 AM4/25/03
to
Nazrul,

Firstly, we are working on a new tool to implement static WINS addresses
for samba-3. This tool may or may not make it into 3.0.0.

Secondly, given what you describe below you do NOT need static WINS
addresses.

Step 1. Make sure that samba is configured as a WINS server.

In smb.conf [globals]
wins support = yes

Step 2. Make sure all your MS Windows client get the WINS server address
_AND_ are set to NetBIOS node type 8. Example DHCP server config file:

/etc/dhcpd.conf:
----------------
option ntp-servers 192.168.1.1;
allow unknown-clients;
default-lease-time 86400;
max-lease-time 172800;
option domain-name "world.org";
option domain-name-servers 192.168.1.1;
option netbios-name-servers 192.168.1.1;
option netbios-dd-server 192.168.1.1;
option netbios-node-type 8;

subnet 192.168.1.0 netmask 255.255.255.0 {
range dynamic-bootp 192.168.1.128 192.168.1.254;
option subnet-mask 255.255.255.0;
option routers 192.168.1.1;
allow unknown-clients;
}

Step 3. Read the Samba-HOWTO-Collection.pdf
http://samba.org/~jht/NT4migration/Samba-HOWTO-Collection.pdf

See chapters: 9 and 23.

Hope this helps.

- John T.

On Fri, 25 Apr 2003 naz...@heitech.com.my wrote:

>
> Thank you for your reply. This is my configuration:
> I'm migrating my DHCP/WINS server which was running on WinNT4 to Linux.
> I've configured the linux server as DHCP server which assign dynamic IPs to
> clients. On top of it I've assigned the client's options with NetBIOS name
> server (WINS) and Router (Default Gateway). All my client are using MS
> Windows and I want my Linux server to be the master browser. Furthermore
> the clients need to browse for their servers to access to their files,
> application as well as printing purpose. These servers have their own
> static IP. The clients have no problem browsing over other PCs but fail to
> browse the servers. They have to maintain a personal hosts file to resolve
> server name to IP on each of their PCs.
> What I have in mind is to centralise all the static IP into one database -
> the WINS server. I've done this successfully on WinNT and I'm sure there is
> a way to do it in Samba but I couldn't figure it how.


>
> On Thu, 24 Apr 2003 naz...@heitech.com.my wrote:
>
> > Anybody can help me how to add a static IP address with NetBIOS name for
> my
> > samba 2.2.5 on RH Linux 8.0
> > I've tried to modify the wins.dat and restart nmbd but it didn't work. I
> > couldn't figure out what are the numbers all about.
> > Pleaseeeee.... help!!!
>
> Why do you need a static IP address in WINS? What is your configuration?

--

John H Terpstra

unread,
Apr 25, 2003, 11:30:10 AM4/25/03
to
On Fri, 25 Apr 2003 naz...@heitech.com.my wrote:

>
> Thank you for the tips, John
>
> I have setted the dhcpd.conf like your example, and I've also done the
> smb.conf part and samba if running as WINS server.
> I have read through the HOW-TO files but I don't understand how the client
> can resolve server IP if the IP is not registered in WINS database.

MS Windows clients auto-register with the WINS server _if_ they are
configured to use a WINS server.

- John T.

>
>
>
>
>
> John H Terpstra
> <j...@samba.org> To: naz...@heitech.com.my
> cc: sa...@samba.org
> 25/04/2003 12:25 Subject: Re: [Samba] WINS

0 new messages