PDA

View Full Version : Samba


TheWeb
05-19-2003, 01:11 PM
Does anyone has experience with installing Samba for a network @ home. I'm trying to figure out how to install Samba for three pc's for which two have dualboot (W2k/Redhat and WXp/Suse with a laptop with Mandrake installed). The printer is connected to the W2k pc.

I've already red the guide for installation, but I can't figure it out how to set the different workgroup names for all the pc, despite they are all working on one router.

Any suggestions?

Tnx.

Z_God
05-20-2003, 11:12 AM
You'll need to edit /etc/samba/smb.conf
Once you've opened that file, you'll probably see how it works. Otherwise you should type man smb.conf

Davepet
05-21-2003, 12:34 AM
>> but I can't figure it out how to set the different workgroup names for all the pc<<

Hmmm, how many "workgroups" do you have ?

I have 2 dual boot boxes & one win box & they all work fine with just one workgroup.

Dave

NinerFan
05-21-2003, 12:40 PM
As Davepet pointed out, you really should run with only one workgroup.

Set all the windows machines to have the same workgroup, and then on the linux machines, make sure they as well are set the same.

As Z_God pointed out, the file is /etc/samba/smb.conf. It is very well commented. If editing the config file by hand seems a bit daunting, samba has a web configuration program called swat. If it is a service already running on your system, you can just point your web browser to http://SambaServer:901/ where SambaServer is either the servers IP address, or dns name.

If you go the latter route of using swat, I suggest first making a backup copy of the /etc/samba/smb.conf file. I'm not sure about the later versions of swat, but it used to write out the options you set, and losing all the good comments in the file. Being able to look those up sometime may prove useful.

Good luck!