[OpenAFS] klog doesn't work on snow leopard

Enzo Vitale vitale@enea.it
Thu, 10 Sep 2009 07:54:53 +0200


There is no rule to reproduce it for me.

I have performed a fresh installation of the OpenAFS-4.11 (for snow  
leopard) package , then  I have copied ThisCell and CellServDB   from  
a backup to the  /var/db/openafs/etc/ directory. And voila' :


[Vitale:db/openafs/etc] vitale% klog
Password:
Unable to authenticate to AFS because password was incorrect.
[Vitale:db/openafs/etc] vitale%

[Vitale:db/openafs/etc] vitale% uname -a
Darwin Vitale.local 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


I think it would be useful to have some indication about some log   
file to look at to understand what happens. In the console.log,  
secure.log and system.log there is no indication. I'm going to  
deinstall some software such as Intego VirusBarrier and NetBarrier to  
understand if the problem is related to software conflicts. But the  
better thing would be to have some specific AFS tool that detects  
where the problem occurs

Thak you

Enzo


On 10 Sep 2009, at 6:22 AM, Derrick Brashear wrote:

> 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.".  Of 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 x86_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)