Linux-Noob Forums
Samba Help - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-60.html)
+--- Thread: Samba Help (/thread-1129.html)



Samba Help - EeKuM - 2007-10-22

Alright, I'm a total noob.. and somewhat clueless with a lot of Linux. Configure your



Samba Help - magikman - 2007-10-22

I am more than willing to help. However, I am really quite unsure what it is you are asking. Do you think you could be a little more clear in your request ?



Samba Help - EeKuM - 2007-10-23


Well, I can only be as clear as my directions that I was given. Let's see If I can break this down a bit more.

 

What I have to do is..

 

Configure my home directory as a Samba Share. Then use the smbclient to connect to my home directory using a bash shell. Then list the home directory contents and copy the contents.

 

So basically what I have to do is configure the directory and prove that I have done so. :P




Samba Help - EeKuM - 2007-10-29

Anyone? :P



Samba Help - anyweb - 2007-10-29


the following post should give you some ideas

 

cheers

anyweb




Samba Help - znx - 2007-10-29


Hello :)

 

So um, here we go. Edit /etc/samba/smb.conf

 



Code:
[home]
comment = My Home Space
path = /home/myuser/
valid users = myuser
public = no
writable = yes
printable = no
create mask = 0765




 

Thats a simple example, replace "myuser" with your correct username. Then you want to restart the samba service. I believe that under Fedora its:

 



Code:
service smb restart




 

That should be it working as a share then. Basically smbclient works like this for listing your home directory:

 



Code:
smbclient -U myuser //localhost/home -c "ls"




 

Or for doing a simple copy of a file:

 



Code:
smbclient -U myuser //localhost/home -c "cp file filecopy"




 

etc

 

Any good?




Samba Help - EeKuM - 2007-11-06

Thanks for all the help guys! Much appreciated!