Re: [Freeipa-users] Documentation on the JSON format for ipa-web?

2015-12-02 Thread Oliver Dörr
Hmm, I've made a few tests against JSON API and the API browser was available. I've used RHEL 7.2 and so I expect CentOS 7.2 contaning the API browser. Oliver Am 01.12.2015 um 19:41 schrieb Marc Boorshtein: IPA 4.2 has an experimental API browser in the GUI, IPA Server -> API browser.

Re: [Freeipa-users] REST/JSON API: Howto add a user that is not expired

2015-11-13 Thread Oliver Dörr
using... $ipaClient->changePasswordAsAdmin({'uid' =>'k812339', 'newPassword' => 'start123', 'doNotExpire' => 'true'}); Greetings Oliver Am 12.11.2015 um 13:29 schrieb Petr Vobornik: On 11/11/2015 04:13 PM, Alexander Bokovoy wrote: On Wed, 11 Nov 2015, Oliver Dörr wrote: Hi, i've tr

Re: [Freeipa-users] REST/JSON API: Howto add a user that is not expired

2015-11-11 Thread Oliver Dörr
50 tag=103 nentries=0 etime=0 So it looks like it is a permission issue. But I still have the problem when use admin to do the job. Any idea about how to change the permission or an API that it is able to do the job? Thanks in advance Oliver Am 11.11.2015 um 15:29 schrieb Oliver Dörr: Hi, i'm sti

[Freeipa-users] REST/JSON API: Howto add a user that is not expired

2015-11-11 Thread Oliver Dörr
Hi, i'm still working with the JSON API and I now have the problem, that I want to add a user with a not expired password. I've tried setattr and addattr with the following JSON code, but both fail.

Re: [Freeipa-users] First tests against the REST/JSON API

2015-11-10 Thread Oliver Dörr
njo wrote: hi, On Mon, Nov 9, 2015 at 6:58 PM, Oliver Dörr <oli...@doerr-privat.de> 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

Re: [Freeipa-users] First tests against the REST/JSON API

2015-11-10 Thread Oliver Dörr
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

[Freeipa-users] First tests against the REST/JSON API

2015-11-09 Thread Oliver Dörr
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. #!/usr/bin/perl use strict; use REST::Client; use JSON; use Data::Dumper; use MIME::Base64; my $username="admin"; my