I was trying to create a samba user using smbpasswd command as follows:
smbpasswd myuser
After typing the New Password and Confirmed Password as prompted. I got the following errors:
[root@mysystem]# smbpasswd myuser
New SMB password:xxxxxxx
Retype new SMB password:xxxxxxx
Failed to find entry for user myuser.
Answer: (Solved)
Use the command smbpasswd as below
[root@mysystem]#smbpasswd -a myuser
New SMB password:
Retype new SMB password:
Added user myuser.