Received: from smtp1.Stanford.EDU (smtp1.Stanford.EDU [171.67.16.123]) by krbdev.mit.edu (8.9.3p2) with ESMTP id NAA04115; Mon, 18 Jul 2005 13:56:11 -0400 (EDT) Received: from windlord.stanford.edu (windlord.Stanford.EDU [171.64.19.147]) by smtp1.Stanford.EDU (8.12.11/8.12.11) with ESMTP id j6IHu5SK026877 for ; Mon, 18 Jul 2005 10:56:05 -0700 Received: by windlord.stanford.edu (Postfix, from userid 1000) id F0B5DE791A; Mon, 18 Jul 2005 10:56:04 -0700 (PDT) To: rt@krbdev.mit.edu Subject: Re: [krbdev.mit.edu #3122] KRB 1.4.1 AIX 5.2 fixes In-Reply-To: (Jonathan Chen via's message of "Thu, 14 Jul 2005 15:43:20 -0400 (EDT)") References: From: Russ Allbery Organization: The Eyrie Date: Mon, 18 Jul 2005 10:56:04 -0700 Message-Id: <87hdesyp57.fsf@windlord.stanford.edu> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 1184 Jonathan Chen via RT writes: > Due to all the wonderful "features" of AIX, Kerberos doesn't work well > on AIX 5.2. The following patch attempts to fix some of the issues: > - the select() API in AIX is unusual. The 16 high bits of the first > argument is special, so select(0x00010000, ...) doesn't work. Since > 8*sizeof(fd_set) == 0x10000 is used as the first argument in serveral > places, things break. > - AIX loves to return a sockaddr_in6 structure when you getpeername() on > an inet4 socket. However, special error-checking "features" will > throw back an error if you pass that sockaddr_in6 structure back to > connect(). I love AIX. > - fake-addrinfo isn't needed for AIX 5.1+ > Also, please note RT Ticket# 2902 that resolves crashes on res_ninit(). > All of the problems should be present in krb5-1.4-current as well, and > all the problems except the fake-addrinfo should also be in > krb5-current. > Without further ado, here's the useful part: [...] I can confirm that this patch fixes all of these issues on AIX 5.2. -- Russ Allbery (rra@stanford.edu)