On 14/04/2008, Taymour A. El Erian <[EMAIL PROTECTED]> wrote:
>   I am using freeradius with snmp on 64 bit, I noticed in the debug mode
>  the following
>
>  smux: [smux_open_process] smux peer passwd: password
>  smux: [smux_open_process] len 0, type 4
>
>  Notice that the len in second line is 0, is this normal ?
>  shouldn't it be 8 ?

I don't know whether this is normal or not, but no - it shouldn't be 8.
'len' refers to the input buffer being parsed (i.e. the incoming SMUX
request), and indicates the length still remaining to be processed.
It is *not* the length of the token that has just been parsed.

If you look at the full debug output, you should see a
sequence of 'smux_open_process' messages, with the len
value going down each time.


>. What comes later is authentication failed.

You may need to run the agent under a debugger, and step
through the routine 'smux_auth_peer', to check what OIDs
and passwords are being checked.
   (Or else add some debugging code to this routine,
and re-compile).

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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

Reply via email to