Call for testing: OpenSSH-6.5

Darren Tucker dtucker at zip.com.au
Mon Jan 20 12:51:23 EST 2014


On Sat, Jan 18, 2014 at 9:30 AM, Damien Miller <djm at mindrot.org> wrote:
> On Sat, 18 Jan 2014, Darren Tucker wrote:
>
>> build failure on netbsd4 with gssapi enabled while linking sshd:
>>
>> gss-serv-krb5.o: In function `ssh_gssapi_krb5_storecreds?:
>> gss-serv-krb5.c:135: undefined reference to `krb5_cc_new_unique?
>
> hmm, that line has been there for a while. No obvious changes to
> krb5 detection in configure.ac either...

It came in with this change:

revision 1.18
date: 2013/07/20 03:35:45;  author: djm;  state: Exp;  lines: +25 -19
   - djm at cvs.openbsd.org 2013/07/20 01:55:13
     [auth-krb5.c gss-serv-krb5.c gss-serv.c]
     fix kerberos/GSSAPI deprecation warnings and linking; "looks okay" millert@

-       if ((problem = krb5_cc_gen_new(krb_context, &krb5_fcc_ops, &ccache))) {
-               logit("krb5_cc_gen_new(): %.100s",
-                   krb5_get_err_text(krb_context, problem));
+       if ((problem = krb5_cc_new_unique(krb_context, krb5_fcc_ops.prefix,
+           NULL, &ccache)) != 0) {
+               errmsg = krb5_get_error_message(krb_context, problem);
+               logit("krb5_cc_new_unique(): %.100s", errmsg);
+               krb5_free_error_message(krb_context, errmsg);
                return;
        }
[other stuff omitted]

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list