Problem with shibboleth 2.5.1 and starting a NativeSPTCPListener on Solaris 10
Cantor, Scott
cantor.2 at osu.edu
Tue Feb 19 13:58:52 EST 2013
> On my solaris 10 box, it looks like HAVE_STRUCT_SOCKADDR_SA_LEN should
> not be defined, and it would compile the third bind, which would be
> correct (previous versions of shib always used it).
I see the same on 11, but yet I do get the same EINVAL error. Are you saying you saw this working on 10 with 2.5, or can you perhaps try this?
> It does look like
> HAVE_STRUCT_SOCKADDR_STORAGE would be defined, so if you happened to be
> picking up the sockaddr.sa_len somehow (maybe dig through your
> configure.log) it would try to use one of the other fields, which may
> not be correct.
That doesn't seem to be necessary. The same code that seems to have been used before is now failing, so I think there's a problem on that code path (having STORAGE but no length).
> The quick and dirty fix would be to remove the above code except for the
> third bind; a better fix would be to figure out if autoconf is finding
> things the code can't.
I think one would probably have to convert back to a sockaddr_in also (the change was for Ipv6).
-- Scott
More information about the users
mailing list