GSSAPI unavailable, missing library

Bug #41076 reported by Berge Schwebs Bjørlo
10
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Fix Released
Medium
firefox (Ubuntu)
Fix Released
Medium
Alexander Sack

Bug Description

Firefox is built with support for GSSAPI (and thus Kerberos), but is missing at least one library to work properly. firefox started with NSPR_LOG_FILE and NSPR_LOG_MODULES=all:5 reports the following upon entering a page that uses negotiate-gss:

-1220086080[80931d8]: entering nsAuthGSSAPI::nsAuthGSSAPI()
-1220086080[80931d8]: Fail to load gssapi library

The file missing is apparantly /usr/lib/libgssapi.so, available in heimdal-dev. A workaround is to install the package heimdal-dev. NSPR_LOG will thus report:

-1220245824[80931d8]: entering nsAuthGSSAPI::nsAuthGSSAPI()
-1220245824[80931d8]: Loaded library libgssapi.so (load lib)

IMHO, /usr/lib/libgssapi.so should be distributed with the firefox package, or firefox should depend on heimdal-dev (but it won't make too much sense to require development libraries for regular run-time usage).

Revision history for this message
Ian Jackson (ijackson) wrote : Re: [Bug 41076] GSSAPI unavailable, missing library

Berge Schwebs Bjørlo writes ("[Bug 41076] GSSAPI unavailable, missing library"):
> The file missing is apparantly /usr/lib/libgssapi.so, available in
> heimdal-dev. A workaround is to install the package heimdal-dev.

I don't think it's wrong that you have to install a Kerberos package
for Kerberos to be supported, surely ? If there is a bug it's that
the .so is in the -dev package, I think.

> IMHO, /usr/lib/libgssapi.so should be distributed with the firefox
> package, or firefox should depend on heimdal-dev (but it won't make too
> much sense to require development libraries for regular run-time usage).

firefox works quite fine without heimdal-dev, except for the Kerberos
functionality, so I think the dependency would be wrong.

Ian.

Revision history for this message
Berge Schwebs Bjørlo (berge) wrote : Re: [Bug 41076] Re: [Bug 41076] GSSAPI unavailable, missing library

On Mon, Apr 24, 2006 at 11:01:47AM -0000, Ian Jackson wrote:
> Berge Schwebs Bjørlo writes ("[Bug 41076] GSSAPI unavailable, missing library"):
> > The file missing is apparantly /usr/lib/libgssapi.so, available in
> > heimdal-dev. A workaround is to install the package heimdal-dev.
> I don't think it's wrong that you have to install a Kerberos package
> for Kerberos to be supported, surely ? If there is a bug it's that
> the .so is in the -dev package, I think.

That is good point. Perhaps the bug should be filed against heimdal-dev
instead. I'm not quite sure where the .so-file should reside, though.
heimdal-clients, perhaps?

> > IMHO, /usr/lib/libgssapi.so should be distributed with the firefox
> > package, or firefox should depend on heimdal-dev (but it won't make too
> > much sense to require development libraries for regular run-time usage).
> firefox works quite fine without heimdal-dev, except for the Kerberos
> functionality, so I think the dependency would be wrong.

Agreed, it works great without (except for GSSAPI-stuff, obviously). But
still, Kerberos support in the browser would be splendid to have
out-of-the-box. Debian previously did ship Firefox with GSSAPI-support, and
has an open bug on it,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344835. Mozilla recognises
it as a bug as well: https://bugzilla.mozilla.org/show_bug.cgi?id=321514

Cheers,
Berge

--
Berge Schwebs Bjørlo
   There's an infinite number of monkeys outside who want to talk to us about
   this new script for Hamlet that they've worked out. --Douglas Adams

Revision history for this message
Ian Jackson (ijackson) wrote : Re: [Bug 41076] Re: [Bug 41076] Re: [Bug 41076] GSSAPI unavailable, missing library

Berge Schwebs Bjørlo writes ("[Bug 41076] Re: [Bug 41076] Re: [Bug 41076] GSSAPI unavailable, missing library"):
> On Mon, Apr 24, 2006 at 11:01:47AM -0000, Ian Jackson wrote:
> > Berge Schwebs Bjørlo writes ("[Bug 41076] GSSAPI unavailable, missing library"):
> > > The file missing is apparantly /usr/lib/libgssapi.so, available in
> > > heimdal-dev. A workaround is to install the package heimdal-dev.
> > I don't think it's wrong that you have to install a Kerberos package
> > for Kerberos to be supported, surely ? If there is a bug it's that
> > the .so is in the -dev package, I think.
>
> That is good point. Perhaps the bug should be filed against heimdal-dev
> instead. I'm not quite sure where the .so-file should reside, though.
> heimdal-clients, perhaps?

I don't have much knowledge of the heimdal packages, but AFAICT
heimdal-clients is a different source package.

libgssapi1-heimdal contains libgssapi.so.1.4.0; isn't libgssapi.so
just a symlink to that ?

> Agreed, it works great without (except for GSSAPI-stuff, obviously). But
> still, Kerberos support in the browser would be splendid to have
> out-of-the-box. Debian previously did ship Firefox with GSSAPI-support, and
> has an open bug on it,
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344835. Mozilla recognises
> it as a bug as well: https://bugzilla.mozilla.org/show_bug.cgi?id=321514

Urgh, what a mess.

Is the ABI of libgssapi.so stable ? If so then an unversioned name is
fine and should be in the runtime package.

Ian.

Changed in firefox:
status: Unknown → Fix Released
Revision history for this message
John Vivirito (gnomefreak) wrote :

Is this still and issue for you? We are trying to trying sort out the older Mozilla issues and would like to know if this still happens. Seems to be fixed upstream.

Changed in firefox:
status: Unconfirmed → Needs Info
Revision history for this message
Alexander Sack (asac) wrote :

Kerberos should be detected at runtime now. So having a recommends or suggest in package description should be fine.

Can someone confirm that kerberos authentication works out-of-the-box if mit or heimdal libs are installed on the system?

Revision history for this message
Berge Schwebs Bjørlo (berge) wrote :

Sorry about late answer, but Firefox Kerberos authentication works out-of-the-box on Feisty with heimdal-clients and no heimdal-dev installed on this system.

Revision history for this message
Alexander Sack (asac) wrote :

thanks for confirming. Fix Released.

Changed in firefox:
assignee: nobody → asac
status: Needs Info → Fix Released
Changed in firefox:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.