#7511 Wrong error message in case domain level should be set to 1 again.
Opened 5 years ago by fbarreto. Modified 5 years ago

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1568857

Description of problem:

$ ipa domainlevel-get
-----------------------
Current domain level: 1
-----------------------

This is ok:
$ ipa domainlevel-set 0
ipa: ERROR: Domain Level cannot be lowered.

But this is not ok:
$ ipa domainlevel-set 1
ipa: ERROR: Domain Level cannot be raised to 1, server client.example.com does
not support it.



Version-Release number of selected component (if applicable):
Current ipa-server from RHEL-7.5. Also tested with upstream.

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
IPA says the master does not support the desired domain level.

Expected results:
IPA should say that the domain level is already set to 1 and no modification
needs to be performed.


Additional info:

Metadata Update from @fbarreto:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1568857

5 years ago

It looks its already in place..

# cat /etc/redhat-release
Red Hat Enterprise Linux Workstation release 7.5 (Maipo)
# ipa --version
VERSION: 4.6.3, API_VERSION: 2.229
# ipa domainlevel-get
-----------------------
Current domain level: 1
-----------------------
# ipa domainlevel-set 1
ipa: ERROR: no modifications to be performed

Or we would like to update:
From
ipa: ERROR: no modifications to be performed
to
ipa: ERROR: Domain level is already set to 1 and no modifications to be performed

Login to comment on this ticket.

Metadata