[krbdev.mit.edu #3122] KRB 1.4.1 AIX 5.2 fixes
Russ Allbery via RT
rt-comment at krbdev.mit.edu
Mon Jul 18 13:56:15 EDT 2005
Jonathan Chen via RT <rt-comment at krbdev.mit.edu> 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 at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the krb5-bugs
mailing list