[30240] in Kerberos

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

Re: Java GSSAPI Kerberos question

daemon@ATHENA.MIT.EDU (Danny Cho)
Mon Aug 25 14:24:11 2008

Message-ID: <e19694910808250902m7204c1dbla98399983eca86eb@mail.gmail.com>
Date: Mon, 25 Aug 2008 12:02:40 -0400
From: "Danny Cho" <dsycho@gmail.com>
To: melissa.collins@vordel.com
In-Reply-To: <000c01c906a7$e6fa7ad0$2300a8c0@vordel.com>
MIME-Version: 1.0
Content-Disposition: inline
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Great, it works, Thx.

On Mon, Aug 25, 2008 at 7:44 AM, Melissa Collins <melissa.collins@vordel.com
> wrote:

> Try adding...
>
>   refreshKrb5Config = true
>
> to the props you have below
>
> -----Original Message-----
> From: kerberos-bounces@mit.edu [mailto:kerberos-bounces@mit.edu] On
> Behalf Of Danny Cho
> Sent: 23 August 2008 01:16
> To: kerberos@mit.edu
> Subject: Java GSSAPI Kerberos question
>
>
> I am hoping that someone here can help me.  I have a problem with Java
> GSSAPI that I don't know how to solve.  I have written a test Java
> server which acts as a Kerberos service that uses GSSAPI to authenticate
> users connect to the service. Here is my gss.conf:
> com.sun.security.jgss.accept {
> com.sun.security.auth.module.Krb5LoginModule
> required
> isInitiator=false
> storeKey=true keyTab="/home/danny/temp/GSSKerberosServer/kserver.keytab"
> doNotPrompt=true
> useKeyTab=true
> principal="kserver/danny.com"
> debug=true;
> };
>
> Everything works fine. But then I tried making the server runtime reload
> the keytab by manually (physically) overwritten the keytab file but
> noticed that the new file doesn't get read (it still uses the old key)
> when a new GSSCredential is created.  Can someone please tell me how to
> tell GSSAPI to re-read the keytab?  I can post my test server code if
> anyone wants to see it. ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>
>
>
________________________________________________
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