Set, update or change a user password in Samba. If domain admin or user password that is set on samba needs to be updated. Open terminal then update using the command below: smbpasswd -a smbpasswd -a administrator After pressing enter, type the password twice to validate and confirm the password. If the user name or admin password has been updated on the Windows Active Directory, then the Samba password has to be updated as well. If the samba password is not updated then the client from the windows environment authenticating to samba will not be able to connect to samba shares. To dig more about smbpasswd check out link below: https://www.samba.org/samba/docs/man/manpages/smbpasswd.8.html -a This option specifies that the username following should be added to the local smbpasswd file, with the new password typed (type for the old password). This option is ignored if the username following already exists in the smbpasswd file ...
Make the world a better place by sharing knowledge, ideas and anything that you can give that comes from the heart.