Displaying 3 results from an estimated 3 matches for "k_pioctl".
2002 Jun 28
1
Bug in AFS token forwarding
...valid _and_ one that was valid but
is now expired then AFS token forwarding ignores both tokens instead
of forwarding the still valid one.
I can reproduce this problem on Red Hat Linux 7.2 systems with
OpenSSH-3.4p1 (and probably all older versions) compiled with
KTH-Krb4-1.1.1 (this is where the k_pioctl() function comes from; see
below). I am using OpenAFS-1.2.5. The same happens on Solaris 8
(OpenSSH-3.4p1, KTH-Krb4-1.1.1, IBM/Transarc ASF).
Here is the cause for the bug:
The problem is that k_pioctl() returns error code ENOTCONN for _all_
tokens it finds if there is an expired token present.
Th...
2002 Jun 30
0
[Bug 326] New: Bug in AFS token forwarding
...valid _and_ one that was valid but
is now expired then AFS token forwarding ignores both tokens instead
of forwarding the still valid one.
I can reproduce this problem on Red Hat Linux 7.2 systems with
OpenSSH-3.4p1 (and probably all older versions) compiled with
KTH-Krb4-1.1.1 (this is where the k_pioctl() function comes from; see
below). I am using OpenAFS-1.2.5. The same happens on Solaris 8
(OpenSSH-3.4p1, KTH-Krb4-1.1.1, IBM/Transarc ASF).
Here is the cause for the bug:
The problem is that k_pioctl() returns -1 and "errno" returns an error
code ENOTCONN for _all_ tokens it finds if t...
2000 Dec 01
0
Compile problem and fix
...er ktc_GetToken, here's something leaner. */
for (i = 0; i < 100; i++) { /* just in case */
parms.in = (char *) &i;
parms.in_size = sizeof(i);
parms.out = buf;
parms.out_size = sizeof(buf);
---> if (k_pioctl(0, VIOCGETTOK, &parms, 0) != 0)
break;
p = buf;
The ViceIoctl is defined in transarc's AFS headers, but we need a few
include files to make it complete:
======================================================================
*** sshconnect1.c~ Tue M...