Mon 26 Jun 2006 07:51:51 PM UTC, original submission:
Originally feature request #103662, however with more and more types of hardware, it is really now a bug.
Here's the history:
bmc-config's checkout/commit code should loop and output/input user sections based on the number of users available to be configured on the BMC. This can be read from the Get User Access command. Right now, user1 through user4 are hardcoded.
--
I checked with Get User Access command in the spec. My understanding is, this command gives details (max_channel_user_ids, current_channel_user_ids and current_channel_fixed_user_names) for a given channel number. I feel, this command may not help for bmc user counts probing. I don't see any other commands support this in the spec.
-- Bala
--
Get User Access command returns supported-user-count irrespective of the user-id input argument. This can be used in bmc-config utility. How ever the current approach of try=and-fail is simple and works!. We will revisit this command after 0.2.0 release.
--
Anand Babu
--
> My understanding is, this command gives details
> (max_channel_user_ids, current_channel_user_ids and
> current_channel_fixed_user_names) for a given channel number.
By probing the max_channel_user_ids for the LAN and Serial Channels, shouldn't we get the maximum number of possible users the BMC can support?
Even if this isn't the case, one can loop w/ increasing user_ids until a simple IPMI command such as "Get User Name" fails.
Al
|