Re: Java GSS/Kerberos issue - Autheticating server

2005-12-02 Thread Douglas E. Engert
I think your problem is in the use of the createName. Normally a services uses a Kerbeors principal of service/host@realm You are trying to use a user principal another/[EMAIL PROTECTED] The use of the @ when calling the createName is not the same as used in a Kerberos principal. (GSS is

Re: Java GSS/Kerberos issue - Autheticating server

2005-12-02 Thread Seema Malkani
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

Re: Java GSS/Kerberos issue - Autheticating server

2005-12-02 Thread Seema Malkani
Laurence Brockman wrote: [EMAIL PROTECTED] laurence]# more /tmp/jaas.conf /** Login Configuration **/ JaasServer { com.sun.security.auth.module.Krb5LoginModule required useKeyTab=true storeKey=true keyTab=/etc/krb5.keytab; }; *Code from GSSAuthorizor:* GSSManager manager =

[PATCH] Fix double logs from the KDC

2005-12-02 Thread Fredrik Tolf
I managed to track down my previous problem with getting every log message twice from the KDC. The root of the problem is in include/krb5/stock/osconf.h, on this line: #define DEFAULT_SECURE_PROFILE_PATH \ /etc/krb5.conf:@SYSCONFDIR/krb5.conf When configure is run with --sysconfdir=/etc, this