summaryrefslogtreecommitdiffstats
path: root/source3/auth/pass_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/auth/pass_check.c')
-rw-r--r--source3/auth/pass_check.c10
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
{