Running the command below as root:
dsidm slapd-mydomainDS -b dc=mydomain,dc=com account lock uid=mstarlingt,ou=People,dc=mydomain,dc=com
Error: Insufficient access - Insufficient 'write' privilege to the 'nsAccountLock' attribute of entry 'uid=mstarlingt,ou=people,dc=mydomain,dc=com'.
Version:
389-ds-base-1.4.3.17-1.module_el8+10764+2b5f8656.x86_64
389-users@lists.fedoraproject.org