[SCM] Samba Shared Repository - branch master updated

Andreas Schneider asn at samba.org
Tue Jan 30 23:39:02 UTC 2018


The branch, master has been updated
       via  9fc4712 s3: librpc: Allow client to correctly report etype unsupported by KDC to caller.
      from  32d867c ctdb-common: Optimize sock_queue's memory managament

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 9fc471242fac5fec170a3d9ba599d81ed7374954
Author: Jeremy Allison <jra at samba.org>
Date:   Mon Jan 29 12:52:14 2018 -0800

    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 at samba.org>
    Reviewed-by: Andreas Schneider <asn at samba.org>
    
    Autobuild-User(master): Andreas Schneider <asn at cryptomilk.org>
    Autobuild-Date(master): Wed Jan 31 00:38:09 CET 2018 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 source3/librpc/crypto/gse.c | 3 +++
 1 file changed, 3 insertions(+)


Changeset truncated at 500 lines:

diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c
index bcda8de..5cb6647 100644
--- a/source3/librpc/crypto/gse.c
+++ b/source3/librpc/crypto/gse.c
@@ -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),


-- 
Samba Shared Repository



More information about the samba-cvs mailing list