]> TLD Linux GIT Repositories - packages/openssh.git/commitdiff
- updated for openssh 6.5p1
authorMarcin Krol <hawk@tld-linux.org>
Wed, 5 Feb 2014 14:20:51 +0000 (14:20 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Wed, 5 Feb 2014 14:20:51 +0000 (14:20 +0000)
openssh-kuserok.patch

index 4d5388ba634dc19bcf00796a59d99a9747b44349..665b3743e1161ddc3c174a24764fa99de7617296 100644 (file)
@@ -22,15 +22,15 @@ diff -up openssh-5.8p1/auth-krb5.c.kuserok openssh-5.8p1/auth-krb5.c
  static int
  krb5_init(void *context)
  {
-@@ -146,7 +160,7 @@ auth_krb5_password(Authctxt *authctxt, c
+@@ -157,7 +171,7 @@ auth_krb5_password(Authctxt *authctxt, c
        if (problem)
                goto out;
  
--      if (!krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user, client)) {
-+      if (!ssh_krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user, client)) {
+-      if (!krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user,
++      if (!ssh_krb5_kuserok(authctxt->krb5_ctx, authctxt->krb5_user,
+           authctxt->pw->pw_name)) {
                problem = -1;
                goto out;
-       }
 diff -up openssh-5.8p1/gss-serv-krb5.c.kuserok openssh-5.8p1/gss-serv-krb5.c
 --- openssh-5.8p1/gss-serv-krb5.c.kuserok      2006-09-01 07:38:36.000000000 +0200
 +++ openssh-5.8p1/gss-serv-krb5.c      2011-02-14 09:15:12.000000000 +0100