Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-24 Thread Massimiliano Perrone (tirasa.net)
On 03/21/2014 04:52 PM, Massimiliano Perrone (tirasa.net) wrote: On 03/20/2014 02:09 PM, Simo Sorce wrote: On Thu, 2014-03-20 at 14:47 +0200, Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Rob Crittenden wrote: Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Massimiliano Perrone (example.com)

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-24 Thread Massimiliano Perrone (tirasa.net)
On 03/24/2014 12:35 PM, Massimiliano Perrone (tirasa.net) wrote: On 03/21/2014 04:52 PM, Massimiliano Perrone (tirasa.net) wrote: On 03/20/2014 02:09 PM, Simo Sorce wrote: On Thu, 2014-03-20 at 14:47 +0200, Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Rob Crittenden wrote: Alexander Bokovoy

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-24 Thread Alexander Bokovoy
On Mon, 24 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: As you can see in the row indicated by the arrow there's: Entered Krb5Context.initSecContext with state=STATE_NEW Service ticket not found in the subject --- Is this right?

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-21 Thread Massimiliano Perrone (tirasa.net)
On 03/20/2014 02:09 PM, Simo Sorce wrote: On Thu, 2014-03-20 at 14:47 +0200, Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Rob Crittenden wrote: Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Massimiliano Perrone (example.com) wrote: On 03/18/2014 05:26 PM, Alexander Bokovoy wrote: On Tue,

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-20 Thread Massimiliano Perrone (tirasa.net)
On 03/18/2014 05:26 PM, Alexander Bokovoy wrote: On Tue, 18 Mar 2014, Massimiliano Perrone (example.com) wrote: The difference between the two calls is on the last TGS_REQ; because the first one is on ldap/olmo.example@example.com and it's OK whereas the second one is on

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-20 Thread Alexander Bokovoy
On Thu, 20 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: On 03/18/2014 05:26 PM, Alexander Bokovoy wrote: On Tue, 18 Mar 2014, Massimiliano Perrone (example.com) wrote: The difference between the two calls is on the last TGS_REQ; because the first one is on

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-20 Thread Rob Crittenden
Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: On 03/18/2014 05:26 PM, Alexander Bokovoy wrote: On Tue, 18 Mar 2014, Massimiliano Perrone (example.com) wrote: The difference between the two calls is on the last TGS_REQ; because the first one is on

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-20 Thread Alexander Bokovoy
On Thu, 20 Mar 2014, Rob Crittenden wrote: Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: On 03/18/2014 05:26 PM, Alexander Bokovoy wrote: On Tue, 18 Mar 2014, Massimiliano Perrone (example.com) wrote: The difference between the two calls is on the

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-20 Thread Simo Sorce
On Thu, 2014-03-20 at 14:47 +0200, Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Rob Crittenden wrote: Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: On 03/18/2014 05:26 PM, Alexander Bokovoy wrote: On Tue, 18 Mar 2014, Massimiliano Perrone

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-20 Thread Massimiliano Perrone (tirasa.net)
On 03/20/2014 01:29 PM, Rob Crittenden wrote: Alexander Bokovoy wrote: On Thu, 20 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: On 03/18/2014 05:26 PM, Alexander Bokovoy wrote: On Tue, 18 Mar 2014, Massimiliano Perrone (example.com) wrote: The difference between the two calls is on the

[Freeipa-devel] Talking json/rpc with java client

2014-03-18 Thread Marco Di Sabatino Di Diodoro
Hi all, what are the requirements or packages that a client must have to call JSON/RPC with java? We have a 401 error. If we talking to freeipa json web api via curl it works. Suggestions? M -- Dott. Marco Di Sabatino Di Diodoro Tel. +39 3939065570 Tirasa S.r.l. Viale D'Annunzio 267 - 65127

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-18 Thread Martin Kosek
On 03/18/2014 09:02 AM, Marco Di Sabatino Di Diodoro wrote: Hi all, what are the requirements or packages that a client must have to call JSON/RPC with java? We have a 401 error. If we talking to freeipa json web api via curl it works. Suggestions? M CCing Jan and Jan - either of them

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-18 Thread Jan Pazdziora
On Tue, Mar 18, 2014 at 09:02:13AM +0100, Marco Di Sabatino Di Diodoro wrote: what are the requirements or packages that a client must have to call JSON/RPC with java? We have a 401 error. What packages / code do you attempt to use when you get that 401? -- Jan Pazdziora Principal Software

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-18 Thread Massimiliano Perrone (tirasa.net)
On 03/18/2014 10:10 AM, Jan Pazdziora wrote: On Tue, Mar 18, 2014 at 09:02:13AM +0100, Marco Di Sabatino Di Diodoro wrote: what are the requirements or packages that a client must have to call JSON/RPC with java? We have a 401 error. What packages / code do you attempt to use when you get

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-18 Thread Alexander Bokovoy
On Tue, 18 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: On 03/18/2014 10:10 AM, Jan Pazdziora wrote: On Tue, Mar 18, 2014 at 09:02:13AM +0100, Marco Di Sabatino Di Diodoro wrote: what are the requirements or packages that a client must have to call JSON/RPC with java? We have a 401

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-18 Thread Massimiliano Perrone (tirasa.net)
On 03/18/2014 11:26 AM, Alexander Bokovoy wrote: On Tue, 18 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: On 03/18/2014 10:10 AM, Jan Pazdziora wrote: On Tue, Mar 18, 2014 at 09:02:13AM +0100, Marco Di Sabatino Di Diodoro wrote: what are the requirements or packages that a client must

Re: [Freeipa-devel] Talking json/rpc with java client

2014-03-18 Thread Alexander Bokovoy
On Tue, 18 Mar 2014, Massimiliano Perrone (tirasa.net) wrote: The difference between the two calls is on the last TGS_REQ; because the first one is on ldap/olmo.example@example.com and it's OK whereas the second one is on HTTP/olmo.example@example.com that returns a 401 (I suppose).