Re: NegoEx broke GSSAPI in BIND 9

Greg Hudson <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.devel
Message-ID <[email protected]>
On 5/20/20 5:34 AM, Ondřej Surý wrote:
> Unfortunately, this stopped working since 1.18.1, but perhaps we were doing something
> wrong from the beginning. Honestly, looking at the GSSAPI is like reading tea leaves :-),
> so I would appreciate if I can get some pointers where to start with the debugging.

I don't immediately see what's going wrong.  What Simo pointed out seems
unlikely to be related to the regression.

Given the error message, my best guess is that this is related to commit
c088f56a62702a2cc99c26185681efee1555b7fa ("Restrict SPNEGO acceptor
mechs by cred acquisition").  It should be possible to individually
revert that commit to confirm.  I still wouldn't really know why it
caused a regression, though.

The error message corresponds to ERR_SPNEGO_NO_MECHS_AVAILABLE, which
can be returned from get_available_mechs() or get_negotiable_mechs() in
src/lib/gssapi/spnego/spnego_mech.c.  If I had a reproduction recipe for
this, I would start by setting a breakpoint in get_negotiable_mechs() on
the acceptor side, and figure out the execution path differences between
1.17 and 1.18.

_______________________________________________
krbdev mailing list             [email protected]
https://mailman.mit.edu/mailman/listinfo/krbdev
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQS7YOmQRa0ieO6SH+BOswnsPlpb8QUCXsVXYgAKCRBOswnsPlpb
8ehGAQCSJe7DKAq4q3GW5bKvhuc54L7BBmrAD1dgKz0MP9H0RwD/b4Ooy639b2GK
hG25BjfgbMTUXU2OMazVMXq+ScRCPwE=
=354t
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.