LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-04-2006, 10:49 PM   #1
robotball
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Rep: Reputation: 0
Samba DHCP and WINS confusion


I have a home/office network that includes a SUSE 10.1 linux box, an XP desktop, several 2000/XP laptops (all wireless), and a linksys router. The linksys router acts as the DHCP server for the Windows machines. The windows machines are all setup by WORKGROUP not domain.

I would like to get Samba up and going and have read many posts and HOWTOs, but I am confused on some things. When performing the setup how does the fact that the linksys is doing DHCP work with Samba. The IP addresses change? I was also told that I should use the linux box as a WINS server, what does this get me? Do I need a domain setup to have the shares be accessed without a password? I do want some shares to be private, but would like not to have to password if I can. I also read that I need to give the IP address of the Windows machines to the linux box, but it is DHCP, so I am not sure. Any help would be appreciated. Thanks.
 
Old 11-05-2006, 05:14 AM   #2
Au_Squirrel
Member
 
Registered: Nov 2005
Location: Brisbane AU
Distribution: FC29
Posts: 52

Rep: Reputation: 17
So to clarify your post. Do you want to set up a domain and have your XP boxes connect or do you want to create your samba server to be part of the workgroup? If it is part of the workgroup you will be able to use XP home edition. For a domain, your workstations all need to run XP professional or 2000.

Assuming that you only want a workgroup, you can configure your samba server to have public shares that will not need the windows users to be logged on. This is not!!! normally recommended for security reasons. If a hacker gets through your wireless security or firewall, they have a ready made network storage place.

It is also possible to restrict some users to be able to access their own shares and this could be done by hiding (read not advertising) some of the shares.

In samba you create all the shares and then make visible the public ones. The remainder would be left as private and the users workstations would have the share mapped on each one. This works well with a person per computer per share. Just remember that if they move between computers, as happens at my place, they will be accessing different shares. Unless you have set up different windows user account on each workstation for them and store the drive mappings in their profile.


My advice is to first set up your samba server and create the public shares. Next experiment with the private ones and see how you go. Remember while doing this, keep backups of the data (if needed) and regularly backup your config files. Oh and google anything you have problems with. We have all hit the same walls at some stage.

Here are a couple of my reference url's http://samba.org/samba/docs/man/Samba-HOWTO-Collection/ http://www.brennan.id.au/18-Samba.html

In most cases the How To s and walk through s will talk about user accounts and logon's as most of us tend to be paranoid about security (they do know where you live and they are out to get you). If your people are never going to log on to your Linux box, you will not need to create Linux accounts for them and you can have no passwords. Again, only and I stress only, if you trust your users and feel confident in your network security (or have nothing worth stealing)

As for the wins server, I have a simple view in that all it does is maintain a list of machine names and addresses. That will allow your windows boxes to find each other quicker. That is my simplistic view on WINS. Someone with more knowledge will correct my ignorance.
 
  


Reply



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
WINS on Samba humbletech99 Linux - Networking 1 05-23-2006 09:58 PM
modprobe & dhcp confusion argonian Slackware 5 08-23-2005 03:32 PM
Dns, Www, Mail, Firewall, Vpn, Ftp, Dhcp, Wins ricake Mandriva 2 03-30-2004 06:06 PM
wireless router DHCP confusion yocompia Linux - Wireless Networking 1 07-25-2003 11:01 AM
DHCP & Static IP Confusion! MikHud Linux - Networking 1 01-12-2002 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration