[3635] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

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

daemon@ATHENA.MIT.EDU (Ken Raeburn via RT)
Mon Nov 11 16:51:15 2002

Message-Id: <rt-1063-3676.17.1128954709906@krbdev.mit.edu>
In-Reply-To: <rt-1063@krbdev.mit.edu>
From: "Ken Raeburn via RT" <rt-comment@krbdev.mit.edu>
Reply-To: rt-comment@krbdev.mit.edu
To: krb5-prs@mit.edu
Errors-To: krb5-bugs-admin@mit.edu
Date: Mon, 11 Nov 2002 16:50:58 -0500 (EST)


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.
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
http://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post