I want to enable users to reset their AD passwords on our Windows Server 2012 through our Jira server. In order to make this happen, I added an AD user group with delegated control from the top-level OU for the following permissions:
- change password
- reset password
- read userAccountControl
- write userAccountControl
- read pwdLastSet
- write pwdLastSet
I added the AD account used by Jira to this group and enabled LDAP over SSL. The Jira AD connection seems to work fine this way. Unfortunately, when I try to change a user password, AD returns an error code 50 with problem 4003, indicating insufficient rights.
When I inspect the advanced security settings of the Jira AD user, the delegated permissions from the user group seem to be correctly inherited. As far as I understand this should be sufficient. However, I only can get it to work by adding the Jira AD user to the Built-in Administrators group.
I was under the impression that delegating control like I did would prevent me from needing to add the user to the Administrators group. Is that right or does the user have to be an administrator in order to be able to change passwords. If that is not necessary, any ideas on how to make the delegation work?