Page 3 of 3
Re: Samba problems [SOLVED]
Posted: Tue Nov 11, 2008 11:51 pm
by KE1HA
tmoble wrote:looks a little simpler, eh? Now, the command given in the file is
Code: Select all
testparm -s smb.conf.master >smb.conf
, but I modified it slightly to
Code: Select all
sudo testparm -s smb.conf >smb.conf.bak
so I could look at it before altering my working conf file. Then I make a copy of the working file and mv the new mini-file to the real file.
Code: Select all
sudo cp smb.conf smb.conf.testparm.bak
sudo mv smb.conf.bak smb.conf
Nice one !! Will definately be using that going forward.
.
Re: Samba problems [SOLVED]
Posted: Wed Nov 12, 2008 12:19 am
by jcfuller
tmoble,
Using your latest smb.conf all files are accessible?
James
Re: Samba problems [SOLVED]
Posted: Wed Nov 12, 2008 4:16 am
by tmoble
all files under /home/tom, which includes all the F@H stuff. I haven't tried the CD, but it will probably be accessible. Don't need it though. dunno why I didn't blow it off.
Re: Samba problems [SOLVED]
Posted: Mon Nov 17, 2008 9:13 pm
by KE1HA
@tmoble -
I was reconfiguring HW on several of my Linux clients over the weekend, and took the oppertunity to test your method of employing Samba shares, it works very well !!!
I stripped out the smb.conf file as you sugessted:
Code: Select all
sudo testparm -s /etc/samba/smb.conf >smb.conf.bak
sudo cp ./smb.conf.bak /etc/samba/smb.conf
sudo nano /etc/samba/smb.conf
NOTE: I did not modify the [Global] settings at all.
I stripped out (deleted) everything ( Printers, CD-ROM, everything ) apart from [Global] and added your [Homes] section from above:
Code: Select all
[homes]
comment = Home Directories
read only = No
create mask = 0775
directory mask = 0775
browseable = No
then restarted Samba
Then using Windows Explorer (not IE or Fire Fox), as you sugessted, I merely typed in the the address bar \\Q6600-1 {Enter} and it browsed to the shared home folders.
Since employing this method, I've not had any trouble with FahMon giving me static about "Hung" clients or "There Apprers to eb something wrong with the client" errors.
Well Done !!