r17216: From Kai Blin <kai.blin@gmail.com>:
commitfe348fdb28624428269bffeb1ff796ec3857ff66
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Jul 2006 05:02:38 +0000 (24 05:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:19 +0000 (10 11:38 -0500)
tree57291c202304efe5485e78e59269a3554abb8862
parentaac411b7dddefeafc0762dade882a769fc99069e
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
(This used to be commit bd3e06a0e4435f1c48fa3b7862333efe273119ee)
source3/include/ntlmssp.h
source3/libsmb/cliconnect.c
source3/libsmb/ntlmssp.c
source3/utils/ntlm_auth.c