Changes

Jump to: navigation, search

OPS335: File Servers

5 bytes added, 11:23, 5 March 2016
no edit summary
{{Admon/tip|Changing Existing Samba Account Passwords|If you need to change a user's existing Samba account password, you can issue the following command as root: '''smbpasswd username'''.}}
<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>Use the systemctl command to start the smb.service and enable the service to run on boot-up</li><li>Modify the firewall on VM2 to allow samba traffic.</li><li>Test to see that you can connect to your Samba server (locally) by issuing the following command:<br>'''smbclient -U <yourSenecaID> -L 127.0.0.1'''</li><li>When prompted, enter your Samba account password.</li><li>The output from that issued command show appear similar to example displayed below:</li></ol>
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service ("Your Name")
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.3]
Server Comment
------ -------
WorkGroup Master
--------- ------
'''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book'''
13,420
edits

Navigation menu