[PATCH] AIX 5.3

Ken Raeburn raeburn at MIT.EDU
Fri Sep 9 16:27:48 EDT 2005


I'm testing out submitted patches, and making a few more minor  
changes.  Unfortunately, I don't have AIX 5 to test with. :-(

On Sep 7, 2005, at 17:44, Donn Cave wrote:
> Anyway, I can confirm that the part of this that deals
> with AI_NUMERICSERV is very similar to my report 3107.
> The difference is that I put the ai_flags & AI_NUMERICSERV
> test a little earlier in the logic, so if the caller sets
> this flag, none of the code for #ifdef NUMERIC_SERVICE_BROKEN
> runs.
>
> I don't believe NUMERIC_SERVICE_BROKEN even applies to our
> AIX 4.3 hosts, let alone AIX 5.2.  Couldn't duplicate the
> symptom, anyway.

It may well be that there are patches you've got which fix it, and  
which we haven't installed.

The basic symptom is that getaddrinfo("a1.mit.edu", "1235", ...), no  
AI_NUMERICSERV because netdb.h doesn't define it, returns a 'host not  
found' error (the hostname does exist), but if you give a numeric  
port number corresponding to a service listed in /etc/services, then  
everything is fine.  We need the non-listed-service case to work too.

Ken


More information about the krbdev mailing list