freeipa-password-reset
freeipa-password-reset copied to clipboard
Cannot update your password. Insufficient access: Insufficient 'write' privilege to the 'userPassword' attribute of entry '<DN-NAME-HERE>'.
Getting the below error message on reset page:
Cannot update your password. Insufficient access: Insufficient 'write' privilege to the 'userPassword' attribute of entry '<DN-NAME-HERE>'.
Adding user to "ldap-passwd-reset" to the "admins" FreeIPA group helps to solve the issue, but I don't want to leave it permanently over there.
CentOS Linux release 7.9.2009 (Core)
$ ipa --version VERSION: 4.6.8, API_VERSION: 2.237
The latest version of the freeipa-password-reset as of Jan 4th, 2021
Привет. Проверь, что у тебя выполнены шаги:
ipa role-add "Self Password Reset"
ipa role-add-member "Self Password Reset" --users="ldap-passwd-reset"
ipa role-add-privilege "Self Password Reset" --privileges="Modify Users and Reset passwords"
ipa role-add-privilege "Self Password Reset" --privileges="Password Policy Readers"
ipa role-add-privilege "Self Password Reset" --privileges="Kerberos Ticket Policy Readers"
ipa permission-mod "System: Change User password" --includedattrs="krbloginfailedcount"
Посмотреть выданные юзеру привелегии можно в веб интерфейсе. У приведегии "Modify Users and Reset passwords" должно быть право записи в поле userPassword (по дефолту оно есть).
Привет Владимир!
Да я проверил конечно прежде чем писать. Но сейчас ещё раз перепроверю на всякий случай.
Спасибо!
Евгений
On Fri., Jan. 8, 2021, 5:37 a.m. Vladimir Buyanov [email protected] wrote:
Привет. Проверь, что у тебя выполнены шаги:
ipa role-add "Self Password Reset"
ipa role-add-member "Self Password Reset" --users="ldap-passwd-reset"
ipa role-add-privilege "Self Password Reset" --privileges="Modify Users and Reset passwords"
ipa role-add-privilege "Self Password Reset" --privileges="Password Policy Readers"
ipa role-add-privilege "Self Password Reset" --privileges="Kerberos Ticket Policy Readers"
ipa permission-mod "System: Change User password" --includedattrs="krbloginfailedcount"
Посмотреть выданные юзеру привелегии можно в веб интерфейсе. У приведегии "Modify Users and Reset passwords" должно быть право записи в поле userPassword (по дефолту оно есть).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/larrabee/freeipa-password-reset/issues/48#issuecomment-756759573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDDD7VAYIZUD75JK47VD73SY4DDJANCNFSM4VT5S7WA .
Привет, это сообщение появляется при попытке сменить пароль юзеру, состоящему в группе "admins". Обычных юзеров это не затрагивает.
translated the last comment "Hi, this message appears when you try to change the password for a user who is a member of the "admins" group. This does not affect regular users.". Indeed this seems to be the issue at my case, because i get the same error message