logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

RE: Running (embed) snmpd on a device.: msg#00213

Subject: RE: Running (embed) snmpd on a device.
OK when i did walk on SNMP-VIEW-BASED-ACM-MIB::snmpVacmMIB(on snmpVacmMIB
node) it returns me 0(vacmViewSpinLock.0 = 0). And every time the control
goes into the following code segment of function "vacm_in_view"

/* allow running without snmpd.conf */
        if (sp == NULL && !vacm_is_configured()) {
            DEBUGMSGTL(("mibII/vacm_vars", "vacm_in_view: accepted with no 
com2sec
entries\n"));
            switch (pdu->command) {
            case SNMP_MSG_GET:
            case SNMP_MSG_GETNEXT:
            case SNMP_MSG_GETBULK:
                return 0;
            default:
                return 1;
            }

Guru


-----Original Message-----
From: Dave Shield [mailto:D.T.Shield@xxxxxxxxxxxxx]
Sent: Tuesday, July 22, 2003 3:04 PM
To: Gurusidhesh G Hiremath
Cc: net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: Running (embed) snmpd on a device.


> And yes the control goes till function "vacm_in_view" and returns AUTH
FAIL.
> It works fine with i386.

Hmmm....

Two possibilities spring to mind.
Either the agent isn't picking up the access control settings properly,
or something is going wrong inside 'vacm_in_view'.

Let's investigate the first one first.
Try doing a walk on SNMP-VIEW-BASED-ACM-MIB::snmpVacmMIB
and let us see what it returns....

Dave



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0


<Prev in Thread] Current Thread [Next in Thread>