[OpenAFS] klog doesn't work on snow leopard

Derrick Brashear shadow@gmail.com
Thu, 10 Sep 2009 00:22:08 -0400


On Wed, Sep 9, 2009 at 10:32 PM, Enzo Vitale<vitale@enea.it> wrote:
> Hello,
>
> I have installed Mac OS X 10.6 (Snow Leopard) on my mac. Then I have
> installed the 10.4.11 version (snow leopard) of OpenAFS, but when I type =
the
> klog command I get the following message: "Unable to authenticate to AFS
> because password was incorrect.". =A0Of course the password is correct!
>
> Any idea to fix this problem?

If you can tell me how to reproduce it, I can at least look at fixing
it, because, well, "works for me":

[scully:~] shadow% uname -a
Darwin scully.sside.dementia.org 10.0.0 Darwin Kernel Version 10.0.0:
Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
[scully:~] shadow% klog shadow@dementia.org
Password:
[scully:~] shadow% tokens

Tokens held by the Cache Manager:

User's (AFS ID 17985) tokens for afs@dementia.org [Expires Sep 14 07:53]
   --End of list--
[scully:~] shadow% which klog
/usr/bin/klog
[scully:~] shadow% file /usr/bin/klog
/usr/bin/klog: Mach-O universal binary with 2 architectures
/usr/bin/klog (for architecture i386):  Mach-O executable i386
/usr/bin/klog (for architecture x86_64):        Mach-O 64-bit executable x8=
6_64
[scully:~] shadow% otool -L /usr/bin/klog
/usr/bin/klog:
        /usr/lib/libresolv.9.dylib (compatibility version 1.0.0,
current version 38.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,
current version 123.0.0)