Tag

Command Line Configuration

STEP 1:
Add the following line into smb.conf file

workgroup = WORKGROUPNAME
server string = BRIEF COMMENT ABOUT SERVER

[sharename]
comment = Insert a comment here
path = /home/share/
valid users = robby
public = no
writable = yes
printable = no
create mask = 0765

STEP 2:
Add a proper user into samba

smbpasswd -a robby

STEP 3:
Encrypted Passwords

cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

chmod 600 /etc/samba/smbpasswd

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd