[2000] in Kerberos-V5-bugs

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

Re: Kerberos v5b6 problems

daemon@ATHENA.MIT.EDU (Paul Weber)
Thu Jun 13 09:55:50 1996

Date: Thu, 13 Jun 1996 09:30:23 -0400
From: Paul Weber <weber@anise.ee.cornell.edu>
To: Sam Hartman <hartmans@MIT.EDU>
Cc: Paul Weber <weber@anise.ee.cornell.edu>, krb5-bugs@MIT.EDU

Sam,

Thank you, Thank you, Thank you !!!!

Things seem to be working now! However when I use login.krb5 I get the
following message ( but it does work ):

"login/v4: Unknown code 61 converting to V4 credentials" and then it
logs me in.

Sam Hartman wrote:
> 
> >>>>> "Paul" == Paul Weber <weber@anise.ee.cornell.edu> writes:
> 
>     Paul> Sam Hartman wrote:
>     >>
>     Paul> thor(37) > rlogin thor thor.ee.cornell.edu: Connection
>     Paul> refused rlogin: kcmd to host thor failed - Unknown code ____
>     Paul> 255 trying normal rlogin (/usr/ucb/rlogin) Last login: Tue
>     Paul> Jun 11 14:02:22 from THOR.EE.CORNELL.  SunOS Release 4.1.4
>     Paul> (GENERIC) #1: Thu Mar 14 09:50:59 EST 1996
>     >>
>     >> Well, what services did you enable in /etc/inetd.conf, and did
>     >> inetd give errors about them?  When you telnet to the klogin and
>     >> eklogin ports on your machine, what happens.
>     Paul> No errors inetd
> 
>         You actually installed things correctly, but  you didn't use
> the rlogin command correctly.  Basically, you only enabled encrypted
> rlogin.  By default, the rlogin(and rsh) clients do not use
> encryption. You need to include the -x option to get this to work.
> For example:
> 
> /krb5/bin/rlogin thor -x
> 

rlogin thor -x does not work it just hangs, however, rlogin thor does
work.

One last thing! The  little-endian CPU code in shs.c would not compile
on a SUN running 4.1.4. I changed the code so the complier would take
it. I'm not sure if the changes I made broke the code or not, but
everything seems to work for me and it compiled fine.  Here is the code:

void longReverse( buffer, byteCount )
{
    LONG value;
    static int init = 0;
    char *cp;
   
    switch (init) {
    case 0:
      init=1;
	cp = (char *) &init;
	if (*cp == 1) {
	    init=2;
	    break;
	}
	init=1;
	/* fall through - MSB */
    case 1:
	return;
    }
    byteCount = sizeof( LONG );
    while( byteCount-- ) {
        value = buffer;
        value = ( ( value & 0xFF00FF00L ) >> 8  ) | 
                ( ( value & 0x00FF00FFL ) << 8 );
        buffer = ( value << 16 ) | ( value >> 16 );
    }
}


Again thanks for your help!!!
Paul

          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                       Paul R. Weber                    
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                Computer Operations Manager II                  
			
	        301 Phillips Hall                                 
                Electrical Engineering                            
                Cornell University                                
                Ithaca, NY 14853-6401                             
                                                                  
                E-mail: prw1@cornell.edu                          
                Phone:  (607) 255-1460                            
                Fax:    (607) 254-4565                            
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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