Smbpasswd - Failed to find entry for user / Failed to modify password entry for user
Even if you add the user via useradd command, samba will still not see it returning the following messages:
Code:
# smbpasswd httpd
New SMB password:
Retype new SMB password:
Failed to find entry for user httpd.
Failed to modify password entry for user httpd
Solution:
Code:
# smbpasswd -a httpd
New SMB password:
Retype new SMB password:
Added user httpd.
The reason for this is that samba uses different user/passwd files then the system.