Possible bug in NFSv4 with krb5p security?

Rick Macklem rmacklem at uoguelph.ca
Sun Feb 17 14:59:02 UTC 2013

Elias Martenson wrote:
> On 17 February 2013 02:17, Doug Rabson <dfr at rabson.org> wrote:
> >
> > I think it was Rick that mentioned the patch. I would apply the
> > patch and
> > rebuild your kernel in the interests of changing as little as
> > possible
> > while debugging the original issue.
> >
> Fair enough. I did this. Thanks.
> Now, I'm sorry for asking something that should be obvious, but how
> can I
> rebuild crypto/heimdal?
I think the Makefiles are in the kerberos5 directory.

Since the only function you care about is the one in
kerberos5/lib/libgssapi_krb5/pname_to_uid.c, I'd
just put a copy of that file in usr.sbin/gssd and
modify the Makefile there to compile it and link
its .o into gssd, avoiding rebuilding any libraries.

I'd put a couple of fprintf(stderr, ...) in it and
then run "gssd -d" and see what it says.

Just how I'd attack it, rick

> There is no Makefile in this directory, but
> when I
> did "make world" it did build it. So how does this actually work? Is
> there
> a special Makefile somewhere else that I should use? I need to be able
> to
> rebuild these things withou thaving to do a full "make world", which
> is the
> only way I figured out so far.
> (of course, I could do a automake/configure/make sequence, but it
> seems as
> though the official FreeBSD build doesn't do this (I couldn't find any
> config.log file dropped from the configure script)).
> Regards,
> Elias
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to
> "freebsd-current-unsubscribe at freebsd.org"

More information about the freebsd-current mailing list