summaryrefslogtreecommitdiff
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-10-25 17:23:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:42 -0500
commit101a407dd72491c05c72bc2825d09133676f242c (patch)
tree180debf2d5cd714cec50e82137479e222031996d /source4/libcli/auth
parent5a75c3b060374b01afb6b0df4ba2444042241c05 (diff)
downloadsamba-101a407dd72491c05c72bc2825d09133676f242c.tar.gz
samba-101a407dd72491c05c72bc2825d09133676f242c.tar.bz2
samba-101a407dd72491c05c72bc2825d09133676f242c.zip
r3219: Hi, Andrew B.!
Not sure which Samba3 you mean, but *my* one bails out with INVALID_PARAMETER... Volker (This used to be commit d91659b0370a6bd5eebd5730d304b5a2cf496594)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/spnego_parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/auth/spnego_parse.c b/source4/libcli/auth/spnego_parse.c
index 4b94235962..337ba7a339 100644
--- a/source4/libcli/auth/spnego_parse.c
+++ b/source4/libcli/auth/spnego_parse.c
@@ -233,10 +233,12 @@ static BOOL write_negTokenTarg(ASN1_DATA *asn1, struct spnego_negTokenTarg *toke
asn1_push_tag(asn1, ASN1_CONTEXT(1));
asn1_push_tag(asn1, ASN1_SEQUENCE(0));
+#if 0
/* Optional, except that Samba3 requires it... */
asn1_push_tag(asn1, ASN1_CONTEXT(0));
asn1_write_enumerated(asn1, token->negResult);
asn1_pop_tag(asn1);
+#endif
if (token->supportedMech) {
asn1_push_tag(asn1, ASN1_CONTEXT(1));