]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-uss-kvno-warning-fix-20090327
authorMike Meffie <mmeffie@sinenomine.net>
Fri, 27 Mar 2009 15:47:43 +0000 (15:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 27 Mar 2009 15:47:43 +0000 (15:47 +0000)
LICENSE IPL10
FIXES 124220

suppress bogus kvno warning in uss

(cherry picked from commit a523710780d54b27fc61db0fd1a561f789871046)

src/uss/uss_vol.c

index 184917ad9a3b380afba3273ceae280e2920c0d88..63110d2ea8285cf4a096400770ac79f44748d586 100644 (file)
@@ -180,7 +180,7 @@ InitThisModule(a_noAuthFlag, a_confDir, a_cellName)
            /*
             * We got a ticket, go for an authenticated connection.
             */
-           if (ttoken.kvno >= 0 && ttoken.kvno <= 255)
+           if (ttoken.kvno >= 0 && ttoken.kvno <= 256)
                scIndex = 2;    /*Kerberos */
            else {
                fprintf(stderr, "%s: Funny kvno (%d) in ticket, proceeding\n",