r17216: From Kai Blin <kai.blin@gmail.com>:
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Jul 2006 05:02:38 +0000 (05:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:19 +0000 (11:38 -0500)
commitbd3e06a0e4435f1c48fa3b7862333efe273119ee
treeb95f2fe745b53874382623383896130e388a3130
parent4c4ae01c671bd35687af686a34824a96828e6b25
r17216: From Kai Blin <kai.blin@gmail.com>:

A patch to make ntlm_auth recognize three new commands in
ntlmssp-client-1 and squid-2.5-ntlmssp:

The commands are the following:

Command: SF <hex number>
Reply: OK
Description: Takes feature request flags similar to samba4's
gensec_want_feature() call. So far, only NTLMSSP_FEATURE_SESSION_KEY,
NTLMSSP_FEATURE_SIGN and NTLMSSP_FEATURE_SEAL are implemented, using the same
values as the corresponding GENSEC_FEATURE_* flags in samba4.

Command: GF
Reply: GF <hex number>
Description: Returns the negotiated flags.

Command: GK
Reply: GK <base64 encoded session key>
Description: Returns the negotiated session key.

(These commands assist a wine project to use ntlm_auth for signing and
sealing of bulk data).

Andrew Bartlett
source/include/ntlmssp.h
source/libsmb/cliconnect.c
source/libsmb/ntlmssp.c
source/utils/ntlm_auth.c