RE: OpenSSH/kerberos compile problem.

From: Tay, Gary (Gary_Tay_at_platts.com)
Date: 07/11/05

  • Next message: Mark Senior: "RE: ssh password *and* key"
    Date: Mon, 11 Jul 2005 15:55:31 +0800
    To: "Simon Wilkinson" <simon@sxw.org.uk>, <secureshell@securityfocus.com>
    
    

    Did you specify the krb5 lib path when you "./configure"?

    Something like:

    # RedHat, With Kerberos
    ./configure --with-pam --prefix=/usr \
                --sysconfdir=/etc/ssh --with-ssl-dir=/usr \
                --with-kerberos5=/usr/kerberos

    # Solaris, With Kerberos
    ./configure --with-pam --with-zlib=/usr/local \
                --sysconfdir=/etc/ssh --with-ssl-dir=/usr/local/ssl \
                --with-kerberos5=/usr/local

    Gary

    -----Original Message-----
    From: Simon Wilkinson [mailto:simon@sxw.org.uk]
    Sent: Sunday, July 10, 2005 10:31 PM
    To: secureshell@securityfocus.com
    Subject: Re: OpenSSH/kerberos compile problem.

    > -lcrypt -lgssapi -lkrb5 -lk5crypto -lcom_err
    > gss-serv.o: In function `ssh_gssapi_getclient':
    > /tmp/openssh-4.0p1/gss-serv.c:218: undefined reference to
    > `gss_export_name'
    > gss-serv-krb5.o: In function `ssh_gssapi_krb5_storecreds':
    > /tmp/openssh-4.0p1/gss-serv-krb5.c:183: undefined reference to
    > `gss_krb5_copy_ccache'
    >
    > anyone any idea what might cause this problem?
    > I already tries reinstalling the kerberos library's and updating them
    > to the
    > latest version. but it didn't seem to help.

    For some reason the OpenSSH configure script is finding a 'gssapi'
    library on your system. The GSSAPI that comes with MIT Kerberos has a
    library name of 'gssapi_krb5'. I suspect you've got the remnants of an
    old Kerberos installation lurking somewhere.

    Cheers,

    Simon.


  • Next message: Mark Senior: "RE: ssh password *and* key"

    Relevant Pages

    • Re: Solaris Pam_krb5.so.1 problem after installing MIT 1.6.3
      ... I am actually using kerberos for authenticating logins through ssh. ... Because I had no DNS entry for this Solaris box I was getting the ... The Samba configure script was bombing ... Since I upgraded Samba and added the DNS entry I can successfully login ...
      (comp.protocols.kerberos)
    • RE: Solaris Pam_krb5.so.1 problem after installing MIT 1.6.3
      ... I am actually using kerberos for authenticating logins through ssh. ... This is indicative of DNS issues according to the Solaris Kerberos ... The Samba configure script was bombing ... Since I upgraded Samba and added the DNS entry I can successfully login ...
      (comp.protocols.kerberos)
    • Re: Recommnended way to get krb5.keytab files for KfW installations onWindows
      ... WinXP client having KfW (MIT Kerberos for Windows) installed? ... you have two APIs for the GSSAPI protocols. ...
      (comp.protocols.kerberos)
    • Re: advice on kerberizing products
      ... some magic to determine which GSSAPI library that they are using. ... My experience is that GSSAPI is way more portable than the Kerberos API. ... equivalent to load the GSSAPI libraries, ...
      (comp.protocols.kerberos)
    • Re: advice on kerberizing products
      ... And I see a number of GSSAPI programs ... I've written both - the Kerberos code is ... I always find the Kerberos API simpler and more versatile. ... equivalent to load the GSSAPI libraries, ...
      (comp.protocols.kerberos)