>>>>> On Thu, 4 Nov 2004 17:01:39 +0100 (MET), "Sven Jonas" <[EMAIL PROTECTED]> said:

Sven> Yes, i have looked at the snmpdemoapp.c. In this demo-App the
Sven> Security-Level is AUTHNOPRIV.  But i would like to use
Sven> AUTHPRIV. Which additionally functions do i have to call. Or do
Sven> i only have to set session.securityLevel =
Sven> SNMP_SEC_LEVEL_AUTHPRIV and thats it?

You simply do the same thing to fill in the session.securityPrivKey
(&Len) as you did to fill in the auth key.  Note that you still use
the same hash algorithm to generate the private key.

See snmplib/snmp_parse_args.c for how it handles converting passwords
to both auth and priv keys, for example.

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to