LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-04-2006, 04:45 PM   #1
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Rep: Reputation: 38
Samba - XP clients not registering with WINS server


I would be most grateful if anyone could help me with this problem:

I have a samba server setup on RedHat 9 configured as a WINS server (wins support = yes). This server is also a DHCP server to the lan. All clients are WinXP Pro.

I have in my dhcpd.conf file the 'option netbios-name-servers 192.168.1.2' and it is setting this on the clients. However, whether the client have a dynamic or static ip address, for some reason the client(s) are not registering it's hostname and ip with the samba server.

If one of the client's ip changes then it never changes the entry in the wins.dat file.

Does anybody know what this could be?
 
Old 04-05-2006, 12:31 AM   #2
centauricw
Member
 
Registered: Dec 2005
Location: Lawrenceville GA
Distribution: Slackware, CentOS. Red Hat Enterprise Linux
Posts: 216

Rep: Reputation: 31
First check to be sure that on the Win XP machines, under the WINS tab for the Advanced properties of TCP/IP that it's set to default (get setting from DHCP). Next run "IPCONFIG /ALL" on the Win XP machine to see what the primary WINS server is set to. If this entry is not set, then DHCP isn't working correctly. If it is set, then it's the Samba server. If it's the latter, you can try stopping Samba and deleting the wins.dat file in /var/cache/samba. This will force Samba to rebuild the WINS info.
 
Old 04-05-2006, 04:28 AM   #3
Dudydoo
Member
 
Registered: Sep 2003
Location: UK
Distribution: I use 'em all ;-)
Posts: 275

Original Poster
Rep: Reputation: 38
All of the XP machines are getting the correct WINS server address from the DHCP server. I have checked this and it's correct.

I have also tried deleted the wins.dat file from the samba server, but when samba rebuilds the file, it still puts the old ip addresses of the clients in there instead of the new ones. e.g. one of the client machines was assigned a new ip address from the DHCP server (old ip 192.168.1.193, new ip 192.168.1.10) but the entry that appears in wins.dat is sill 192.168.1.193, even though the address has changed on the client. There for all of the other clients try and access the machine using the old ip address.

It's very strange, as I have set this up many times before and normally works perfectly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
samba¦server¦with¦windows¦2000¦clients dabash Linux - Networking 3 08-23-2005 01:08 AM
Samba WINS Server Problems (I think) skaarak Linux - Networking 2 04-28-2005 07:44 PM
Samba WINS Server rmarvin Linux - Networking 0 10-24-2003 12:35 PM
Samba WINS Server Issues gauge73 Linux - Networking 23 01-31-2003 10:04 AM
Samba WINS server acid_kewpie Linux - Networking 1 10-03-2001 01:30 AM


All times are GMT -5. The time now is 10:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration