s3/smbpasswd: Check if Unix account exists before asking for the password.
commit4c15683140fa1d49b3f26a827145e22fc194b75b
authorKarolin Seeger <kseeger@samba.org>
Sat, 10 Jan 2009 03:43:13 +0000 (9 19:43 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 28 Jan 2009 08:40:01 +0000 (28 09:40 +0100)
tree1d7a5882890f9b2cb1113d184baac7c38fac9c50
parent18ee7b60583529e5b3bf18d740545119f7b5a8a2
s3/smbpasswd: Check if Unix account exists before asking for the password.

Admins shouldn't have to type in the password twice when the passdb account
cannot be created because the Unix account is missing.

Karolin
(cherry picked from commit 3bb5e3e0b44c25eede60925cfdc89d7df0d0e486)
source/utils/smbpasswd.c