Re: Linux problem

"Taylor, ForrestX" <[email protected]> Wed, 06 Nov 2002 09:33:49 -0800
Newsgroups gmane.linux.redhat.release.zoot
Message-ID <[email protected]>
Raymond Lam wrote:
> Dear Sir,
> 
> I have noticed a lot of people posted the problems (mentioned below) on the
> internet for help, but I could not find the answer for it. Would someone who
> knows how to fix the problem,
> please help!!!!!
> 
> The Problem
> ========
> homer 67# telnet itanium-head
> Trying 138.37.41.3...
> Connected to itanium0.
> Escape character is '^]'.
> 
>     itanium-head (Linux release 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT
> 2001) (2)
> 
> login: raymond
> Password for raymond:
> < -------  problem
> login: Cannot resolve network address for KDC in requested realm while
> getting initial credentials
> -------
> Last login: Tue Nov  5 10:16:11 from homer
> 
>  Welocme to Dept. of Engineering
> =================================
> Only authorised users are allowed to use this machine.
> 
> [raymond@itanium-head raymond]$
> 
> [raymond@itanium-head /]$ ftp newton
> Connected to newton.
> 220 newton.eng.qmw.ac.uk FTP server ready.
> 500 'AUTH GSSAPI': command not understood.       <---------  problem
> 500 'AUTH KERBEROS_V4': command not understood.
> KERBEROS_V4 rejected as an authentication type
> Name (newton:raymond): raymond
> 331 Password required for raymond.
> Password:
> 230 User raymond logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.

The problem is that you are using the KRB5 enabled version of 
telnet/ftp.  If you type in `which ftp` and `which telnet`, you should 
see that they are in /usr/kerberos/bin.  If you aren't using kerberos 
for authentication, you can remove /usr/kerberos/* from your path (or 
remove krb5*), or you can bump up /usr/bin in the path list.

It looks like the PATH is set in /etc/profile.d/krb5.csh (for tcsh/csh) 
and /etc/profile.d/krb5.sh (for bash).  You can either move them (e.g., 
to /root), or you can append kerberos instead of prepending it:

Instead of:
PATH=/usr/kerberos/bin:${PATH}

switch it to:
PATH=${PATH}:/usr/kerberos/bin

for all instances.

Forrest
--