s3: Fix pam_authenticate() when lp_null_passwords() is true
commit9343386b91c3de6b5f238169d34390afc1ee069f
authorMaks Naumov <maksqwe1@ukr.net>
Sun, 3 May 2015 10:34:49 +0000 (3 13:34 +0300)
committerJeremy Allison <jra@samba.org>
Mon, 4 May 2015 16:24:21 +0000 (4 18:24 +0200)
treef20b18ab46ea56fafe8ffa12dd91e65e444156c6
parentc3c820a661c092de31d56c16c8cd1ec57999d2f7
s3: Fix pam_authenticate() when lp_null_passwords() is true

(PAM_SILENT | lp_null_passwords() ? 0 : PAM_DISALLOW_NULL_AUTHTOK)
is always 0 when lp_null_passwords() == true.

Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/auth/pampass.c