diff --git a/app/ldap_protocol/kerberos/service.py b/app/ldap_protocol/kerberos/service.py index aea808d22..880764e5a 100644 --- a/app/ldap_protocol/kerberos/service.py +++ b/app/ldap_protocol/kerberos/service.py @@ -32,6 +32,7 @@ from .base import AbstractKadmin from .exceptions import ( KRBAPIAddPrincipalError, + KRBAPIConnectionError, KRBAPIDeletePrincipalError, KRBAPIPrincipalNotFoundError, KRBAPIRenamePrincipalError, @@ -262,6 +263,7 @@ async def setup_kdc( KRBAPISetupStashError, KRBAPISetupTreeError, KerberosDependencyError, + KRBAPIConnectionError, ) as err: await self._ldap_manager.rollback_kerberos_structure( context.krbadmin,