Jump to content
Sign in to follow this  
EeKuM

Samba Help

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

the following post should give you some ideas

 

cheers

anyweb

Share this post


Link to post
Share on other sites

Hello :D

 

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

 

[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:

 

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"

 

etc

 

Any good?

Share this post


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.

Guest
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.

Loading...
Sign in to follow this  

×
×
  • Create New...