diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-01-22 15:42:33 +1300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-04-15 10:13:12 +0200 |
commit | e731655f09d7b4bb87cac33738a5f286d453610e (patch) | |
tree | 3fa617e84a8ec00166b6c2b6d4bd3a2a1eeec1a1 /source3/auth | |
parent | cec833063e4fa5911ae1cf0c53d38f1d6735ee02 (diff) | |
download | samba-e731655f09d7b4bb87cac33738a5f286d453610e.tar.gz samba-e731655f09d7b4bb87cac33738a5f286d453610e.tar.xz samba-e731655f09d7b4bb87cac33738a5f286d453610e.zip |
auth: Remove support for plaintext auth on systems that use getprpwnam()
The WAF build does not have the code to detect getprpwnam, so this is
dead code.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/pass_check.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/auth/pass_check.c b/source3/auth/pass_check.c index 5f134feb3b..a5e03202b8 100644 --- a/source3/auth/pass_check.c +++ b/source3/auth/pass_check.c @@ -261,16 +261,6 @@ NTSTATUS pass_check(const struct passwd *pass, } #endif -#ifdef HAVE_GETPRPWNAM - { - struct pr_passwd *pr_pw = getprpwnam(pass->pw_name); - if (pr_pw && pr_pw->ufld.fd_encrypt) { - if (set_this_crypted(pr_pw->ufld.fd_encrypt) == NULL) { - return NT_STATUS_NO_MEMORY; - } - } - } -#endif #ifdef HAVE_GETPWANAM { |