[3951] in Kerberos
Re: KRB5 problems
daemon@ATHENA.MIT.EDU (Rich Mayfield)
Wed Sep 28 19:46:12 1994
To: kerberos@MIT.EDU
Date: Wed, 28 Sep 1994 15:59:25 GMT
From: rmayfiel@netcom.netcom.com (Rich Mayfield)
In article <1994Sep27.153111.12502@news.dkrz.de> k202046@daisy.dkrz.de (Lutz Brunke) writes:
In article AA16049@macbeth.ml.com, jprondak@earth.ml.com (Jason Prondak) writes:
> #/usr/krb5/bin/kinit
> kinit: Invalid argument when initializing cache
> #/usr/krb5/bin/klist
> klist: Invalid argument while setting cache flags (ticket cache
> /tmp/krb5cc_25001)
Hi,
I've seen this problem too. It seems to me that that those programs don't
like tmpfs. "trace kinit" shows:
...
open ("/tmp/krb5cc_246", 03002, 0600) = 3
fcntl (3, 011, 0xeffff5c4) = -1 EINVAL (Invalid argument)
close (3) = 0
...
Is that true?
Note that SunOS 4.1.x tmpfs does not allow file or record locking. If
this is what the fcntl() is doing, then you will likely get an error.
If kinit pays attention to the TMPDIR environment variable, you may
want to set TMPDIR to /var/tmp. This does not appear to be a problem
in Solaris 2.x tmpfs, where file and record locking are allowed.
--
----------------------------------------------------------------
Rich Mayfield rmayfiel@netcom.com