]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
CVE-2016-2110(<=4.2): auth/credentials: pass server_timestamp to cli_credentials_get_...
authorStefan Metzmacher <metze@samba.org>
Fri, 20 Nov 2015 08:29:11 +0000 (09:29 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 28 Mar 2016 22:42:08 +0000 (00:42 +0200)
This fixes the build in 4.2 and older versions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11644

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
source4/winbind/wb_pam_auth.c

index c84b51f4fe937c302b61f6f5e80cd7ff697722cb..bb9cf42d77258e7d607a6a1f6cad2c23f34c8c98 100644 (file)
@@ -250,7 +250,9 @@ struct composite_context *wb_cmd_pam_auth_send(TALLOC_CTX *mem_ctx,
                cli_credentials_get_domain(credentials));
 
        status = cli_credentials_get_ntlm_response(
-               credentials, mem_ctx, &flags, chal, names_blob,
+               credentials, mem_ctx, &flags, chal,
+               NULL, /* server_timestamp */
+               names_blob,
                &lm_resp, &nt_resp, NULL, NULL);
        if (!NT_STATUS_IS_OK(status)) {
                return NULL;