Re: Scotty 2.1.0 authenticated USEC problem

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Wed, 10 Jul 1996 14:53:31 +0200

"Everett W. Jacobs" <jacobs@nosc.mil> wrote:

> I am having problems getting authenticated USEC exchanges between a
> scotty 2.1.0 manager and agent to work. It seems like the
> discovery of agentID is working ok, but as best I can tell, the
> agent never figures out what password (and associated key) to use.
> I could not find any info describing any extra stuff one might need
> to do to get the scotty2.1.0 implementation of USEC sessions
> working, so I'm just doing the obvious things.

Below is a patch for tnmSnmpAgent.c (version 2.1.0) that hopefully
solves this problem.

Juergen

*** tnmSnmpAgent.c.orig Thu Jun 6 17:10:29 1996
--- tnmSnmpAgent.c Fri Jul 5 02:19:23 1996
***************
*** 408,413 ****
--- 408,414 ----
}
session->agentTime = time((time_t *) NULL);
session->agentBoots = session->agentTime - 820454400;
+ Tnm_SnmpUsecSetAgentID(session);
#endif

strcpy(buffer, "scotty agent");