the owner DNs the account names now
the owner DNs it would name
who is asking: a username or a DN; '' for nobody known (development's open API, a client's own token, an anonymous bind)
Optionaldoor: string
api or ldap, whose codes the refusal carries
{ code, message }, or null where the change is allowed
Says whether changing a service account's owners from
beforetoafterbreaks rule 2 or rule 3 of an irreversible service account (rcbj, 2026-11-15): no change may leave an account that named an owner with none, and the caller may not take themselves off — their own DN, or the group that was their only way of owning it. Asked byset()and by the directory's LDAP modify, each with its own codes.