How does netsnmp store the user Info

sanjaykumar <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi All,

I am trying to create the "USER" in net-snmp 5.4.2.1

I have a doubt "Like How does user details will store".

Does it store in persistence memory or as a link list

or link list will store in persistence memory ?

Does it require to call "read_configs()" function init time.

I am facing the following CRASH problem :

***************************************************************************************

#0 0x00000000 in ?? ()

#1 0x081f1ce8 in EVP_DigestInit (ctx=0x83dc5e8, type=0xb7ed71a0) at
digest.c:67

#2 0x0816f346 in sc_hash (hashtype=0x82af820, hashtypelen=10,
buf=0x83d7390 "\200", buf_len=13, MAC=0xb4c23c84 " q5·8",

MAC_len=0xb4c24c84) at scapi.c:470

#3 0x08199b55 in hash_engineID (engineID=0x83d7390 "\200",
engineID_len=13) at lcd_time.c:520

#4 0x08199a7a in search_enginetime_list (engineID=0x83d7390 "\200",
engineID_len=13) at lcd_time.c:457

#5 0x0819993d in set_enginetime (engineID=0x83d7390 "\200",
engineID_len=13, engineboot=1, engine_time=0, authenticated=0)

at lcd_time.c:380

#6 0x0818d314 in usm_read_user (

line=0xb4c25a1d
"0x4d54412d50726f762d30303a30463a46453a31323a41343a383700
0x4d54412d50726f762d30303a30463a46453a31323a41343a383700 NULL
.1.3.6.1.6.3.10.1.1.2 0x44af1ea1a10e42fa79da562e4034b90c
.1.3.6.1.6.3.10.1.2.2 0x"...) at snmpusm.c:3575

#7 0x0818d510 in usm_parse_config_usmUser (token=0xb4c255f4 "usmUser",

line=0xb4c259fc "1 3 0x80001f88801f10557f4bcbb849
0x4d54412d50726f762d30303a30463a46453a31323a41343a383700
0x4d54412d50726f762d30303a30463a46453a31323a41343a383700 NULL
.1.3.6.1.6.3.10.1.1.2 0x44af1ea1a10e42fa79da562e"...) at snmpusm.c:3631

#8 0x0816cc94 in run_config_handler (lptr=0x8315f70, token=0xb4c255f4
"usmUser",

cptr=0xb4c259fc "1 3 0x80001f88801f10557f4bcbb849
0x4d54412d50726f762d30303a30463a46453a31323a41343a383700
0x4d54412d50726f762d30303a30463a46453a31323a41343a383700 NULL
.1.3.6.1.6.3.10.1.1.2 0x44af1ea1a10e42fa79da562e"..., when=0)

at read_config.c:522

#9 0x0816d3ea in read_config (filename=0xb4c25e94
"/var/net-snmp/snmpd.conf", line_handler=0x830dff8, when=0)

at read_config.c:812

#10 0x0816da1c in read_config_files_in_path (path=0x838f3d8
"/var/net-snmp", ctmp=0x8314380, when=0,

perspath=0x838f3d8 "/var/net-snmp", persfile=0x0) at
read_config.c:1134

#11 0x0816db6f in read_config_files (when=0) at read_config.c:1218

#12 0x0816d584 in read_configs () at
read_config.c:880

#13 0x08179795 in init_snmp (type=0x827af6c "snmpd") at snmp_api.c:853

#14 0x080e5777 in snmpd (args=0x830d3e8) at snmpd.c:1015

#15 0xb7d731b3 in start_thread () from /lib/libpthread.so.0

#16 0xb7cf803e in clone () from /lib/libc.so.6

***************************************************************************************

Thanks and Regards,

Sanjay Kumar

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.