Open main menu

CDOT Wiki β

Changes

OPS335: File Servers

18 bytes added, 10:04, 2 March 2016
no edit summary
<ol><li value="3">Append (add) the following parameter to the bottom of 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:</li></ol>
x
<ol><li value="4">Append a (add) the following parameter to the '''home section''' so that only your user account can access that share:</li></ol>
x
<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