April 2

Linux: Samba setup example

apt-get install samba swat #swat is a great tool for easy configuration.

Create user:
adduser smbuser

Create Samba Password
smbpasswd -a smbuser

Example configuration file:
/etc/smb.conf

[data]
path = /mnt/yourfolder
comment = Share Folder
username = smbuser
valid users = smbuser
admin users = smbuser
unix extensions = No
read only = No
create mask = 0777
directory mask = 0777

Restart smbd
service smbd restart

By: nighthawk


Copyright 2021. All rights reserved.

Posted April 2, 2013 by Timothy Conrad in category "Linux

About the Author

If I were to describe myself with one word it would be, creative. I am interested in almost everything which keeps me rather busy. Here you will find some of my technical musings. Securely email me using - PGP: 4CB8 91EB 0C0A A530 3BE9 6D76 B076 96F1 6135 0A1B