[6020] in Kerberos

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

rlogin don't run, help me please!!

daemon@ATHENA.MIT.EDU (Laureandi gruppo reti)
Wed Oct 18 18:34:00 1995

Date: Wed, 18 Oct 95 18:48:42 +0100
From: laurea@deis93.cineca.it (Laureandi gruppo reti)
To: kerberos@MIT.EDU

Hello
 I am working with kerberosIV. My kerberized rlogin don't run!! Help me!!
I have the host deis90.cineca.it. I am working with SunOS 4.1.2.
deis90#simple_client
s_sock.sin_addr is 137.204.57.90
Local Kerberos realm is cineca.it
Kerberos realm of deis90 is cineca.it
Realm: cineca.it
Realm: cineca.it
krbtgt cineca.it cineca.it laurea 
Ticket->length = 56
Issue date: 814037166
Authent->length = 103
idl = 32, tl = 56
lrealm is cineca.it
krb_udp_port is 750
Getting host entry for deis90.cineca.it...Got it.
Sending message to 137.204.57.90...Sent
Waiting for reply...received packet from 137.204.57.90
Received it
Clen is 96
sample deis90 cineca.it laurea 
Ticket->length = 56
Issue date: 814037180
Authent->length = 103
idl = 32, tl = 56
Got credentials for sample.
Sent authentication data: 103 bytes
krb_get_cred returned 0: OK
cksum = 2049009444krb_mk_safe returned 45
Sent checksummed message: 45 bytes
krb_mk_priv returned 38
Sent encrypted message: 38 bytes
deis90#simple_server
socket has port # 5600
Received 103 bytes
krb_rd_req returned 0: OK
Got authentication info from laurea@cineca.it
&c_sock.sin_addr is 137.204.57.90
Received 45 bytes
calc_cksum = 52016, received cksum = 52000krb_rd_safe returned 0: OK
Safe message is: hi, Jennifer!
Received 38 bytes
delta_t = 0krb_rd_priv returned 0: OK
Decrypted message is: hi, Jennifer!
This is the entry in inetd.conf:
sample stream tcp nowait root /home/laurea/franchini/appl/sample/sample_server 
sample_server
This is the database:
test test 255 1 1 0 cfff2beb a6e1c2a9 200001010459 199510121610 * *
rcmd kerberos 255 1 1 0 87b3d74a c11dfc8b 200001010459 199510171335 * *
rcmd deis90 255 1 2 0 aa622c25 4804b220 200001010459 199510181653 * *
laurea * 255 1 6 0 55d18776 e97edea 200001010459 199510101644 laurea *
changepw kerberos 255 1 1 0 1ba39115 8cf90dc8 200001010459 199509261617 db_creation *
stefano * 60 1 2 0 71467950 1384f797 199603242259 199509261649 stefano *
laurea admin 255 1 1 0 21efa8e6 85863cd6 200001010459 199510031717 * *
K M 255 1 1 0 fa6ccd93 4b568a6a 200001010459 199509261617 db_creation *
sample deis90 255 1 3 0 cbfcdb5b 76ade59f 200001010459 199510181344 * *
rcmd deis91 255 1 1 0 f33294d9 8a1d0411 200001010459 199510021503 * *
default * 255 1 1 0 0 0 200001010459 199509261617 db_creation *
laurea root 255 1 1 0 57e0bf71 4097ce95 200001010459 199510031653 * *
krbtgt cineca.it 255 1 1 0 4b9a04f2 7a89306d 200001010459 199509261617 db_creation *
This is /etc/srvtab file:
rcmddeis90cineca.it$js}sampledeis90cineca.it`$
Iyd
This is the output from klist:
Oct 18 14:34:15  Oct 18 22:34:15  krbtgt.cineca.it@cineca.it
Oct 18 14:40:23  Oct 18 22:35:23  sample.deis90@cineca.it
Oct 18 15:04:46  Oct 18 22:34:46  rcmd.deis90@cineca.it
But rlogin don't run!!!!!!!!!!!
deis90#rlogin deis90
Realm: cineca.it
rcmd deis90 cineca.it laurea 
Ticket->length = 48
Issue date: 814025086
Authent->length = 95
idl = 32, tl = 48
Kerberos rlogin failed: Incorrect network address (krb_rd_req)
Password: 
lrealm is cineca.it
krb_udp_port is 750
Getting host entry for deis90.cineca.it...Got it.
Sending message to 137.204.57.90...Sent
Waiting for reply...received packet from 137.204.57.90
Received it
Clen is 104
swapped UID's 0 and 1005
swapped UID's 1005 and 0
Last login: Wed Oct 18 15:04:58 from deis90
Connection closed.
Look at kerberos.log file:
18-Oct-95 17:39:29 APPL Request laurea.@cineca.it on 137.204.57.90 for sample.deis90
18-Oct-95 18:00:11 APPL Request laurea.@cineca.it on 137.204.57.90 for rcmd.deis90
18-Oct-95 18:00:12 ticket->length: 48
18-Oct-95 18:00:12 authent->length: 95
18-Oct-95 18:00:12 Ticket Contents.
18-Oct-95 18:00:12  Aname:   laurea@cineca.it
18-Oct-95 18:00:12  Service: rcmd.deis90
18-Oct-95 18:00:12     sname=rcmd, sinst=deis90
18-Oct-95 18:00:12 About to decrypt authenticator
18-Oct-95 18:00:12 Done.
18-Oct-95 18:00:12 Pname:   laurea laurea
18-Oct-95 18:00:12 Realm:   cineca.it cineca.it
18-Oct-95 18:00:12 Address: -134220400 -1983104678
18-Oct-95 18:00:26 Initial ticket request Host: 137.204.57.90 User: "laurea" ""
18-Oct-95 18:02:16 ticket->length: 48
18-Oct-95 18:02:16 authent->length: 95
18-Oct-95 18:02:16 Ticket Contents.
18-Oct-95 18:02:16  Aname:   laurea@cineca.it
18-Oct-95 18:02:16  Service: rcmd.deis90
18-Oct-95 18:02:16     sname=rcmd, sinst=deis90
18-Oct-95 18:02:16 About to decrypt authenticator
18-Oct-95 18:02:16 Done.
18-Oct-95 18:02:16 Pname:   laurea laurea
18-Oct-95 18:02:16 Realm:   cineca.it cineca.it
18-Oct-95 18:02:16 Address: -134220400 -1983104678
18-Oct-95 18:02:29 Initial ticket request Host: 137.204.57.90 User: "laurea" ""
Could someone help me? Thanks in advance.
                                            Stefano Franchini
                                       DEIS University of Bologna

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