getting v3 user name and community string in mib2c code

This is a discussion on getting v3 user name and community string in mib2c code within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C59264.B4F55379 Content-Type: text/plain; charset="iso-8859-...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-27-2005
 
Posts: n/a
Default getting v3 user name and community string in mib2c code

This is a multi-part message in MIME format.

------_=_NextPart_001_01C59264.B4F55379
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


Hi

I have to get the V3 username of the manager who is sending =
get/set request for pariticular OID in mib2c generated code for that =
OID.

In case of V2 or V1 query i have to get the community string of =
the manager. Can i get this in the mib2c generated code.

In the mib2c code i have only the netsnmp_agent_request_info =
reference ..... Is i required the PDU structure reference to get the =
userid and community string?

by
Kanda

------_=_NextPart_001_01C59264.B4F55379
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7232.39">
<TITLE>getting v3 user name and community string in mib2c code</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=3D2>Hi<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ; I have to get the V3 =
username of the manager who is sending get/set request for pariticular =
OID in mib2c generated code for that OID.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In case of V2 or V1 query i =
have to get the community string of the manager. Can i get this in the =
mib2c generated code.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; In the mib2c code i have only the =
netsnmp_agent_request_info&nbsp; reference ..... Is i required the PDU =
structure reference to get the userid and community string?<BR>
<BR>
by<BR>
Kanda</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C59264.B4F55379--


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0