Hi.

On Thursday 19 January 2006 20:05, Dave Shield wrote:
> 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.
>

# ./apps/snmptrapd -f -Le
/etc/snmp/snmptrapd.conf: line 15: Warning: Unknown token: 
disableAuthorization.
Warning: no access control information configured.
  It's unlikely this agent can serve any useful purpose in this state.
 Please configure the snmptrapd.conf file for this agent.
Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
NET-SNMP version 5.3.0.1

I'll see if I can figure this out myself, since I need to get it done today.

Regards,

Nigel
-- 
Nigel, Michelle and Alisdair Cunningham
72 Brownie Street, Jamboree Heights
Brisbane 4074, Australia
+61 (7) 3279 6728


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