Hello.

I don't manage to make the simple demo app work!
I can compile it, but it doesn't generate the key for autentication (MD5).

Here is my "config":
¤ I work under windows XP, with visual studio 2003 (C++)

¤ I installed the net-snmp-5.2.2-1.win32.exe
¤ I configured snmpd for a MD5 autenticated user. The command line tool snmpget 
works with this user.
¤ I include net-snmp-config.h from the sources of net-snmp (/win32/net-snmp/)   
I tried with the
net-snmp-config.h file installed by net-snmp-5.2.2-1.win32.exe but it doesn't 
work.

But the generateKu function in snmpdemoapp.c doesn't calculate the key. The 
securityAuthKey field of session
is a 32 blank-bytes (0) array after the function.
And the securityAuthKeyLen field of session is set from 32 to 0xffffffff ...

I tried a lot of things, like using or not openssl (I shouldn't need it, since 
I just need MD5 authentication
and no encryption), use internet MD5, and so on, but...

Can someone explain me a good configuration for working with visual studio 2003 
gui, ie the right #define,
what lib include and so on.

Thanks a lot in advance and  sorry for my poor english. I'm fench ;-)







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to