Java GSS/Kerberos issue - Autheticating server

Seema Malkani Seema.Malkani at Sun.COM
Fri Dec 2 14:51:45 EST 2005


Douglas E. Engert wrote:

>
>
> Laurence Brockman wrote:
>
>> Tried that already too and received:
>>
>> GSSException: GSSException: No valid credentials provided (Mechanism 
>> level:
>> Failed to find any Kerberos Key)
>
>
> Then you have to get the key into the keytab. This is the way a server 
> works,
> It does not try and get a ticket. 

Although it is recommended to use keytab for the server-end, Java 
GSS/Kerberos does provide the flexibility to work without keytab at the 
server-end. User can enter password for the service principal, and a key 
will be generated. However, once you generate keytab, entering passwords 
will not work; you'll need to reset the password for the service 
principal in the KDC.

Seema




More information about the Kerberos mailing list