[Samba] Can't delete smbpasswd user if not in /etc/passwd
alex-mailinglists at forrow.com
Thu Sep 23 00:25:14 GMT 2004
Seems shody but cant you just add the user again to /etc/passwd. Then
On Mon, 20 Sep 2004 09:54:59 +0100 (BST), Mac <mac at nibsc.ac.uk> wrote:
> 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
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the samba