[krbdev.mit.edu #1063] invalid argument while getting initial credentials

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Mon Nov 11 16:50:58 EST 2002


The referenced URLs describe two problems, in email from Nico. 
Basically, on Solaris hosts with huge numbers of (possibly virtual)
network interfaces, both the krb5 library and the rpc library will fail
because they don't provide enough buffer space to the SIOCGIFCONF ioctl
call.

I believe the krb5 library has been fixed on the trunk.  However, the
rpc library has not.  (It only wants one address anyways, but on
Solaris, if you don't provide enough buffer space for all the entries it
wants to return, it returns none of them, just an error.)  Using
foreach_localaddr is probably overkill; just add a test for SIOCGIFNUM,
and if it's available, use it.



More information about the krb5-bugs mailing list