snmptrapd - Authentication failed

Dave C <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKVp00Upxc_L5KHTCg-mTNfae9bNhevbc4_64gj7J=uWoO+R=Q@mail.gmail.com>
Please help - going crazy.

I have a server and a remote agent. The agent is generating v3 traps that
are delivered back to the server. For a long while I had used some random
credentials (that worked), now I when I change them I get "Authentication
failed" in snmptrapd service.

my client snmpd.conf
trapsess -v3 -e 0x000db93a2f84 -u UDART -l authPriv -a SHA -A
"aZdkhBVhRLl9IybmpLG2zmpGFe9tyM" -x AES -X "4kk1YP7j6dpdEyCwveuEjocOHSHYWm"
172.19.10.26
#trapsess -v3 -e 0x000db93a2f84 -u  ZDART   -l authPriv -a SHA -A
"aZzzzBVhRLl9IybmpLG2zmpGFe9tyM" -x AES -X "4zzzYP7j6dpdEyCwveuEjocOHSHYWm"
172.19.10.26


my server snmptrapd.conf
createUser  -e 0x000db93a2f84  UDART SHA "aZdkhBVhRLl9IybmpLG2zmpGFe9tyM"
AES "4kk1YP7j6dpdEyCwveuEjocOHSHYWm"
authUser log,execute,net UDART
#createUser  -e 0x000db93a2f84  ZDART SHA "aZzzzBVhRLl9IybmpLG2zmpGFe9tyM"
AES "4zzzYP7j6dpdEyCwveuEjocOHSHYWm"
#authUser log,execute,net ZDART

With the UDART lines everything works.
With the ZDART lines uncommented and the UDART ones commented and after
restarting both services I get...

May 13 11:52:16 WIK5 snmptrapd[22267]: Authentication failed for WARTCO

If I revert the lines back and restart everything is good again.

Any idea what I am doing wrong. It seems like it must be fairly obvious but
I can just not see it.


Thanks

Dave

_______________________________________________
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.