ID: 12903 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: SNMP related Operating System: Win NT PHP Version: 4.0.6 New Comment:
No feedback was provided for this bug, so it is being suspended. If you are able to provide the information that was requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-01-11 17:00:40] [EMAIL PROTECTED] Can this be reproduced with 4.1.1? ------------------------------------------------------------------------ [2001-08-23 05:11:51] [EMAIL PROTECTED] when you're watching the snmp.c code, the PB is easy to see : Warning::st=3->snmpwalkoid. 326 if (st >= 2 && st != 11) { 327 if (vars->type != SNMP_ENDOFMIBVIEW && 328 vars->type != SNMP_NOSUCHOBJECT && vars->type != SNMP_NOSUCHINSTANCE) { 329 memmove((char *)name, (char *)vars->name,vars->name_length * sizeof(oid)); 330 name_length = vars->name_length; 331 keepwalking = 1; 332 } 333 } 334 } 335 } else { 336 if (st != 2 || response->errstat != SNMP_ERR_NOSUCHNAME) { 337 php_error(E_WARNING,"Error in packet.\nReason: %s\n", snmp_errstring(response->errstat)); 338 if (response->errstat == SNMP_ERR_NOSUCHNAME) { the end MIB condition is only right for SNMPv2c and SNMPv3, but it doesn't work with a SNMPv1 agent which return noSuchName at the end of the MIB I could change the code, but I want to work on a NT station. How can I change .dll? ------------------------------------------------------------------------ [2001-08-22 11:46:47] [EMAIL PROTECTED] snmpwalkoid doesn't see the end of the MIB. If GET NEXT on the last element, the SNMPv1 Agent return noSuchName error (cf RFC1157), and snmpwalkoid stop with an error. snmpwalk run properly on a SNMPv1 Agent, so it is strange. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12903&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]