mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
trusts: Fix typo in error message for realm-domain mismatch
This commit is contained in:
committed by
Petr Viktorin
parent
81b5ac772f
commit
df5f5c9fab
@@ -424,14 +424,14 @@ sides.
|
|||||||
)
|
)
|
||||||
|
|
||||||
# If domain name and realm does not match, IPA server is not be able
|
# If domain name and realm does not match, IPA server is not be able
|
||||||
# to estabilish trust with Active Directory.
|
# to establish trust with Active Directory.
|
||||||
|
|
||||||
realm_not_matching_domain = (api.env.domain.upper() != api.env.realm)
|
realm_not_matching_domain = (api.env.domain.upper() != api.env.realm)
|
||||||
|
|
||||||
if options['trust_type'] == u'ad' and realm_not_matching_domain:
|
if options['trust_type'] == u'ad' and realm_not_matching_domain:
|
||||||
raise errors.ValidationError(
|
raise errors.ValidationError(
|
||||||
name=_('Realm-domain mismatch'),
|
name=_('Realm-domain mismatch'),
|
||||||
error=_('To estabilish trust with Active Directory, the '
|
error=_('To establish trust with Active Directory, the '
|
||||||
'domain name and the realm name of the IPA server '
|
'domain name and the realm name of the IPA server '
|
||||||
'must match')
|
'must match')
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user