Changes

Jump to: navigation, search

OPS335: File Servers

499 bytes added, 10:18, 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 if to see that you have a connection with can connect to your Samba server (locally) by issuing the following command:<br>'''smbclient -U <yourSenecaID> -L 127.0.0.1''' and </li><li>When prompted, enter your Samba account's Samba password.</li><li>The output from that issued command show appear similar to example displayed below:<li></ol> Sharename Type Comment --------- ---- ------- home Disk Your Name IPC$ IPC IPC Service ("Your Name") Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.3]  Server Comment ------ -------  WorkGroup Master --------- ------
13,420
edits

Navigation menu