On Wed, 2014-01-15 at 02:32 +1300, Andrew Bartlett wrote: > On Thu, 2014-01-09 at 18:04 -0600, Jeff Clark wrote: > > No problem. Will send it over in a few hours. > > With all the false starts on this, I've sat on the patches until I can > test it with the developer at Catalyst IT who also reproduced it. Once > that comes out OK, I'll get the fix for this pushed, and get the > matching Heimdal patch in. > > Brian, > > This bug needs a patch to Heimdal as well as to Samba. I'll post you > the patch once I've tested it, and then I guess we need to work on a > stricter version dep here to make sure this all keeps in sync.
Brian, Can we get this patch into the Heimdal package, so we can fix that side of bug #732342? Once I know the version number it will be in, I'll update the control files to require it for Samba. Thanks, -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
Description: Fix HDB .so loading As suggeste by Love Hörnquist Åstrand <l...@kth.se> . Author: Love Hörnquist Åstrand <l...@kth.se> Bug-Debian: http://bugs.debian.org/732342 --- --- heimdal-1.6~git20131117+dfsg.orig/lib/hdb/hdb.c +++ heimdal-1.6~git20131117+dfsg/lib/hdb/hdb.c @@ -391,10 +391,12 @@ struct cb_s { static krb5_error_code KRB5_LIB_CALL callback(krb5_context context, const void *plug, void *plugctx, void *userctx) { + const struct hdb_method *h = (const struct hdb_method *)plug; struct cb_s *cb_ctx = (struct cb_s *)userctx; - if (strncmp (cb_ctx->filename, cb_ctx->h->prefix, strlen(cb_ctx->h->prefix)) == 0) { - cb_ctx->residual = cb_ctx->filename + strlen(cb_ctx->h->prefix); + if (strncmp (cb_ctx->filename, h->prefix, strlen(h->prefix)) == 0) { + cb_ctx->residual = cb_ctx->filename + strlen(h->prefix); + cb_ctx->h = h; return 0; } return KRB5_PLUGIN_NO_HANDLE;