User account is not enabled/disabled when (in)activated from the console.
Steps to Reproduce: 1. Directory console -> Directory -> -> user entry 2. In properties -> account click in/activate, click OK 3. Check by ldapsearch query directly on directory server
Actual results: nsAccountLock operational attribute on the entry is not changed
Expected results: The nsAccountLock attribute has been changed accordingly.
This works for me on Linux (MS Windows Console has not been tested yet):
"inactivate" the account using the console:
$ ldapsearch -D "cn=directory manager" -w password -b "dc=example,dc=com" -xLLL uid=mreynolds nsaccountlock dn: uid=mreynolds,dc=example,dc=com nsaccountlock: true
$ ldapsearch -D "uid=mreynolds,dc=example,dc=com" -w password -b "dc=example,dc=com" -xLLL uid=mreynolds ldap_bind: Server is unwilling to perform (53) additional info: Account inactivated. Contact system administrator.
"activate" the account using the console:
$ ldapsearch -D "cn=directory manager" -w password -b "dc=example,dc=com" -xLLL uid=mreynolds nsaccountlock dn: uid=mreynolds,dc=example,dc=com
ldapsearch -D "uid=mreynolds,dc=example,dc=com" -w password -b "dc=example,dc=com" -xLLL uid=mreynolds dn: uid=mreynolds,dc=example,dc=com uid: mreynolds givenName: mark objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson sn: reynolds cn: mark reynolds
Rebuild should fix this issue.
Metadata Update from @nhosoi: - Issue assigned to nhosoi - Issue set to the milestone: 389-admin,console 1.1.36
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/808
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)