diff options
author | Tomas Babej <tbabej@redhat.com> | 2015-09-03 14:00:09 +0200 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-10-12 13:34:20 +0200 |
commit | 1e1d6d15c65357b1475917597ffa715ad9d6c8c1 (patch) | |
tree | 7b0523d5b84913376c0a1f3abaa6630f6877225a /ipalib/messages.py | |
parent | 6a2f47acbe301759899d477e524af8968a7c97c1 (diff) | |
download | freeipa-1e1d6d15c65357b1475917597ffa715ad9d6c8c1.tar.gz freeipa-1e1d6d15c65357b1475917597ffa715ad9d6c8c1.tar.xz freeipa-1e1d6d15c65357b1475917597ffa715ad9d6c8c1.zip |
realmdomains: Issue a warning when automated management of realmdomains failed
https://fedorahosted.org/freeipa/ticket/5278
Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'ipalib/messages.py')
-rw-r--r-- | ipalib/messages.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py index 375da2443..3b982f473 100644 --- a/ipalib/messages.py +++ b/ipalib/messages.py @@ -246,6 +246,37 @@ class DNSSECValidationFailingWarning(PublicMessage): u"validation on all IPA servers.") +class KerberosTXTRecordCreationFailure(PublicMessage): + """ + **13011** Used when a _kerberos TXT record could not be added to + a DNS zone. + """ + + errno = 13011 + type = "warning" + format = _( + "The _kerberos TXT record from domain %(domain)s could not be created " + "(%(error)s).\nThis can happen if the zone is not managed by IPA. " + "Please create the record manually, containing the following " + "value: '%(realm)s'" + ) + + +class KerberosTXTRecordDeletionFailure(PublicMessage): + """ + **13012** Used when a _kerberos TXT record could not be removed from + a DNS zone. + """ + + errno = 13012 + type = "warning" + format = _( + "The _kerberos TXT record from domain %(domain)s could not be removed " + "(%(error)s).\nThis can happen if the zone is not managed by IPA. " + "Please remove the record manually." + ) + + def iter_messages(variables, base): """Return a tuple with all subclasses """ |