[27464] in Kerberos

home help back first fref pref prev next nref lref last post

KfW 3.1 accessing credentials cache from Windows Service

daemon@ATHENA.MIT.EDU (petesea@bigfoot.com)
Sat Feb 17 02:17:06 2007

Date: Fri, 16 Feb 2007 23:13:10 -0800 (Pacific Standard Time)
From: petesea@bigfoot.com
To: kerberos@mit.edu
Message-id: <Pine.WNT.4.64.0702162251120.492@oberon.home.org>
MIME-version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Are there any special circumstances to be aware of for a Windows Service 
to access a credentials cache which was created outside the context of the 
service?

I have a user running an application as a Windows Service.  The service 
eventually calls a cvs command which accesses the repository via ssh using 
gssapi-with-mic authentication.

The credentials cache needs to be created/renewed automatically, therefore 
we will be calling kinit with a keytab/principal... probably with a 
specific cache defined via KRB5CCNAME.

There is no hook into the application service to call kinit so it must be 
called external to the service.

   - Can the service be started using the "Local System account" or must it 
be started as a specific user?

   - If KRB5CCNAME is defined as a "System Variable", will the service and 
some other scheduled process be able to access the SAME credentials cache?

   - Does it matter what TYPE of credentials cache (API, FILE)?

   - If KRB5CCNAME is NOT defined... in other words both the service and 
automated kinit will use the default value, will that make any difference?
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post