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

2015-11-13 Thread Oliver Dörr
Hi Petr, thanks for your hint. It works now. I've decided to change first the password to a random pasword as admin using user_mod and afterwards my code is using ipa/session/change_password to set the password to the final one. So I added this to my Perl module and I'm calling the code usin

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

2015-11-12 Thread Petr Vobornik
On 11/11/2015 04:13 PM, Alexander Bokovoy wrote: On Wed, 11 Nov 2015, Oliver Dörr wrote: Hi, i've tried user_mod instead because of https://docs.fedoraproject.org/en-US/Fedora/18/html/FreeIPA_Guide/pwd-expiration.html and got Error-code:2100 Error-name:ACIError Error-msg:Insufficie

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

2015-11-11 Thread Alexander Bokovoy
On Wed, 11 Nov 2015, Oliver Dörr wrote: Hi, i've tried user_mod instead because of https://docs.fedoraproject.org/en-US/Fedora/18/html/FreeIPA_Guide/pwd-expiration.html and got Error-code:2100 Error-name:ACIError Error-msg:Insufficient access: Insufficient 'write' privilege to th

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

2015-11-11 Thread Oliver Dörr
Hi, i've tried user_mod instead because of https://docs.fedoraproject.org/en-US/Fedora/18/html/FreeIPA_Guide/pwd-expiration.html and got Error-code:2100 Error-name:ACIError Error-msg:Insufficient access: Insufficient 'write' privilege to the 'krbPasswordExpiration' attribute of e