LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Does anybody could tell me how to configure the Wins server in RedHat Linux (https://www.linuxquestions.org/questions/linux-newbie-8/does-anybody-could-tell-me-how-to-configure-the-wins-server-in-redhat-linux-662418/)

hi_fi2008 08-13-2008 04:24 AM

Does anybody could tell me how to configure the Wins server in RedHat Linux
 
I want to know how to configure the Wins server in RedHat Linux and where its config file or database file is in, also want to know which command could use to configure it, thank you!

camorri 08-13-2008 05:10 AM

All you need to do is add a line to your /etc/samba/smb.conf file in the Global section,
Quote:

wins support = Yes
Then on each windoze box, add the IP address of the wins server. That is all there is to it. See this link if you need more information. http://us1.samba.org/samba/docs/using_samba/toc.html

hi_fi2008 08-13-2008 07:37 PM

Thank you for your reply, and I also want to know how to manage this wins server in Linux, such as adding the static ip address in it, updating the wins server, which command we can use to achieve it?

camorri 08-13-2008 08:14 PM

You don't. The wins server is part of Samba server. It is more like a service that Samba server runs. Update it? The purpose for the wins server is to distribute share information on a network. It gets updated by each box that has shares. It more or less tells each user what is available. All you do is turn it on, and tell each using system through configuration what IP address the wins server is. ( same ip as the samba server ). Then each using system tells the wins server about its shares. Any time a user looks for a share, it will go to the wins server and find the share. Nothing to do for the sys admin...

See this link... http://www.redhat.com/docs/manuals/e...amba-WINS.html


This link will detail how it works. http://us1.samba.org/samba/docs/using_samba/ch07.html

Hope this helps.

hi_fi2008 08-13-2008 08:36 PM

Thank you for your information, camorri!

hi_fi2008 08-13-2008 08:43 PM

1, In "http://us1.samba.org/samba/docs/using_samba/ch07.html" document, it says that the wins.dat file is in "/usr/local/samba/var/locks/wins.dat", but in my system, it is in "/var/cache/samba/wins.dat", so could you tell me why?
2, Now, in my network, there are some servers assigned static IP addresses, how should I add these IP addresses into the wins server?


All times are GMT -5. The time now is 12:45 PM.