gss: samba member server returns incorrect error code with some versions of krb5
authorRichard Sharpe <rsharpe@samba.org>
Wed, 11 Nov 2015 04:50:18 +0000 (20:50 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 12 Nov 2015 00:44:08 +0000 (01:44 +0100)
commit8936281bcc9bef19ede99146475dd867ed5d3873
tree028a9a9f0284fcff9a31a6287ff920997e54de9e
parent6e6436a2f050dd204218868e673a3396ad758ad1
gss: samba member server returns incorrect error code with some versions of krb5

As per Simo's comments in https://bugzilla.redhat.com/show_bug.cgi?id=1279249
we need Samba to return the correct thing to the client when gss_accept_sec_context
returns a token along with an error.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11592

Signed-off-by: Richard Sharpe <rsharpe@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Nov 12 01:44:08 CET 2015 on sn-devel-104
source3/librpc/crypto/gse.c