s3/smbpasswd: Check if Unix account exists before asking for the password.
commit9e030b967f340767a85553b39bf0f6f57dfb3013
authorKarolin Seeger <kseeger@samba.org>
Sat, 10 Jan 2009 03:39:46 +0000 (9 19:39 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Jan 2009 08:38:21 +0000 (12 09:38 +0100)
tree47c5e555b144d1d4fb95ba0964e6eb390b1dea5d
parentda752d5d212a5b2d3b84ce88e2141a0ecfb3f5a7
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 af0ceb784af1ea8d591f5c35fb010d60b178a8d2)
source/utils/smbpasswd.c