932
edits
Changes
m
hosts allow = 142.204.141. <first three octets of network address followed by period e.g. "192.168.6."> ; note: the above line will allow access from the Seneca domain in lab T2107. You will have to change this depending on which lab you are in.
valid users = <learnid>
; remember <learnid> is your seneca account name
→Configuring a Samba Server on Linux
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
[home]
comment = "put your real name here without the quotes"
path = /home/<learnid>
public = no
writable = yes
printable = no
create mask = 0765
*Now add a parameter to the global section that will limit access to the share so that only machines in your virtual network and those in the lab room will be able to access it.
*Add a parameter to the home section so that only your user account can access that share.
*Create a Samba password for user <learnid> with the command
smbpasswd -a <learnid>