[Samba] Can't delete smbpasswd user if not in /etc/passwd
mac at nibsc.ac.uk
Mon Sep 20 08:59:10 GMT 2004
> 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!
Sorry, should have said.
Samba 3.0.6 on IRIX 6.5. Compiled from sources. I didn't see anything
about this is the 3.0.7 'What's New'.
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