Link to home
Start Free TrialLog in
Avatar of Arthur_Mino
Arthur_MinoFlag for Australia

asked on

SAMBA SMB Server 3, on FC5, Hosting a shared folder to Windows client but can only read and not write

G'day All,

For the life of me! Samba has been a pain. Have been following three books on it and the web and still can't get it to work.
I have Fedora Core 5, with Samba 3.0.21b-2, with a folder I would like to share to some windows clients.
For starters for some reason SWAT can't change my passwords because it says it can't find the accounts in the smbpasswd file, the file is there. But over the CLI I can add the passwords to the accounts and works fine. Don't know why SWAT just does not want to play.
Secondly, after finally managing to get a folder hosted on the windows network, it turns out that I can only read from it. No matter what I do, change permission on the folders, on SAMBA, users, force masks, force users , every body read and write, no good. I cannot get the shared folders to write from the windows clients. I've tried using other peoples configuration files with no luck. been checking the conf file with testparm and reloading the service.

Does any one have a smb.conf file which has been tested and works. I just need to be able to share a folder to a windows network and have ready write access to it. And also the permissions on the linux folders.

Any assistance very much apreciated!!!

thank you all!!

AM
ASKER CERTIFIED SOLUTION
Avatar of Ibrahim Bazarwala
Ibrahim Bazarwala
Flag of Kuwait image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Arthur_Mino

ASKER

G'day ibu1 and all,

Ok it took me all night but I found the cause of my mistake.


Your config file ibu1 is correct and it works.

But it turns out that because I had SWAT running and I was modifying the smb.conf file as well, this would cause a conflict between the two. There fore not just loading in my edited CLI smb.conf file but the SWAT file as well.

I noticed this when I was running the testparm smb.cnf, it would only show part of my settings. With a better look it all fell in to place.

I strongly suggest for people running SWAT to make sure you don't go back to the CLI to change the SMB file.

Thank you for getting back to me.


Cheers,

AM