Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Samba Help
#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


Messages In This Thread
Samba Help - by EeKuM - 2007-10-22, 02:30 AM
Samba Help - by magikman - 2007-10-22, 03:49 PM
Samba Help - by EeKuM - 2007-10-23, 05:57 AM
Samba Help - by EeKuM - 2007-10-29, 08:55 AM
Samba Help - by anyweb - 2007-10-29, 04:23 PM
Samba Help - by znx - 2007-10-29, 10:55 PM
Samba Help - by EeKuM - 2007-11-06, 06:45 AM

Forum Jump:


Users browsing this thread: