[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kinit to two cell or more



Dear Love,
	  Thank you ever so much for your quick reply:
 I did the following:

bash-3.2$ ssh -X -Y pc113.hep.manchester.ac.uk
sabah@pc113.hep.manchester.ac.uk's password: 
Last login: Wed May 14 08:03:15 2008 from g5-1.hep.man.ac.uk
[sabah@pc113 ~]$ klist
Credentials cache: FILE:/tmp/krb5cc_24401_RUVUnO
	Principal: sabah@HEP.MAN.AC.UK

  Issued	   Expires	    Principal			    
May 14 11:56:11  May 15 12:56:11  krbtgt/HEP.MAN.AC.UK@HEP.MAN.AC.UK

   V4-ticket file: /tmp/tkt24401_2dcZ46
	Principal: sabah@HEP.MAN.AC.UK

  Issued	   Expires	    Principal			    
May 14 11:56:11  May 15 13:22:32  krbtgt.HEP.MAN.AC.UK@HEP.MAN.AC.UK
May 14 11:56:11  May 15 13:22:32  afs@HEP.MAN.AC.UK		    
[sabah@pc113 ~]$ kinit --no-afslog sabah@HEP.MAN.AC.UK
sabah@HEP.MAN.AC.UK's Password: 
[sabah@pc113 ~]$ afslog -c help.man.ac.uk
afslog: krb5_afslog(help.man.ac.uk): Server not found in Kerberos database
afslog: krb_afslog(help.man.ac.uk): Can't get inter-realm ticket granting
ticket (get_ad_tkt)
[sabah@pc113 ~]$ klist
Credentials cache: FILE:/tmp/krb5cc_24401_RUVUnO
	Principal: sabah@HEP.MAN.AC.UK

  Issued	   Expires	    Principal			    
May 14 11:56:46  May 15 12:56:46  krbtgt/HEP.MAN.AC.UK@HEP.MAN.AC.UK

   V4-ticket file: /tmp/tkt24401_2dcZ46
	Principal: sabah@HEP.MAN.AC.UK

  Issued	   Expires	    Principal			    
May 14 11:56:46  May 15 13:23:07  krbtgt.HEP.MAN.AC.UK@HEP.MAN.AC.UK
[sabah@pc113 ~]$ kinit --no-afslog sabah@CERN.CH
sabah@CERN.CH's Password: 
[sabah@pc113 ~]$ afslog -c cern.ch
[sabah@pc113 ~]$ klist
Credentials cache: FILE:/tmp/krb5cc_24401_RUVUnO
	Principal: sabah@CERN.CH

  Issued	   Expires	    Principal		
May 14 11:57:38  May 15 12:57:38  krbtgt/CERN.CH@CERN.CH
May 14 11:57:51  May 15 12:57:38  afs@CERN.CH		

   V4-ticket file: /tmp/tkt24401_2dcZ46
	Principal: sabah@CERN.CH

  Issued	   Expires	    Principal		
May 14 11:57:38  May 15 13:23:59  krbtgt.CERN.CH@CERN.CH
[sabah@pc113 ~]$ tokens

Tokens held by the Cache Manager:

User's (AFS ID 24401) tokens for afs@cern.ch [Expires May 15 13:24]
Tokens for afs@hep.man.ac.uk [Expires May 15 13:22]
   --End of list--
[sabah@pc113 ~]$ 


It look like I did not configured manchester site correctly.
"
afslog: krb5_afslog(help.man.ac.uk): Server not found in Kerberos database
afslog: krb_afslog(help.man.ac.uk): Can't get inter-realm ticket granting
ticket (get_ad_tkt)
"
 What do I need to do to fix this please?

 Thanks, Sabah.

>> 
>> Dear All,
>>	 I would like to be able to do
>>	 kinit sabah@HEP.MAN.AC.UK
>>	 kinit sabah@CERN.CH
>>	 kinit sabah@SLAC.STANFORD.EDU
>> 
>>	 using the same terminal and get a tokens to all
>>	 the above sites.
>>	 At the moments I can not
>>	 What do I need to do to fix this please?
>>
>This will helpfully do the right thing.
>
>kinit --no-afslog sabah@HEP.MAN.AC.UK
>afslog -c help.man.ac.uk
>etc
>
>Love