AuthorTopic: How to share Files in Samba? (Read 3346 times)

Hi, I know this is a stupid question.. I love Vector Linux, but documentation, wikis and FAQs are all fragmented and a mess. The search function is not working in the forum either.. So I had to ask, how do you share a file on linux to your local samba share?

Did everything right, when I access the pc from windows it tells me "There are currently no logon servers available to service the logon request"whats wrong? is it with the permissions and authentication that i have to edit?

Fiddled around with it some more and fixed that problem, had to set it on share.... now after i mounted the folders i wanted to share no matter what i do it tells me "network path not found"..

A few conditions need to be satisfied before you can access your files on the samba server. Here is an example to get you started.

As root, open /etc/samba/smb.conf in a text editor.- find the line for "workgroup = WORKGROUP" and change WORKGROUP to whatever you use in Windows- find "security = user" and change it to "security = share"- add a section like this:[public] comment = Public Stuff path = /public public = yes writable = yes

Save file and exit.

Make the directory and make it read-write for all:mkdir /publicchmod 777 /public

Start the samba server:/etc/rc.d/init.d/samba start

Assuming all went well and there is no firewall blocking access, you should now be able to access your Linux box from windows.

If you want this to be permanent, enable samba from vasm.This is taking a lot of shortcuts and disregarding safeguards. Additional study is recommended.