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

never mind (Re: tcp_server problem?)



Solved the problem by addina principal "test/snoopy.citi.umich.edu".
Thanks. 

---------------- 

Hello, 

I am having a problem running tcp_server and tcp_client of
Heimdal-0.3b on Linux 2.2. 


1. I set up a Kerberos realm, SNOOPY.CITI.UMICH.EDU.  I can kinit,
klist, and kdestroy succesfully.  


2. I added the following entry in /etc/services. 
test			7050/tcp		# test


3. I added a service name "test" as follows: 
kadmin> add -r test@SNOOPY.CITI.UMICH.EDU
Max ticket life [1 day]:
Max renewable life [1 week]:
Principal expiration time [never]:
Password expiration time [never]:
Attributes []:
kadmin> ext test@SNOOPY.CITI.UMICH.EDU    
kadmin> exit


4. I then ran tcp_server and tcp_client

[root@snoopy test]# ./tcp_server 
tcp_server: socket: Invalid argument
tcp_server: krb5_recvauth: End of file

itoi@snoopy :) ./tcp_client snoopy.citi.umich.edu
tcp_client: krb5_sendauth: Server not found in Kerberos database


I am not sure why tcp_client says the server ("test", I believe) is
not found ... Any idea?

Any advice shall be greatly appreciated.

Thanks. 

--
/--------------------\
|              	     |
| ##		     |
| ##  Naomaru Itoi   |
|                    |
\--------------------/
CITI Smartcard Group
http://www-personal.engin.umich.edu/~itoi
http://www.citi.umich.edu