[krbdev.mit.edu #3239] AI_NUMERICSERV conflicts with "discard" getaddrinfo hack (AIX 5)

The RT System itself via RT rt-comment at krbdev.mit.edu
Mon Nov 14 14:29:45 EST 2005


>From krb5-bugs-incoming-bounces at PCH.mit.edu  Mon Nov 14 14:29:40 2005
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.9.3p2) with ESMTP
	id OAA09368; Mon, 14 Nov 2005 14:29:40 -0500 (EST)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
	by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id jAEJT0px016335
	for <krb5-send-pr at krbdev.mit.edu>; Mon, 14 Nov 2005 14:29:00 -0500
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU
	[18.7.7.76])
	by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id jAEJC3px012423
	for <krb5-bugs-incoming at PCH.mit.edu>; Mon, 14 Nov 2005 14:12:03 -0500
Received: from mxout3.cac.washington.edu (mxout3.cac.washington.edu
	[140.142.32.166])jAEJC5H9014570
	for <krb5-bugs at mit.edu>; Mon, 14 Nov 2005 14:12:06 -0500 (EST)
Received: from herbert.u.washington.edu (herbert.u.washington.edu
	[140.142.13.4])ESMTP id jAEJC4EE030907
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <krb5-bugs at mit.edu>; Mon, 14 Nov 2005 11:12:05 -0800
Received: (from donn at localhost)jAEJC3Bw162960;
	Mon, 14 Nov 2005 11:12:04 -0800
Date: Mon, 14 Nov 2005 11:12:04 -0800
Message-Id: <200511141912.jAEJC3Bw162960 at herbert.u.washington.edu>
To: krb5-bugs at mit.edu
From: donn at u.washington.edu
X-send-pr-version: 3.99
X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='NO_REAL_NAME 0,
	__HAS_MSGID 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0, __STOCK_SUBJ_7 0'
X-Spam-Score: 0.178
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
X-Mailman-Approved-At: Mon, 14 Nov 2005 14:27:47 -0500
X-BeenThere: krb5-bugs-incoming at mailman.mit.edu
X-Mailman-Version: 2.1
Precedence: list
Reply-To: donn at u.washington.edu
Sender: krb5-bugs-incoming-bounces at PCH.mit.edu
Errors-To: krb5-bugs-incoming-bounces at PCH.mit.edu


>Submitter-Id:	net
>Originator:	Donn Cave
>Organization:
	University of Washington
>Confidential:	no
>Synopsis:	AI_NUMERICSERV conflicts with "discard" getaddrinfo hack (AIX 5)
>Severity:	serious
>Priority:	medium
>Category:	krb5-libs
>Class:		sw-bug
>Release:	1.4.3-beta2
>Environment:
	AIX 5
System: AIX herbert 2 5 000895634C00


>Description:
	(Same as 3107)  Use of AI_NUMERICSERV in library functions breaks
	the hack that fixes an alleged NUMERIC_SERVICE_BROKEN problem.
	I can't duplicate the NUMERIC_SERVICE_BROKEN problem on AIX 5.1
	or AIX 5.2, so I believe it's fixed.  That makes for an easy
	way to resolve the present problem.
>How-To-Repeat:
	Build on AIX 5, observe that kinit can't find KDC.
>Fix:
*** include/fake-addrinfo.h.dist        Wed Jun  1 12:24:32 2005
--- include/fake-addrinfo.h     Mon Nov 14 10:58:53 2005
***************
*** 144,151 ****
  # define COPY_FIRST_CANONNAME
  #endif
  
! #ifdef _AIX
  # define NUMERIC_SERVICE_BROKEN
  # define COPY_FIRST_CANONNAME
  #endif
  
--- 144,153 ----
  # define COPY_FIRST_CANONNAME
  #endif
  
! #if defined(_AIX) && !defined(AI_NUMERICSERV)
  # define NUMERIC_SERVICE_BROKEN
+ #endif
+ #if defined(_AIX)
  # define COPY_FIRST_CANONNAME
  #endif




More information about the krb5-bugs mailing list