Revert bogus part of smb signing commit - when Win2k supports singing/SPNEGO,
authorAndrew Bartlett <abartlet@samba.org>
Sat, 27 Mar 2004 08:51:04 +0000 (08:51 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 27 Mar 2004 08:51:04 +0000 (08:51 +0000)
it does sign the first packet.

Andrew Bartlett
(This used to be commit 4b9c50db853eaf9eb8c68b85760c40c1a8f9bd94)

source3/libsmb/cliconnect.c

index adfeec229049259d2e76222948a4c0f0bf03fd41..63c91469e3e4841b50f9dd6fcfde05d520f7cb6e 100644 (file)
@@ -651,7 +651,7 @@ static NTSTATUS cli_session_setup_ntlmssp(struct cli_state *cli, const char *use
                           for checking the first reply from the server */
                        cli_calculate_sign_mac(cli);
                        
-                       if (!cli_check_sign_mac(cli, False)) {
+                       if (!cli_check_sign_mac(cli, True)) {
                                nt_status = NT_STATUS_ACCESS_DENIED;
                        }
                }