[Samba] Can't delete smbpasswd user if not in /etc/passwd

Mac mac at nibsc.ac.uk
Mon Sep 20 08:54:59 GMT 2004

Hi all,

	Looking for a solution to the following:-

# smbpasswd -x jh---
build_sam_account: smbpasswd database is corrupt!  username jh--- with uid 1774 is not in unix passwd database!
Failed to initialise SAM_ACCOUNT for user jh---. Does this user exist in the UNIX password database ?
Failed to modify password entry for user jh---

Ths user has already been deleted from the /etc/passwd  (in fact NIS
passwd), so all we're trying to do is to remove them from smbpasswd too.

Seems an odd requirement that a user one is trying to delete has to
exist in UNIX passwd!

Any ideas?
          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann at nibsc.ac.uk
   Work: +44 1707 641565          Everything else: +44 7956 237670 (anytime)

More information about the samba mailing list