Jump to content

Samba Help

Recommended Posts

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

Link to post
Share on other sites

Hello :D


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


 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:


service smb restart


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


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


Or for doing a simple copy of a file:


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




Any good?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...