s3/smbpasswd: Check if Unix account exists before asking for the password.
authorKarolin Seeger <kseeger@samba.org>
Fri, 9 Jan 2009 14:54:16 +0000 (15:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 9 Jan 2009 15:11:58 +0000 (16:11 +0100)
commit1b9ae1a6bb771ee16908e66fa35dada514a8f36d
treedb4b8bfd12ccc23be8883b7311ee524c5feb05a3
parent49a6d757b4d944cd22c91b2838beb83f04fbe1e9
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
source3/utils/smbpasswd.c