Bug 766907 - Use [...] for IPv6 addresses in kdc info files
Summary: Use [...] for IPv6 addresses in kdc info files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: IDM QE LIST
URL:
Whiteboard:
: 785896 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-12 19:22 UTC by Jenny Severance
Modified: 2020-05-04 10:30 UTC (History)
7 users (show)

Fixed In Version: sssd-1.8.0-2.el6.beta2
Doc Type: Bug Fix
Doc Text:
No documentation needed
Clone Of:
Environment:
Last Closed: 2012-06-20 11:49:35 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 1951 0 None None None 2020-05-04 10:30:09 UTC
Red Hat Product Errata RHBA-2012:0747 0 normal SHIPPED_LIVE sssd bug fix and enhancement update 2012-06-19 19:31:43 UTC

Description Jenny Severance 2011-12-12 19:22:00 UTC
Description of problem:

Currently we just put a plain IPv6 address in the kdc info file and add a port to the address separated by a : . The locator plugin takes case that address and port are split in the right way, but it might be useful and more accordind to standards to put the address in brackets e.g.[::1]:749. 

Without brackets the syntax is ambiguous and you cannot know if the last element is a port or part of the address. This should be fixed asap because it is otherwise technically 'broken'. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Upstream ticket :: https://fedorahosted.org/sssd/ticket/909

Comment 1 Jenny Severance 2012-01-31 14:48:30 UTC
*** Bug 785896 has been marked as a duplicate of this bug. ***

Comment 3 Jakub Hrozek 2012-04-03 17:47:00 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed

Comment 4 Kaushik Banerjee 2012-04-25 15:23:54 UTC
IPV6 addresses appear in square brackets in the kdcinfo files:

# cat /var/lib/sss/pubconf/kdcinfo.EXAMPLE.COM 
[2620:52:0:41c9:5054:ff:fe52:a3a6]:0



Verified in version:
# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.8.0                             Vendor: Red Hat, Inc.
Release     : 23.el6                        Build Date: Fri 20 Apr 2012 11:30:39 PM IST
Install Date: Wed 25 Apr 2012 07:28:48 PM IST      Build Host: x86-003.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.8.0-23.el6.src.rpm
Size        : 7874744                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 6 errata-xmlrpc 2012-06-20 11:49:35 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.

http://rhn.redhat.com/errata/RHBA-2012-0747.html


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