r610: - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.
authorAndrew Bartlett <abartlet@samba.org>
Sun, 9 May 2004 12:42:18 +0000 (12:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:51:51 +0000 (12:51 -0500)
commitdce84ffd379012812170f68f7de8aab73123f0b3
treec5f6973838572fd06c07d6771f5286bc2073b569
parent55fa62be31c9027d84be0e4caad3ee59d78ca1b0
r610:  - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.
  - This required using NETLOGON_NEG_AUTH2_FLAGS for the
    SetupCredentials2 negotiation flags, which is what Samba3 does,
    because otherwise the server uses different crypto.
  - This tests the returned session keys, which we decrypt.

 - Update the Samba4 notion of a 'session key' to be a DATA_BLOB in
   most places.

 - Fix session key code to return NT_STATUS_NO_SESSION_KEY if none is
   available.

 - Remove a useless argument to SMBsesskeygen_ntv1

 - move netr_CredentialState from the .idl to the new credentials.h

Andrew Bartlett
(This used to be commit 44f8b5b53e6abd4de8a676f78d729988fadff320)
17 files changed:
source4/include/cli_context.h
source4/include/includes.h
source4/libcli/auth/credentials.c
source4/libcli/auth/credentials.h [new file with mode: 0644]
source4/libcli/auth/ntlm_check.c
source4/libcli/auth/ntlmssp.c
source4/libcli/raw/clisession.c
source4/libcli/raw/clitransport.c
source4/libcli/raw/smb_signing.c
source4/libcli/util/smbdes.c
source4/libcli/util/smbencrypt.c
source4/librpc/idl/netlogon.idl
source4/librpc/rpc/dcerpc.h
source4/librpc/rpc/dcerpc_ntlm.c
source4/librpc/rpc/dcerpc_schannel.c
source4/librpc/rpc/dcerpc_util.c
source4/torture/rpc/netlogon.c