All, I found the mistake that I was doing --- I had changes the datatype from unsigned char <var name> [65536] to unsigned char * - but did not remove the "&" from the set_value function. So, another of my mistakes.....:( Regards, Arijit
-----Original Message----- From: Mukherjee, Arijit (Arijit) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 3:59 PM To: [EMAIL PROTECTED] Subject: RE: Anyway to get the char * contextEngineId back in manager Dave, Here's the values: First request that I send down does not contain any -E option - as this is expected to be returned by the proxy - so authoritative engineId should suffice. The value printed for char * (I put this in my mib module - getValue() function) is 800000020109840001 for contextEngineId. This value comes back to the manager as Hex-STRING: 78 50 40 08 12 00 00 00 01 00 00 00 02 00 00 00 C0 50 If I send this hex as -E I get No such object available. However, if I send 800000020109840001 as value for -E, I get correct response, Thanks and regards, Arijit -----Original Message----- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 2:07 PM To: Mukherjee, Arijit (Arijit) Cc: [EMAIL PROTECTED] Subject: Re: Anyway to get the char * contextEngineId back in manager > if I send > down the u_char * contextEngineId in the second request, it will be > converted to u_char* again - which will not be the same as the > contextEngineId that I want to send Why not? The octet values are the same in both cases, surely? If you've tried this and found it's not working, then maybe we'd do better discussing some real values. What is the exact -E parameter that you specified ? What is the contextEngineId octet string that is sent in the first request? What is the contextEngineId octet string that is sent in the second request? (Run the command with '-d' to dump the outgoing packet, or '-Ddump' to display a formatted version). Dave ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users