apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Reder" <rede...@remulak.net>
Subject Re: getaddrinfo() on HP-UX 11i
Date Fri, 20 Feb 2004 19:50:45 GMT

Is this dependant on the version of 11i? I've seen comments that
lead me to believe there is no support available for IPv6 in
11i v1.0 (11.11), that there is IPv6 support available for
11i v1.5 (11.20) and v1.6 (11.22) (via TOUR v1.0 I believe), and
that IPv6 ships as part of 11i v2.0 (11.23).

Am I confused? Or were you responding specifically to information
that Jeff gave about the version he was working with?


Paul J. Reder

Mathihalli, Madhusudan wrote:
>>-----Original Message-----
>>From: Jeff Trawick [mailto:trawick@attglobal.net]
> [SNIP]
>>I don't have /etc/nsswitch.conf at all.
>>If I create /etc/nsswitch.conf with "ipnodes: 
>>dns[NOTFOUND=continue] files" as 
>>the only line, it doesn't change anything; I can still find 
>>names in /etc/hosts 
>> and still can't find names not in /etc/hosts.
> Well, here's some more info. - let me know if it helps:
> getaddrinfo() API does not come in the base HPUX 11i. It comes as part
> of IPv6 patch for 11i. So if base HPUX 11i is present, then threre is no
> question of functionality broken as getaddrinfo is itself not available.  
> Compilation itself fails here. If IPv6 patch is installed, then
> getaddrinfo() works fine as acknowledged in the FAQ.
> getaddrinfo support for libc was added as part of IPv6 patch in HPUX 11i.
> But the situation may arise that libc patch with getaddrinfo support is
> installed but other IPv6 related patches are not installed. In this case
> both the libnss_dns patch and libnss_files patch with getaddrinfo support
> should be installed. Otherwise getaddrinfo may appear to be broken. This
> is because libc uses libnss_dns and libnss_files for name resolution using
> dns and files respectively.
> libc patch with IPv6 support - PHCO_24400 
> libc headerfile patch with IPv6 support - PHCO_24402 
> libnss_files patch with IPv6 support - PHCO_24401 
> libnss_dns patch with IPv6 support - PHNE_24129
> All these patches or their superseding patches should be installed for
> getaddrinfo to work on 11i.
> The most common error that users make is not specifying properly the
> ipnodes directives in /etc/nsswitch.conf and assuming that giving the
> hosts directive should also work for getaddrinfo.
> -Madhu

Paul J. Reder
"The strength of the Constitution lies entirely in the determination of each
citizen to defend it.  Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure."
-- Albert Einstein

View raw message