Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

Smbpasswd - Failed to find entry for user / Failed to modify password entry for user
https://forum.ivorde.com/smbpasswd-failed-to-find-entry-for-user-failed-to-modify-password-entry-for-user-t47.html
Page 1 of 1

Author:  designeru [ Sat Jan 09, 2010 6:05 am ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/