SNMPv3 can snmpwalk with noAuthNoPriv for user with authPriv
<p>I defined in my model an snmp v3 user <code>user1</code> with authPriv.
It has auth password and priv password.</p>

<p>I succeed <code>snmpwalk</code> on my model with the following line:</p>

<pre><code>snmpwalk -v3 -u user1 -l authPriv -a SHA -A 12345678 -x DES -X 123456789 localhost:7999 1.3.6.1.4.1.89898
</code></pre>

<p>The problem is that I also succeed <code>snmpwalk</code> without auto and priv:</p>

<pre><code>snmpwalk -v3 -u user1 -l noAuthNoPriv localhost:7999 1.3.6.1.4.1.89898
</code></pre>

<p>I couldn't understand why the <code>snmpwalk</code> without password works.</p>

<p>I want to be able to define a user with <code>authPriv</code> and with <code>noAuthNoPriv</code>, and when someone tries to <code>snmpwalk</code> without the correct password of the <code>authPriv</code> user he should fails.</p>

<p>When I use</p>

<pre><code>snmpwalk -v3 -u user1 -l authPriv ...
</code></pre>

<p>with incorrect password there's an access denied.</p>

<p>This is my <code>vacmAccessTable</code>:</p>

<pre><code>&lt;vacmAccessTable&gt;

&lt;!-- The group 'all-rights' has full access to everything --&gt;

&lt;vacmAccessEntry&gt;
  &lt;vacmGroupName&gt;all-rights&lt;/vacmGroupName&gt;
  &lt;vacmAccessContextPrefix&gt;&lt;/vacmAccessContextPrefix&gt;
  &lt;vacmAccessSecurityModel&gt;3&lt;/vacmAccessSecurityModel&gt;
  &lt;vacmAccessSecurityLevel&gt;noAuthNoPriv&lt;/vacmAccessSecurityLevel&gt;
  &lt;vacmAccessContextMatch&gt;exact&lt;/vacmAccessContextMatch&gt;
  &lt;vacmAccessReadViewName&gt;internet&lt;/vacmAccessReadViewName&gt;
  &lt;vacmAccessWriteViewName&gt;internet&lt;/vacmAccessWriteViewName&gt;
  &lt;vacmAccessNotifyViewName&gt;internet&lt;/vacmAccessNotifyViewName&gt;
&lt;/vacmAccessEntry&gt;

&lt;vacmAccessEntry&gt;
  &lt;vacmGroupName&gt;all-rights&lt;/vacmGroupName&gt;
  &lt;vacmAccessContextPrefix&gt;&lt;/vacmAccessContextPrefix&gt;
  &lt;vacmAccessSecurityModel&gt;3&lt;/vacmAccessSecurityModel&gt;
  &lt;vacmAccessSecurityLevel&gt;authNoPriv&lt;/vacmAccessSecurityLevel&gt;
  &lt;vacmAccessContextMatch&gt;exact&lt;/vacmAccessContextMatch&gt;
  &lt;vacmAccessReadViewName&gt;internet&lt;/vacmAccessReadViewName&gt;
  &lt;vacmAccessWriteViewName&gt;internet&lt;/vacmAccessWriteViewName&gt;
  &lt;vacmAccessNotifyViewName&gt;internet&lt;/vacmAccessNotifyViewName&gt;
&lt;/vacmAccessEntry&gt;

&lt;vacmAccessEntry&gt;
&lt;vacmGroupName&gt;all-rights&lt;/vacmGroupName&gt;
  &lt;vacmAccessContextPrefix&gt;&lt;/vacmAccessContextPrefix&gt;
  &lt;vacmAccessSecurityModel&gt;3&lt;/vacmAccessSecurityModel&gt;
  &lt;vacmAccessSecurityLevel&gt;authPriv&lt;/vacmAccessSecurityLevel&gt;
  &lt;vacmAccessContextMatch&gt;exact&lt;/vacmAccessContextMatch&gt;
  &lt;vacmAccessReadViewName&gt;internet&lt;/vacmAccessReadViewName&gt;
  &lt;vacmAccessWriteViewName&gt;internet&lt;/vacmAccessWriteViewName&gt;
  &lt;vacmAccessNotifyViewName&gt;internet&lt;/vacmAccessNotifyViewName&gt;
&lt;/vacmAccessEntry&gt;
</code></pre>

<p></p>