#
# (C) Tenable Network Security
#
#

if ( ! defined_func("bn_random") ) exit(0);
if(description)
{
 script_id(13039);
 script_version ("$Revision: 1.1 $");
 script_bugtraq_id(2540);
 name["english"] = "Solaris 2.6 (i386) : 107299-03";
 
 script_name(english:name["english"]);
 
 desc["english"] = "
The remote host is missing Sun Security Patch number 107299-03
( ntpdate and xntpd patch).

You should install this patch for your system to be up-to-date.

Solution : http://sunsolve.sun.com/pub-cgi/findPatch.pl?patchId=107299&rev=03
Risk Factor : High";


 script_description(english:desc["english"]);
 
 summary["english"] = "Check for patch 107299-03"; 
 script_summary(english:summary["english"]);
 
 script_category(ACT_GATHER_INFO);
 
 script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
 family["english"] = "Solaris Local Security Checks";
 script_family(english:family["english"]);
 
 script_dependencies("ssh_get_info.nasl");
 script_require_keys("Host/Solaris/showrev");
 exit(0);
}



include("solaris.inc");

e =  solaris_check_patch(release:"5.6_x86", arch:"i386", patch:"107299-03", obsoleted_by:"", package:"SUNWntpu");

if ( e < 0 ) security_hole(0);
else if ( e > 0 )
{
	set_kb_item(name:"BID-2540", value:TRUE);
}
