On Thu, 2006-01-19 at 15:10 +1000, Nigel Cunningham wrote:

> >        disableAuthorization yes
> >               will disable the above access control checks,
> >               and revert to the previous behaviour of
> >               accepting all incoming notifications.
> >
> 
> I tried this, and get:
> 
> trace: read_config(): read_config.c, 780:
> read_config: /etc/snmp/snmptrapd.conf:15 examining: disableAuthorization yes
> /etc/snmp/snmptrapd.conf: line 15: Warning: Unknown token: 
> disableAuthorization.

Hmmm....
I know this is probably an obvious question, but which version of
snmptrapd are you running with?   Your patched 5.2.2 or 5.3/5.3.0.1 ?

The disableAuthorization token was introduced with 5.3, and wouldn't
be recognised by earlier releases.  (Since they didn't do authorization
checks at all!)


I get the following:

    # cd net-snmp-5.3
    # ./apps/snmptrapd -f -Le
Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
NET-SNMP version 5.3
[^C]
2006-01-19 09:58:26 NET-SNMP version 5.3 Stopped.
Stopping snmptrapd
    # vi /usr/local/etc/snmp/snmptrapd.conf
                [add "disableAuthorization yes"]

    # sudo ./apps/snmptrapd -f -Le
NET-SNMP version 5.3
[^C]
2006-01-19 09:58:30 NET-SNMP version 5.3 Stopped.



Dave


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to