--===============2057522254==
Content-Type: multipart/alternative; boundary="0-1223352796-1203346062=:51712"

--0-1223352796-1203346062=:51712
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,=0A =0AI have been trying to set up a snmpV3 user configuration. So a qu=
estion you have no doubt been asked millions of times before.=0A =0AI have =
added snmp master agent code to my embedded code, so I have not extended th=
e snmp agent, nor am I using agentx. I run init_agent, my MIB inits, init_s=
nmp, init_master_agent, snmp_store and then loop running agent_check_and_pr=
ocess to process snmp requests. This works fine.=0AAs our setup has a read-=
only file system apart from one directory, I have used set_configuration_di=
rectory and set_persistent_directory to set up snmpd.conf files.=0A =0AI th=
en added rwuser steve1 noauth and rwuser steve3 auth to my snmpd.conf file =
that also had rocommunity and rwcommunity settings. I then added createUser=
stevev1 and createUser stevev3 MD5 "my_password" DES to my persistent snmp=
d.conf file.=0A =0AWhen I run my agent I see the persistent createUser line=
s disappear and the encrypted data appear as expected.=0A =0AIf I do a =0As=
nmpget =E2=80=93v 3 =E2=80=93u steve1 =E2=80=93l noAuthNoPriv =E2=80=93A my=
_password =E2=80=93a MD5 targetIP Objectname =0Aon the noauth user, I succe=
ssfully get the response data. =0A =0AIf I do a =0Asnmpget =E2=80=93v 3 =E2=
=80=93u steve3 =E2=80=93l noAuthNoPriv =E2=80=93A my_password =E2=80=93a MD=
5 targetIP Objectname =0Aon the auth user I get AuthorizationError (access =
denied to the object)=0AOR=0Asnmpget =E2=80=93v 3 =E2=80=93u steve3 =E2=80=
=93l AuthNoPriv =E2=80=93A my_password =E2=80=93a MD5 targetIP Objectname =
=0Aon the auth user I get Authentication failure (incorrect password, commu=
nity e.t.c)=0A =0AIf I do a =0Asnmpget =E2=80=93v 3 =E2=80=93u steve =E2=80=
=93l noAuthNoPriv =E2=80=93A my_password =E2=80=93a MD5 targetIP Objectname=
=0AI get Unknown user name as expected.=0A =0ASo I am a little confused, m=
y user names are obviously being registered/remembered, but my password app=
arently is not.=0ADo you know why this might be happening from the limited =
info I have given above?=0A =0AIn my standalone design, do I also need to r=
un some init functions for user data mib modules?=0A =0ARegards,=0ASteve=0A=
=0A=0A __________________________________________________ _________=0AS=
upport the World Aids Awareness campaign this month with Yahoo! For Good ht=
tp://uk.promotions.yahoo.com/forgood/
--0-1223352796-1203346062=:51712
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

ad>
font-size:12pt">
=0A

=
Hi,

=0A

0cm 0cm 0pt"> mfficeffice" />> >

=0A

lass=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">I have =
been trying to set up a snmpV3 user configuration. So a question you have n=
o doubt been asked millions of times before.

=0A

mal style=3D"MARGIN: 0cm 0cm 0pt">>  o>

=0A

Calibri>I have added snmp master agent code to my embedded code, so I have =
not extended the snmp agent, nor am I using agentx. I run init_agent, my MI=
B inits, init_snmp, init_master_agent, snmp_store and then loop running age=
nt_check_and_process to process snmp requests. This works fine.

=
=0A

=
As our setup has a read-only file system apart from one directory, I have u=
sed set_configuration_directory and set_persistent_directory to set up snmp=
d.conf files.

=0A

t">> >

=0A

style=3D"MARGIN: 0cm 0cm 0pt">I then added rwuser ste=
ve1 noauth and rwuser steve3 auth to my snmpd.conf file that also had rocom=
munity and rwcommunity settings. I then added createUser stevev1 and create=
User stevev3 MD5 "my_password" DES to my persistent snmpd.conf file.
=

=0A

> =3DCalibri> >

=0A

0cm 0cm 0pt">When I run my agent I see the persistent =
createUser lines disappear and the encrypted data appear as expected.
>

=0A

>
=3DCalibri> 
>

=0A

0cm 0cm 0pt">If I do a

=0A

mal style=3D"MARGIN: 0cm 0cm 0pt">snmpget =E2=80=93v 3=
=E2=80=93u steve1 =E2=80=93l noAuthNoPriv =E2=80=93A my_password =E2=80=93=
a MD5 targetIP Objectname

=0A

N: 0cm 0cm 0pt">on the noauth user, I successfully get=
the response data.

=0A

0cm 0pt">> >

=0A

oNormal style=3D"MARGIN: 0cm 0cm 0pt">If I do a
>

=0A


ibri>snmpget =E2=80=93v 3 =E2=80=93u steve3 =E2=80=93l noAuthNoPriv =E2=80=
=93A my_password =E2=80=93a MD5 targetIP Objectname

=0A

=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">on the auth=
user I get AuthorizationError (access denied to the object)

=0A<=
P class=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">OR FONT>

=0A

=3DCalibri>snmpget =E2=80=93v 3 =E2=80=93u steve3 =E2=80=93l AuthNoPriv =E2=
=80=93A my_password =E2=80=93a MD5 targetIP Objectname

=0A

ss=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">on the au=
th user I get Authentication failure (incorrect password, community e.t.c)<=
/FONT>

=0A

> face=3DCalibri> >

=0A

IN: 0cm 0cm 0pt">If I do a

=0A

oNormal style=3D"MARGIN: 0cm 0cm 0pt">snmpget =E2=80=
=93v 3 =E2=80=93u steve =E2=80=93l noAuthNoPriv =E2=80=93A my_password =E2=
=80=93a MD5 targetIP Objectname

=0A

"MARGIN: 0cm 0cm 0pt">I get Unknown user name as expec=
ted.

=0A

><=
FONT face=3DCalibri> 
>

=0A

"MARGIN: 0cm 0cm 0pt">So I am a little confused, my us=
er names are obviously being registered/remembered, but my password apparen=
tly is not.

=0A


>Do you know why this might be happening from the limi=
ted info I have given above?

=0A

GIN: 0cm 0cm 0pt">> >

=0A

ass=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">In my st=
andalone design, do I also need to run some init functions for user data mi=
b modules?

=0A

=
> >

=0A

yle=3D"MARGIN: 0cm 0cm 0pt">Regards,

=0A

lass=3DMsoNormal style=3D"MARGIN: 0cm 0cm 0pt">Steve FONT>


=0A
Sent from /us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=3D=
51949/*http://uk.docs.yahoo.com/mail/winter07.html">Yahoo! - a smar=
ter inbox.
--0-1223352796-1203346062=:51712--


--===============2057522254==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============2057522254==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============2057522254==--