mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s3: librpc: Allow client to correctly report etype unsupported by KDC to caller.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13247 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Jan 31 00:38:09 CET 2018 on sn-devel-144
This commit is contained in:
parent
32d867cf09
commit
9fc471242f
@ -526,6 +526,9 @@ init_sec_context_done:
|
||||
/* Garbage input, possibly from the auto-mech detection */
|
||||
status = NT_STATUS_INVALID_PARAMETER;
|
||||
goto done;
|
||||
case (OM_uint32)KRB5KDC_ERR_ETYPE_NOSUPP:
|
||||
status = NT_STATUS_KDC_UNKNOWN_ETYPE;
|
||||
goto done;
|
||||
default:
|
||||
DBG_ERR("gss_init_sec_context failed with [%s](%u)\n",
|
||||
gse_errstr(talloc_tos(), gss_maj, gss_min),
|
||||
|
Loading…
x
Reference in New Issue
Block a user