Open main menu

CDOT Wiki β

Changes

OPS335: File Servers

206 bytes removed, 12:01, 3 March 2016
no edit summary
<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 = @smbusers, <your-seneca-id>
<ol><li value="5">Create a Samba password for user <learnid> with the command:<br>'''smbpasswd -a <learnid>'''</li><li>If you need to, you can change a user's password by using the command:<br>'''smbpasswd <username>'''</li><li>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>
13,420
edits