Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Samba Help
#1
Alright, I'm a total noob.. and somewhat clueless with a lot of Linux. Configure your
Reply
#2
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 ?
Reply
#3

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

Reply
#4
Anyone? :P
Reply
#5

the following post should give you some ideas

 

cheers

anyweb

Reply
#6

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?

Reply
#7
Thanks for all the help guys! Much appreciated!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)