Date: Sun, 18 Jul 2010 11:22:48 -0700 From: Benjamin Lee <ben@b1c1l1.com> To: Reko Turja <reko.turja@liukuma.net> Cc: "Mikhail T." <mi+thun@aldan.algebra.com>, Jeremy Chadwick <freebsd@jdc.parodius.com>, freebsd-stable@freebsd.org, Joerg Pulz <Joerg.Pulz@frm2.tum.de>, Henrik /KaarPoSoft <henrik@kaarposoft.dk> Subject: Re: openldap client GSSAPI authentication segfaults in fbsd8stablei386 Message-ID: <4C434678.70502@b1c1l1.com> In-Reply-To: <C02937BFFC334B91B645D6EB6287B4FF@rivendell> References: <EF24D143F0AF49AD9B27F838AFA0A6F4@rivendell> <20100716110427.GA1939@icarus.home.lan> <20100716111000.GA2501@icarus.home.lan> <7AD0E8F6044245DEA6C218A28F08FB99@rivendell> <20100716122446.GA3241@icarus.home.lan> <B06E2DF2032C480AA3094E2F561911AF@rivendell> <20100716135102.GA5625@icarus.home.lan> <alpine.BSF.2.00.1007170834400.32465@unqrf.nqzva.sez2> <20100717134149.GA40907@icarus.home.lan> <677C8B72CF414265A0819E4824212BB5@rivendell> <20100717144120.GA42230@icarus.home.lan> <4C41F34E.2030309@b1c1l1.com> <C02937BFFC334B91B645D6EB6287B4FF@rivendell>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2F263705D7AAF47C64C47EBB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/18/2010 06:52 AM, Reko Turja wrote: > After manually changing the gssapi header used in > /usr/src/include/rpc/rpcsec_gss.h to somewhat klunky "#include > "/usr/src/crypto/heimdal/lib/gssapi/gssapi/gssapi.h"" system csupped > yesterday built okay and after rebuilding cyrus-sasl, saslauthd and > cyrus I get the following failures in log: >=20 > Jul 18 16:37:35 moria perl: GSSAPI Error: Miscellaneous failure (see > text)^B (open(/tmp/krb5cc_0): No such file or directory) >=20 > -This is expected behaviour as Kerberos was not running at the moment, > but with Benjamin's patch Kerberos/GSSAPI spat out a meaningful error > message >=20 > After dusting off my old Kerberos setup, doing basic kinit and running > cyradm localhost I got: >=20 > Jul 18 16:39:00 moria perl: GSSAPI Error: Miscellaneous failure (see > text) (Server (imap/localhost@XXX.DOMAIN.COM) unknown) >=20 > -Again expected as there is no imap trust relationship defined. >=20 > So at least after cursory testing it looks like that with Benjamin's > patch there is a working GSSAPI/Kerberos backend available, instead of > something that chokes on passed parameters that are ok for every other > tested gssapi implementation. >=20 > Of course, more thorough testing in proper kerberised/LDAP environment > needs to be done, which is something I haven't got time at the moment. Thanks for your testing! Based on the lack of attention my PR has received it seems that not many people have noticed the regression in libgssapi, even though the breaking commit happened in -CURRENT way back in 2008. When you get a chance, please append your test results to PR kern/147454. That may be helpful in attracting some more attention to this issue. --=20 Benjamin Lee http://www.b1c1l1.com/ --------------enig2F263705D7AAF47C64C47EBB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJMQ0Z+AAoJEHBW16CPoSMCmYoQAIx3ODepz1ZyuX94pnxmhZrB 079cN6tp4BWdpSZOwuwc8FzelYUlTdOFd2kLLu6WycZ7w0rQhaVdylrDdKWDUvf/ mjtHDghrMP3b+a8tXrG+twP9UTdboibNzsr9ccZLykB8jSPo7RIYyXy1I5ee5XLk 56ln2yaH9cwMZn7S9RSpmFCGM2j+lx6PhNlDj9xxyUFG9mmwUd2Qz6x16DrMSAwX mnY81K6ywmmqSH03HniYOGBLKzL1yBIWwFmRnoHA5+cysukjMKAiRm64IqKiGMvo MhjKqM8ebFRXI8wWY1KKiltoayKN+/4hGbmuGAxXTVVfy9RsglmiGNV2ATYcX//Q R1LUIKcHqvu7YtSva2bSAzarljnVAH90GgpFtC2S7pjCtuNvQpExm23KOy9PBD+3 L6cE6nIZbWKmxs4Ou6QWLJwfXBPPeJeBDIsWRPqS1h8onfjY9RJ6ug4P7JHY2yxR SGdK/ajZkskOPjIkDsMCGpl+J5frbKJTLFSuHFL1snoSbx3pOP2y56WE46KN3mLh xm7QXAbhpopUsvebhU1vPs4dlvLpqg7pRg892C3LLdu0YJHqpCFRwT5asdavNwTd AWLAFKlFi5bNun7PHfnjsYNlXc6bPY8TfCTVHWv6500lpuewHzFBVPaE+oBawO0h 7Y4I6CrsT/lOfYkM+qZw =5vu0 -----END PGP SIGNATURE----- --------------enig2F263705D7AAF47C64C47EBB--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C434678.70502>