From: Stefan Metzmacher Date: Fri, 12 Jul 2024 15:12:46 +0000 (+0200) Subject: s3:auth: allow real plaintext authentication X-Git-Tag: tdb-1.4.11~105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=687139144a2f6210aae570accedafca9250753e1;p=thirdparty%2Fsamba.git s3:auth: allow real plaintext authentication In standalone setups we use the PAM stack to verify the plaintext authentication, so we need to pass it down... There are still production systems out there (legacy audio/video recording systems...) using this. BUG: https://bugzilla.samba.org/show_bug.cgi?id=9705 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Wed Jul 17 11:17:54 UTC 2024 on atb-devel-224 --- diff --git a/selftest/knownfail.d/samba3.blackbox.smb1_lanman_plaintext b/selftest/knownfail.d/samba3.blackbox.smb1_lanman_plaintext deleted file mode 100644 index 1b1696fb850..00000000000 --- a/selftest/knownfail.d/samba3.blackbox.smb1_lanman_plaintext +++ /dev/null @@ -1 +0,0 @@ -^samba3.blackbox.smb1_lanman_plaintext.test_plaintext_ok.simpleserver diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c index 73938dc2b88..9d5d87646c9 100644 --- a/source3/auth/auth_ntlmssp.c +++ b/source3/auth/auth_ntlmssp.c @@ -183,7 +183,7 @@ struct tevent_req *auth3_check_password_send( user_info->service_description, user_info->password.response.lanman.data ? &user_info->password.response.lanman : NULL, user_info->password.response.nt.data ? &user_info->password.response.nt : NULL, - NULL, NULL, NULL, + NULL, NULL, user_info->password.plaintext, AUTH_PASSWORD_RESPONSE); if (tevent_req_nterror(req, nt_status)) {