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)