Page 1 of 1

Smbpasswd - Failed to find entry for user / Failed to modify password entry for user

PostPosted: Sat Jan 09, 2010 1:05 pm
by designeru
Even if you add the user via useradd command, samba will still not see it returning the following messages:

Code: Select all
# 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: Select all
# 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.