Forum Home
Press F1
 
Thread ID: 81477 2007-07-28 22:25:00 Setting up Linux file server box chiefnz (545) Press F1
Post ID Timestamp Content User
573674 2007-07-29 04:47:00 Below is a set of instructions for a Redhat style distribution of Linux for SAMBA. Not sure if there is enough detail here but it is a starting point. These instructions are for a workgroup setup - a little more is required if you want a domain.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
i.edit the /etc/samba/smb.conf file to ensure that you are using the same workgroup name on both the Windows and Linux PC.
ii.edit the /etc/samba/smb.conf file to ensure that you are using the IP range as the XP machine.
iii.Create a common user on each PC and check you can log into the Samba server from the Windows workstation. Remember that you need a Linux and a Samba user on the Linux PC since the encryption in Linux is incompatible with MS Windows encryption.
iv.After changes to the smb.conf file, you need to get the smb daemon to re-read the configuration file (not with a reboot!) by either of the two methods below (restart can also be stop or start):
1.service smb restart
2./etc/rc.d/inint.d/smb restart
johnd (85)
573675 2007-07-29 09:07:00 i.edit the /etc/samba/smb.conf file...Alternatively, install SWAT. It's a web-based GUI for configuring Samba, and is made by the same devs who work on Samba - so it's reasonably comprehensive.

iii.Create a common user on each PC and check you can log into the Samba server from the Windows workstation. Remember that you need a Linux and a Samba user on the Linux PC since the encryption in Linux is incompatible with MS Windows encryption.You don't need both unless you are trying to use unix file permissions as well as the samba config to protect files. This has nothing to do with encryption. The user doesn't need to be common between PCs; Windows will generally pop up a dialog asking for a user/pass if authenticating as the current user doesn't work.

iv.After changes to the smb.conf file, you need to get the smb daemon to re-read the configuration file (not with a reboot!) by either of the two methods below (restart can also be stop or start):
1.service smb restart
2./etc/rc.d/inint.d/smb restartSamba automatically re-reads its config file every minute anyway, you don't need to restart it.
Erayd (23)
1 2