ipaserver/install/ldapupdate.py uses ldap.LOCAL_ERROR and ldap.INVALID_CREDENTIALS exceptions while calling an LDAP bind code from ipaldap which remaps these exceptions to ACIError.
ipaserver/install/ldapupdate.py
ldap.LOCAL_ERROR
ldap.INVALID_CREDENTIALS
ipaldap
ACIError
The code in ipaldap got changed with df4ed77 but ldapupdate was never updated.
ldapupdate
Near as I can tell only schema_update() uses ldapupdate.connect() and never passes in a DM password so looks like simple bind can be dropped altogether.
(ldap.CONNECT_ERROR, ldap.SERVER_DOWN): should be replaced by NetworkError
Metadata Update from @abiagion: - Issue set to the milestone: FreeIPA 4.7.1 - Issue tagged with: easyfix
Metadata Update from @rcritten: - Issue set to the milestone: FreeIPA 4.7.2 (was: FreeIPA 4.7.1)
FreeIPA 4.7.1 has been released, moving to FreeIPA 4.7.2 milestone
master:
Metadata Update from @abbra: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)