Dave Shield wrote:
> On 15/04/2008, Taymour A. El Erian <[EMAIL PROTECTED]> wrote:
>   
>>  I have printed the password in the log and it is printed ok but the len
>>  is always 0.
>>     
>
> Please read my reply.
> I have just explained that 'len' is the length of the incoming SMUX
> packet waiting to be processed.   It is *NOT* the length of the password.
>
>    If the password is the last element (or the last element of this chunk),
> then yes - len will always be 0.
>
>
>   
This message was sent before I read your reply (actually I sent it last 
night)
>>       I went and modified the code of smux_auth_peer to just
>>  return 1 and of course this made the authentication succeed. I guess the
>>  problem actually is in the string comparison in this function.
>>     
>
> It's most likely in the list of OIDs and passwords that are being checked.
>
>   
>> Please  help as am not so familiar with snmp programming.
>>     
>
> There's nothing particularly specific to SNMP about this bit.
> It's simply a matter of checking exactly what is being compared.
> Please find attached a patch (completely untested!), which ought
> to provide some useful debugging information.
>   

I will use the patch and let you know
> Dave
>
> PS:  Please could you fix your mail system.
>         It seemed to reject my earlier response as "unsolicited"!
>   
>   
This system is not under my control,  I will work with the administrator.
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
>   


-- 
Taymour A El Erian
System Division Manager
RHCE, LPIC, CCNA, MCSE, CNA
TE Data
E-mail: [EMAIL PROTECTED]
Web:     www.tedata.net
Tel:    +(202)-33320700
Fax:    +(202)-33320800
Ext:    1101



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