Hello,
just because I could answer my 2nd problem by myself. The truncated does
not come from user_find API. It came from the perl JSON module, this is
using this to write boolean variables. There is a special handling for
boolean values inside this module which I have to implement.
Regards
Oliver
Am 10.11.2015 um 15:53 schrieb Oliver Dörr:
Hi Alexander,
sorry for responding you privately. This was not my intention; I just
recognized that my mail program has two reply buttons (replay and
reply to mailing list).
I've played a bit around with your code and implemented a small Perl
module and a test script. They both work in my environment, however
I'm still not happy with them.
What I don't like is...
1st, I need to provide my client version
2nd, I get the message 'truncated' => bless( do{\(my $o = 0)},
'JSON::PP::Boolean' ) from the user_find API
3rd, I do not know what the id is used for and so I'm unsure if I
could automatically handle it in my Perl module
However they should be a help for others who wants use Perl-script to
access IPA-API.
Anyway thanks for your help. This was what I need to get on the track.
Oliver
Am 10.11.2015 um 09:14 schrieb Alexander Bokovoy:
On Mon, 09 Nov 2015, Natxo Asenjo wrote:
hi,
On Mon, Nov 9, 2015 at 6:58 PM, Oliver Dörr <[email protected]>
wrote:
Hi,
I'm completly new to this list and the product behind it. I'm
trying to
use perl to get a list from my IPA installation of all users that
are on
the server.
unfortunately I cannot help you right now, but have you taken a look at
this blog post:
https://vda.li/en/posts/2015/05/28/talking-to-freeipa-api-with-sessions/
It could give you some pointers.
Share your code if you get it to work :-)
The code in my response (see other mail) works fine, Oliver contacted me
privately.
Oliver, please respond to the list. :)
--
Manage your subscription for the Freeipa-users mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-users
Go to http://freeipa.org for more info on the project