Changes

Jump to: navigation, search

OPS335 Samba Lab

57 bytes removed, 15:41, 4 November 2015
m
Configuring a Samba Server on Linux
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
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.
[home]
comment = "put your real name here without the quotes"
path = /home/<learnid>
valid users = <learnid>
; remember <learnid> is your seneca account name
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>
932
edits

Navigation menu