]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:auth: allow real plaintext authentication
authorStefan Metzmacher <metze@samba.org>
Fri, 12 Jul 2024 15:12:46 +0000 (17:12 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 17 Jul 2024 11:17:54 +0000 (11:17 +0000)
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 <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 17 11:17:54 UTC 2024 on atb-devel-224

selftest/knownfail.d/samba3.blackbox.smb1_lanman_plaintext [deleted file]
source3/auth/auth_ntlmssp.c

diff --git a/selftest/knownfail.d/samba3.blackbox.smb1_lanman_plaintext b/selftest/knownfail.d/samba3.blackbox.smb1_lanman_plaintext
deleted file mode 100644 (file)
index 1b1696f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-^samba3.blackbox.smb1_lanman_plaintext.test_plaintext_ok.simpleserver
index 73938dc2b88b0e048fba5903bfb4f3239dac008f..9d5d87646c9008abf4151286176c9e3fdcb0d5c6 100644 (file)
@@ -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)) {