Bug 1582113 - ipa-client-install argument check
Summary: ipa-client-install argument check
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: freeipa
Version: 30
Hardware: All
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: IPA Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-24 09:09 UTC by Jacquelin Charbonnel
Modified: 2019-11-12 19:22 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-12 19:22:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jacquelin Charbonnel 2018-05-24 09:09:20 UTC
Argument check too strict for --domain and --realm :

# ipa-client-install --unattended --no-nisdomain --no-ntp --no-dns-sshfp --domain=math --realm=MATH -p xxx -w xxx --hostname=pc-img2.math

says :

ipa-client-install: error: option --domain: single label domains are not supported

# ipa-client-install --unattended --no-nisdomain --no-ntp --no-dns-sshfp --domain=math.univ-angers.fr --realm=MATH -p xxx -w xxx --hostname=pc-img2.math

says :

ipa-client-install: error: option --realm: single label realms are not supported

but :

# ipa-client-install --unattended --no-nisdomain --no-ntp --no-dns-sshfp -p xxx -w xxx --hostname=pc-img2.math

says :

Discovery was successful!
Client hostname: pc-img2.math
Realm: MATH
DNS Domain: math
IPA Server: netsrv.math
BaseDN: dc=math

and runs successfully.

Comment 1 Alexander Bokovoy 2018-05-24 09:10:48 UTC
We do not support single label realms. This is not going to change.

Comment 2 Florence Blanc-Renaud 2018-05-30 07:22:15 UTC
I think we should rather add a check when using autodiscovery, and make sure that the discovered domain/realm is not single-label.

Comment 3 Florence Blanc-Renaud 2018-06-25 14:59:29 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/7598

Comment 4 Rob Crittenden 2019-04-10 18:56:05 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/f2826da24bb4ddcc55a3c8d6739e918b0089b246

Comment 5 Florence Blanc-Renaud 2019-04-11 11:12:26 UTC
Fixed upstream
ipa-4-6:
https://pagure.io/freeipa/c/39d2ae9bb341b709ce048ae1fae461ab45800581

Comment 6 Florence Blanc-Renaud 2019-04-11 11:43:44 UTC
Fixed upstream
ipa-4-7:
https://pagure.io/freeipa/c/4bc8bc284cfa2cdca44c8d53e74edb2f6be761ea

Comment 7 Ben Cotton 2019-05-02 19:41:34 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Rob Crittenden 2019-11-12 19:22:38 UTC
Fixed in 4.8.0-1


Note You need to log in before you can comment on or make changes to this bug.