s4:http/gensec: make the "NTLM" base64 wrapping more generic
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Jul 2017 11:00:27 +0000 (13:00 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 7 Aug 2017 13:20:02 +0000 (15:20 +0200)
commit8813295e1f58f8972e084c8fa16e00b0e23d9216
treea1a6b544f693f0000c731903ae0bd9cd3e274a3d
parenta219c359b959b956d39ba8442091ca5269ab4a5c
s4:http/gensec: make the "NTLM" base64 wrapping more generic

We only need to know the prefix "NTLM" and the submech oid GENSEC_OID_NTLMSSP
everything else can be generic.

This should allow us to implement "Negotiate" with GENSEC_OID_SPNEGO
trivial.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/lib/http/gensec/generic.c