On 06/02/2015 11:42 AM, Tamas Papp wrote:
> 
> 
> On 06/02/2015 10:35 AM, Martin Kosek wrote:
>> You would need to do the modifications as Directory Manager or other user in
>> "admins"group.
>>
>> To resolve this, you would need manually fix admin entry attribute
>> krbPasswordExpiration to some future date, kinit as admin and then fixing the
>> global policy with some sane value (pwpolicy-mod).
> 
> How can this work? It forces me to change the password again after kinit.

You would need to use ldapmodify and bind as Directory Manager to do this, you
cannot change krbPasswordExpiration with IPA user (IIRC).

> For some reason another user with admin rights was able to  login and we were
> able to fix the policy so far.

With that other admin user, you can simply call "ipa passwd" on the original
admin, assign temporary password and have him change it on the first login.

-- 
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

Reply via email to