Bug 1367864

Summary: Server assumes latest version of command instead of version 1 for old / 3rd party clients
Product: Red Hat Enterprise Linux 7 Reporter: Petr Vobornik <pvoborni>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: akasurde, dkupka, jcholast, mkolaja, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.4.0-9.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 06:01:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
console.log none

Description Petr Vobornik 2016-08-17 16:39:16 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/6217

When the server receives an unversioned command call, it will assume the latest version of the command instead of version 1.

This will break old and 3rd party clients when a new version of command is introduced.

Fix the server to assume version 1 for unversioned command calls.

Comment 1 David Kupka 2016-08-31 12:38:52 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/8891465247a0bab5d07f560f2c963f3ee56905f0

Comment 2 David Kupka 2016-09-01 11:21:09 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/afcb3bd3c32aa33dcd68cd0a2ca85bda677000a8

Comment 7 Abhijeet Kasurde 2016-09-19 12:42:05 UTC
Verified using IPA version::
ipa-server-4.4.0-12.el7.x86_64

Marking BZ as verified.

Comment 8 Abhijeet Kasurde 2016-09-20 12:06:29 UTC
Created attachment 1202871 [details]
console.log

Comment 10 errata-xmlrpc 2016-11-04 06:01:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2404.html