openbmc / phosphor-host-ipmid

dbus-based ipmid for host-endpoint IPMI commands
Apache License 2.0
36 stars 73 forks source link

ipmi PAM session authentication reported as dropbear service #180

Open jk-ozlabs opened 2 years ago

jk-ozlabs commented 2 years ago

For some reason, the ipmi the user authentication code is using dropbear as the PAM service name:

https://github.com/openbmc/phosphor-host-ipmid/blob/29b9f31d55cff3cebd7f95ab05dc8fc8acfb2828/user_channel/user_mgmt.cpp#L720

... which makes logs for IPMI authenciation issues super confusing.

jk-ozlabs commented 2 years ago

Proposed fix in https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-host-ipmid/+/47378