snmpv3 authentication failure
"Steve McCarthy" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have been having problems getting snmpv3 authentication of the passphrase to work, and I have seen a lot of emails from others with this problem. I have found that my problem was due to my snmp libraries being built for my Linux Motorola system with compilation set for little-endian instead of big-endian. This affects the authentication key calculations in MD5.c which uses #ifdef WORDS_BIGENDIAN to alter the byte reading of key data. How should I set this define in the build? Do I need to add -DWORDS_BIGENDIAN to the CFLAGS? I can see: ifdef CONFIG_CPU_BIG_ENDIAN NET_SNMP_CFG += --with-endianness=big else NET_SNMP_CFG += --with-endianness=little Endif In the top makefile. I can't see where CONFIG_CPU_BIG_ENDIAN is defined or whether it has any affect on the define for WORDS_BIGENDIAN. I am building my snmp within a uclinux distribution. The snmp is V5.2.1. Regards, Steve McCarthy ------------------------------------------------------------------------- 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/ _______________________________________________ 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