[5813] in Kerberos

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

Re: sserver: recvauth failed--Software caused connection abort

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Fri Sep 1 10:28:40 1995

From: epeisach@MIT.EDU
Date: Fri, 1 Sep 1995 10:13:43 -0400
To: skendric@fhcrc.org
Cc: kerberos@MIT.EDU


You did not specify if sserver was started out of inetd or
standalone. Based on your example, I assume that it is inetd.

There was a bug in the shipped sample server that prevents it from
working out of inetd. If this is the bug I think it is, make sure that
you have the sock=0 line in server.c: (about line 173...)


	/*
	 * To verify authenticity, we need to know the address of the
	 * client.
	 */
	if (getpeername(0, (struct sockaddr *)&peername, &namelen) < 0) {
	    syslog(LOG_ERR, "getpeername: %m");
	    exit(1);
	}
+	sock = 0;
    }





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