See https://phabricator.wikimedia.org/source/operations-puppet/browse/production/modules/openldap/files/offboard-user.py