Bug 2121 - Enable runtime loading of GSSAPI libraries
Summary: Enable runtime loading of GSSAPI libraries
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Kerberos support (show other bugs)
Version: -current
Hardware: Other Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-12 03:56 AEST by Aaron Sowry
Modified: 2016-08-02 10:41 AEST (History)
2 users (show)

See Also:


Attachments
Patch to enable runtime loading of GSSAPI libraries (9.37 KB, patch)
2013-06-12 03:56 AEST, Aaron Sowry
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Sowry 2013-06-12 03:56:59 AEST
Created attachment 2301 [details]
Patch to enable runtime loading of GSSAPI libraries

Currently, building the ssh client with kerberos enabled means dynamically linking against the GSSAPI library. This results in a somewhat non-portable binary, since it won't run on systems which don't have this library available.

The attached patch implements runtime loading of the GSSAPI library, allowing fallback to alternative authentication mechanisms if the library can't be found.

Diff is against today's CVS.
Comment 1 Damien Miller 2013-10-10 11:48:15 AEDT
Thanks - this is a nice idea, but we aren't interested in supporting run-time loading of libraries inside OpenSSH. There are a number of potential problems that concern us, including figuring out the library name on multiple platforms (your patch hardcodes one, but there will be others), binary incompatibility between the headers on the build host and the libraries on the host running sshd, etc.

I have some long-term vague plans to factor all the authentication methods out into helper programs. This would seem to solve your particular problem (as well as my primary goal of making the auth code more testable), but it is still a fair way away.
Comment 2 Damien Miller 2016-08-02 10:41:35 AEST
Close all resolved bugs after 7.3p1 release