dcerpc: Raise ACIError correctly
Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
1 parent
6a91893ff5
commit
e8ff6a3ef6
1 file changed
+5
-3
+5
-3
@@ -1038,9 +1038,11 @@ class TrustDomainInstance(object):
|
||||
if self.validation_attempts < 10:
|
||||
sleep(5)
|
||||
return self.verify_trust(another_domain)
|
||||
raise errors.ACIError(reason=_('IPA master denied trust validation requests from AD DC '
|
||||
'%(count)d times. Most likely AD DC contacted a replica '
|
||||
'that has no trust information replicated yet.' % (self.validation_attempts)))
|
||||
raise errors.ACIError(
|
||||
info=_('IPA master denied trust validation requests from AD DC '
|
||||
'%(count)d times. Most likely AD DC contacted a replica '
|
||||
'that has no trust information replicated yet.')
|
||||
% dict(count=self.validation_attempts))
|
||||
raise assess_dcerpc_exception(*result.pdc_connection_status)
|
||||
return True
|
||||
return False
|
||||
|
||||
Reference in new issue
Block a user