[Samba] Failed to modify entry for user in samba with tdb backend

Tetra terjet-list at funcom.com
Thu Mar 5 07:13:01 MST 2015


On 04.03.2015 09:24, Francesc Guasch wrote:
>       # smbpasswd -x olduser
>       Failed to delete entry for user olduser.


Imagine how nice it would have been if the error message had been like this:

	# smbpasswd -x olduser
	Failed to delete entry for user olduser because user is not found in 
/etc/passwd.

...or it could actually just delete the user anyway. Possibly informing 
that it wasn't in passwd too.

I don't know if there is a real reason for that or not. Maybe the 
developers or other with knowledge of the code knows.



More information about the samba mailing list