Re: [OpenAFS] Kernel NULL pointer dereference

2012-04-20 Thread Christof Hanke
Am 20.04.2012 03:55, schrieb Ken Elkabany: We have 2 OpenAFS servers running 1.4.14. We have many clients that we just switched over to 1.6.1pre1. Starting earlier today, we started Not sure if it helps in your situation, but 1.6.1 is out. Try using this. T/Christof getting NULL pointer

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Lars Schimmer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-04-20 07:52, Anders Nordin wrote: Ok, Bear with me because I might not have formulated the questions correctly, I'm mostly a Windows admin and not entirely up to speed on the AFS/Kerberos lingo. Environment: Windows 7 x64

Re: [OpenAFS] Kernel NULL pointer dereference

2012-04-20 Thread Sergio Gelato
* Ken Elkabany [2012-04-19 18:55:08 -0700]: We have 2 OpenAFS servers running 1.4.14. We have many clients that we just switched over to 1.6.1pre1. [...] Tainted: P O 3.2.0-23-virtual #36-Ubuntu I've been informed that LP#975838 has been fixed, meaning that 1.6.1-1 will soon be

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Arne Wiebalck
On Apr 20, 2012, at 9:35 AM, Lars Schimmer wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-04-20 07:52, Anders Nordin wrote: Ok, Bear with me because I might not have formulated the questions correctly, I'm mostly a Windows admin and not entirely up to speed on the

Re: [OpenAFS] Running vos or pts against a specific cell server

2012-04-20 Thread Harald Barth
Sadly, AFSCONF is only used if a configuration file cannot be found in the default location. That I would say is either a bug in the implementation or in the design. When someone sets an environment variable, the meaning is to 99% to use the value in it. I wrote the support for -config to

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Anders Magnusson
On 04/20/2012 09:35 AM, Lars Schimmer wrote: From memory, during our Windows XP days (different OS, different OpenAFS, different Network Identity Manager, different MIT Kerberos for Windows), just locking and unlocking the computer refreshed the AFS ticket. How has this changed for Windows 7

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Lars Schimmer
On 20.04.2012 12:53, Anders Magnusson wrote: On 04/20/2012 09:35 AM, Lars Schimmer wrote: From memory, during our Windows XP days (different OS, different OpenAFS, different Network Identity Manager, different MIT Kerberos for Windows), just locking and unlocking the computer refreshed the

Re: [OpenAFS] Questions regarding AFS ticket lifetime (fwd)

2012-04-20 Thread Stephen Joyce
On Fri, 20 Apr 2012, Lars Schimmer wrote: The problem is: 1) Automatic renewal of the tgt by NiM do not work on Windows 7. It did on XP. 2) Letting NiM fetch a new tgt when the user unlocks the screen do not work. It did on XP. Windows 7 is not Windows XP, MS changed a lot based on security

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Anders Magnusson
On 04/20/2012 01:30 PM, Lars Schimmer wrote: On 20.04.2012 12:53, Anders Magnusson wrote: On 04/20/2012 09:35 AM, Lars Schimmer wrote: From memory, during our Windows XP days (different OS, different OpenAFS, different Network Identity Manager, different MIT Kerberos for Windows), just

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Jeffrey Altman
Anders: If you configure the default credential cache to be MSLSA: then the LSA credentials will be used. The functionality (an explorer shell logon hook) that was used to copy credentials at logon no longer exists on Vista and later versions of the operating system. Since the functionality

Re: [OpenAFS] Questions regarding AFS ticket lifetime (fwd)

2012-04-20 Thread Jeffrey Altman
On Friday, April 20, 2012 8:33:09 AM, Stephen Joyce wrote: On Fri, 20 Apr 2012, Lars Schimmer wrote: The problem is: 1) Automatic renewal of the tgt by NiM do not work on Windows 7. It did on XP. 2) Letting NiM fetch a new tgt when the user unlocks the screen do not work. It did on XP.

Re: [OpenAFS] Running vos or pts against a specific cell server

2012-04-20 Thread Jeffrey Altman
On Friday, April 20, 2012 6:31:04 AM, Harald Barth wrote: Sadly, AFSCONF is only used if a configuration file cannot be found in the default location. That I would say is either a bug in the implementation or in the design. When someone sets an environment variable, the meaning is to 99%

[OpenAFS] batch/cron jobs writing to afs file systems

2012-04-20 Thread Andrew Pickford
Hi, I'm setting up an afs cell for the particle physics research group at Glasgow University. I've got the afs cell setup and working and I'm now looking at how user jobs on the local batch system and user cron jobs can write to the afs cell. I'm looking for any help and/or advice or better

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Anders Magnusson
Thanks Jeffrey, now lot of things became clearer :-) But to solve this incident; since automatic renew in NiM do not work but kinit -R aklog does work for the API cache, we are planning to add this to the Task Scheduler. Do you see any problem with doing it like this? -- Ragge On 04/20/2012

Re: [OpenAFS] batch/cron jobs writing to afs file systems

2012-04-20 Thread Harald Barth
I'm looking for any help and/or advice or better yet an example of a working batch/cron system for writing to an afs file system. I think the credentials should be long enough for worst job wall time length at job submission time. So the credentials should be stuffed away during qsub and then

[OpenAFS] Re: Kernel NULL pointer dereference

2012-04-20 Thread Andrew Deason
On Thu, 19 Apr 2012 18:55:08 -0700 Ken Elkabany k...@elkabany.com wrote: We have 2 OpenAFS servers running 1.4.14. We have many clients that we just switched over to 1.6.1pre1. Starting earlier today, we started getting NULL pointer dereferences, which has been completely hosing the clients.

Re: [OpenAFS] Re: Kernel NULL pointer dereference

2012-04-20 Thread Ken Elkabany
On Fri, Apr 20, 2012 at 10:30 AM, Andrew Deason adea...@sinenomine.netwrote: On Thu, 19 Apr 2012 18:55:08 -0700 Ken Elkabany k...@elkabany.com wrote: We have 2 OpenAFS servers running 1.4.14. We have many clients that we just switched over to 1.6.1pre1. Starting earlier today, we started

Re: [OpenAFS] Re: Kernel NULL pointer dereference

2012-04-20 Thread Andrew Deason
On Fri, 20 Apr 2012 18:30:58 -0500 Ken Elkabany k...@elkabany.com wrote: I hope 'vos changeaddr' is not something you run very often. You should almost never run that command. Not at all. We have a fileserver that has two IPs that map to one of its interfaces; one accessible via LAN, one

Re: [OpenAFS] Questions regarding AFS ticket lifetime

2012-04-20 Thread Jeffrey Altman
Automatic renewal in NIM is used at many sites so I think you need to figure out what tickets you have and what cache is being used. kinit -R does exactly the same thing that NIM does. Of course, I don't know why the configuration is set to renew when there is 1 minute left. You want to renew