[EMAIL PROTECTED] (hwntw) wrote in message news:<[EMAIL PROTECTED]>... > [EMAIL PROTECTED] (Sam Hartman) wrote in message news:<[EMAIL PROTECTED]>... > > Actually, as I recall, MIT's telnetd will call MIT's login.krb5. > > There do seem to be several username size limits in that program, all > > based on UT_NAMESIZE. > > > > Looking at Solaris, I think that will get set to 8. > > > > I suspect that we don't handle the case where utmpx has a longer name > > size than utmp very well. > > > > I'm not sure what the fix is off the top of my head; forcing > > UT_NAMESIZE to 32 might just work, but you would need to check and > > make sure it didn't create a buffer overflow. > > > > ________________________________________________ > > Kerberos mailing list [EMAIL PROTECTED] > > https://mailman.mit.edu/mailman/listinfo/kerberos > TVM, > Is this it? > > login.c:#define UT_NAMESIZE sizeof(((struct utmp *)0)->ut_name) > > What would a changed definition look like? > Colin
To answer my own question- yes it is. I set UT_NAMESIZE to 32 in login.c and krlogind.c and recompiled. It works. Big up to Sam Hartman. TVM Colin ________________________________________________ Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos
