Re: Java GSS/Kerberos issue - Autheticating server

2005-12-05 Thread Laurence Brockman
Thanks guys for all your help. I've now handed the project off to another group to look at... I could get the client to autheticate using either the JAAS methodology or use straight GSS with the keytab file, but I could not get the server portion to work either way. Thanks again so much! On

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 =

Re: Java GSS/Kerberos issue - Autheticating server

2005-12-01 Thread Douglas E. Engert
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.

Re: Java GSS/Kerberos issue - Autheticating server

2005-12-01 Thread Laurence Brockman
The server is running on the same machine as the client. I have one development box running. Server is running as a tomcat servlet (Utilizing Apache's Axis SOAP interface). The client contacts the kerberos server, grabs the appropriate ticket and uses the GSS API to generate a ticket. The

Re: Java GSS/Kerberos issue - Autheticating server

2005-12-01 Thread Laurence Brockman
On 11/30/05, Douglas E. Engert [EMAIL PROTECTED] wrote: So you are using GSSAPI, and passing the GSSAPI tokens via soap betwen the clint and server. And the server accepts the authentication. Prior to the server even looking at the packet from the client, it needs to contact the kerberos

Re: Java GSS/Kerberos issue - Autheticating server

2005-12-01 Thread Laurence Brockman
If I do not try and use the lc.login() method and instead try to pull from the /etc/krb5.keytab file then I get the below error: 10988 [http-8080-Processor25] DEBUG org.apache.ws.security.kerberos.GSSAuthorizor - Setting Realm/KDC/Config to BWOO.COM/10.0.78.20//tmp/jaas.conf 10988

Re: Java GSS/Kerberos issue - Autheticating server

2005-11-30 Thread Douglas E. Engert
Laurence wrote: Hey guys, hopefully someone can help me out here. I am having a problem with authenticating a user to a KDC (I believe the MIT reference implementation) using Java (JDK1.5 and JDK1.4) through GSS. Here is the background: I have two processes running on one machine (Client

Re: Java GSS/Kerberos issue - Autheticating server

2005-11-30 Thread Douglas E. Engert
Laurence Brockman wrote: I can authenticate as that particular principal in the client portion of the code that I have written using exactly the same case, etc. I have a server and a client portion of code that pass GSS-wrapped kerberos tokens through a SOAP connection So you are using

Re: Java GSS/Kerberos issue - Autheticating server

2005-11-30 Thread Seema Malkani
Douglas E. Engert wrote On 11/30/05 08:27,: Laurence wrote: Hey guys, hopefully someone can help me out here. I am having a problem with authenticating a user to a KDC (I believe the MIT reference implementation) using Java (JDK1.5 and JDK1.4) through GSS. Here is the background: I have

Re: Java GSS/Kerberos issue - Autheticating server

2005-11-30 Thread Douglas E. Engert
Laurence Brockman wrote: On 11/30/05, Douglas E. Engert [EMAIL PROTECTED] wrote: So you are using GSSAPI, and passing the GSSAPI tokens via soap betwen the clint and server. And the server accepts the authentication. Prior to the server even looking at the packet from the client, it

Java GSS/Kerberos issue - Autheticating server

2005-11-29 Thread Laurence
Hey guys, hopefully someone can help me out here. I am having a problem with authenticating a user to a KDC (I believe the MIT reference implementation) using Java (JDK1.5 and JDK1.4) through GSS. Here is the background: I have two processes running on one machine (Client and Server). 1.

Re: Java GSS/Kerberos issue - Autheticating server

2005-11-29 Thread Laurence
Debug is true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null KeyTab is null refreshKrb5Config is false principal is another/admin tryFirstPass is false useFirstPass is false storePass is false clearPass is false [Krb5LoginModule]