Changes

Jump to: navigation, search

OPS335: File Servers

99 bytes added, 19:09, 3 March 2016
m
Added a step to use smbpasswd to create a user.
<ol><li value="4">Append (add) the following parameter to the '''home section''' so that only your user account can access that share:</li></ol>
valid users = &lt;your-seneca-id&gt;
<ol><li value="5">Use the '''smbpasswd''' command to create a samba account for yourself</li></ol><ol><li value="6">Confirm the user you created has been added using the following command:<br>'''pdbedit -L -v'''</li><li>Test and review your configuration with the command:<br>'''testparm'''</li><li>You can now start your Samba server (smb.service) and ensure it will start at boot.</li><li>Modify the firewall on VM2 to allow samba traffic.</li><li>Test if you have a connection with the command:<br>'''smbclient -U <learnid> -L vm2''' (It will show you a list of all available shares.)</li></ol>
932
edits

Navigation menu