1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
%% usm.conf
%% The data corresponds to the relevant parts of the usmUserTable
%% defined in SNMP-USER-BASED-SM-MIB.
%%
%% {EngineID, UserName, AuthP, AuthKey, PrivP, PrivKey}.
%% {EngineID, UserName, SecName, AuthP, AuthKey, PrivP, PrivKey}.
%%
%% The first case is when we have the identity-function (SecName = UserName)!
%%
%% EngineID -> string()
%% UserName -> string()
%% SecName -> string()
%% AuthP -> usmNoAuthProtocol | usmHMACSHAAuthProtocol |
%% usmHMACMD5AuthProtocol
%% AuthKey -> string() (The user's secret localized authentication key)
%% length depends on AuthP:
%% usmNoAuthProtocol - any
%% usmHMACSHAAuthProtocol - 16
%% usmHMACMD5AuthProtocol - 20
%% PrivP -> usmNoPrivProtocol | usmDESPrivProtocol
%% PrivKey -> string() (The user's secret localized encryption key)
%% length depends on PrivP:
%% usmNoPrivProtocol - any
%% usmDESPrivProtocol - 16
%%
%% example
{"manager engine", "initial", "initial",
usmNoAuthProtocol, "",
usmNoPrivProtocol, ""}.
|