Samba problems [SOLVED]

Please confine these topics to things that would be of general interest to those who are interested in FAH which don't fall into any other category.

Moderator: Site Moderators

KE1HA
Posts: 17
Joined: Fri Dec 21, 2007 12:03 am
Hardware configuration: Beta Rig - All Stock For Testing
| Q9770 3.2GHz | Rampage Formula | 4GB OCZ Reaper 8500
| BFG 8800 GTS | Raptor 73GB | G15 | Razer Copperhead |
| ASUS MK2401H HDMI @ 1920x1200 |
Location: San Jose, CA
Contact:

Re: Samba problems [SOLVED]

Post 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.
.
Image
2x - Q6600 1 with 2x 9800GT's / 1 with 2x 8800GTS G92 512's UB-8.04 CLI Only
2x - AMD 9850 1 with 3x 9800 GT's / 1 with 1x 9800 GT's UB-8.04 CLI Only
1x - QX9770 GTX-280 WinDoze Vista 64
jcfuller
Posts: 10
Joined: Thu Oct 30, 2008 11:22 am
Location: Fort Edward, NY

Re: Samba problems [SOLVED]

Post by jcfuller »

tmoble,
Using your latest smb.conf all files are accessible?

James
tmoble
Posts: 58
Joined: Mon Dec 03, 2007 7:19 am
Location: Glendale, Az

Re: Samba problems [SOLVED]

Post 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.
KE1HA
Posts: 17
Joined: Fri Dec 21, 2007 12:03 am
Hardware configuration: Beta Rig - All Stock For Testing
| Q9770 3.2GHz | Rampage Formula | 4GB OCZ Reaper 8500
| BFG 8800 GTS | Raptor 73GB | G15 | Razer Copperhead |
| ASUS MK2401H HDMI @ 1920x1200 |
Location: San Jose, CA
Contact:

Re: Samba problems [SOLVED]

Post 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

Code: Select all

sudo /etc/inid.d/samba restart
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 !!
Image
2x - Q6600 1 with 2x 9800GT's / 1 with 2x 8800GTS G92 512's UB-8.04 CLI Only
2x - AMD 9850 1 with 3x 9800 GT's / 1 with 1x 9800 GT's UB-8.04 CLI Only
1x - QX9770 GTX-280 WinDoze Vista 64
Post Reply