Menu

#97 Can't authorize through openipmigui with authtype=default (2.0.35)

v1.0_(example)
closed
nobody
None
5
2024-08-12
2024-08-01
No

Hello everyone!
After update to 2.0.35 I noticed that I can't connect to ipmi server in openipmigui. Instead of it, I receive next errors:

"EINF: test_lan 0 ipmi_lan.c(got_rmcpp_open_session_rsp): Message data too short: 1
Connection error for test(0,0): OS: Invalid argument"

The problem is in parameter Authtype: default. If I use other value of this parameter(straight, md2, md5), I don't have any issues with connection.

Easy way to reproduce:

  1. Emulate a server:
    ipmi_sim -c /etc/ipmi/lan.conf -n
  2. Launch openipmigui on client and try to connect to server with parameters below:
Connection Type: lan
Address - Server IP
Port - 9000
Authtype - default
Username - ipmiusr
Password - test

All other parameters leave as defaults.

I didn't notice this problem in version 2.0.33.

Any thoughts on this?

Discussion

  • Corey Minyard

    Corey Minyard - 2024-08-01

    It's actually RMCP+ authorization that's broken. I added a fix for something and forgot to take that into account. I just pushed a change up to fix that, I'll get a release out.

     
    • Belaya Alena

      Belaya Alena - 2024-08-02

      Thanks!

       
  • Corey Minyard

    Corey Minyard - 2024-08-01

    BTW, are you using ipmi_sim for some production purpose?

     
    • Belaya Alena

      Belaya Alena - 2024-08-02

      No, I use it for testing

       
  • Corey Minyard

    Corey Minyard - 2024-08-02
    • status: open --> closed
     
  • Corey Minyard

    Corey Minyard - 2024-08-02

    Ok, thanks for reporting this. All should be good now.

     
    • Belaya Alena

      Belaya Alena - 2024-08-12

      Works fine, thanks a lot!

       

Log in to post a comment.

MongoDB Logo MongoDB