[Pkg-samba-maint] Bug#739768: Confirm

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Sat Jan 3 19:08:19 UTC 2015

I am seeing this bug too, and I can confirm it is fixed in Ubuntu's
version. They have been shipping with this fix in trusty which works
in my environment. The latest patch from the upstream bug might be
better, but I haven't tried it.

For whatever reason upstream remains typically silent on the bug
report and proposed patch..

Here is the fix ubuntu is shipping:

--- samba-4.1.6+dfsg.orig/source3/librpc/crypto/gse_krb5.c	2014-04-29 16:05:42.045043324 -0500
+++ samba-4.1.6+dfsg/source3/librpc/crypto/gse_krb5.c	2014-04-29 16:05:42.041043324 -0500
@@ -414,6 +414,10 @@ static krb5_error_code fill_mem_keytab_f
 	if (ret) {
 		DEBUG(1, (__location__ ": krb5_kt_start_seq_get failed (%s)\n",
+		if (keytab) {
+			krb5_kt_close(krbctx, keytab);
+			keytab = NULL;
+		}
 		goto out;

More information about the Pkg-samba-maint mailing list