History log of /openbmc/ipmitool/lib/ipmi_user.c (Results 1 – 25 of 28)
Revision Date Author Comments
# 3412d861 10-Sep-2015 Alexander Rube <alexander.rube@advantech.eu>

ID:391 - changing data_len from 17 to 16 according to ipmi spec 22.29, first byte is completion code


# a98eedb2 10-Sep-2015 Zdenek Styblik <stybla@turnovfree.net>

Remove trailing white-spaces in ipmi_user.c


# 2d79e69f 25-Jul-2015 Zdenek Styblik <stybla@turnovfree.net>

Merge commit '2f5789750183d4ef8be125b8cb32019441dd0530'

Return codes of functions should be either used or evaluated - always. This
merge is necessary for shell scripting to, eg. signal

Merge commit '2f5789750183d4ef8be125b8cb32019441dd0530'

Return codes of functions should be either used or evaluated - always. This
merge is necessary for shell scripting to, eg. signal there was an error during
execution.

show more ...


# 80814275 30-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

_ipmi_set_user_password() - fix missing intf parameter in documentation


# 8f1f31cf 30-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Remove ipmi_user_set_password()

Commit removes ipmi_user_set_password() as it's not being used anywhere.


# 66eee40d 30-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Hook functions in ipmi_user to _ipmi_set_user_password()

Commit hooks functions in ipmi_user to _ipmi_set_user_password() instead of
ipmi_user_set_password().


# a6d47ceb 30-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Add _ipmi_set_user_password() function

Commit adds _ipmi_set_user_password() which is implementation of (22.30) Set
User Command. Function doesn't print anything on stdout/stderr.


# 21151953 30-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Move #define from ipmi_user.c to ipmi_user.h

Commit moves defines of Set User Password operations to header file.


# 12b85b3c 16-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Init user_access_t struct in ipmi_user_priv()


# 708be8bc 09-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Hook ipmi_user_priv() to _ipmi_set_user_access()

Commit hooks ipmi_user_priv() to _ipmi_set_user_access(). Later got extended for
'change_priv_limit_only', because of the former.
Com

Hook ipmi_user_priv() to _ipmi_set_user_access()

Commit hooks ipmi_user_priv() to _ipmi_set_user_access(). Later got extended for
'change_priv_limit_only', because of the former.
Commit removes ipmi_user_set_userpriv(), because it's not used anywhere.

show more ...


# d6deeb26 09-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Hook ipmi_print_user_list() and friends to _ipmi_* functions

Commit hooks ipmi_print_user_list() and related functions to new _ipmi_*
functions. It also removes old/unused functions and

Hook ipmi_print_user_list() and friends to _ipmi_* functions

Commit hooks ipmi_print_user_list() and related functions to new _ipmi_*
functions. It also removes old/unused functions and user_access_rsp struct.

show more ...


# fb36c693 08-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

ipmi_print_user_summary() to utilize _ipmi_get_user_access()

Commit changes ipmi_print_user_summary() to utilize _ipmi_get_user_access() and
user_access_t instead of user_access_rsp.


# d099dca9 08-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Fix/remove pointer cast in _ipmi_set_user_access()

Commit removes invalid pointer in _ipmi_set_user_access().


# 31f9d4c6 08-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Add _ipmi_get_user_access() and _ipmi_set_user_access()

Commit adds reusable functions _ipmi_get_user_access() and
_ipmi_set_user_access().


# 6d1afbf3 08-Jan-2015 Zdenek Styblik <stybla@turnovfree.net>

Add _ipmi_get_user_name()

Commit adds function _ipmi_get_user_name() which does nothing but fetches User
Name as per 22.29. There are no print-outs when the called.


# c97dbd34 30-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Fix eval logic in ipmi_user_priv()

Commit fixes bug in eval logic of user input sanitization, resp. && -> ||. Also,
priv_level and user_id variables are initialized to 0 now(CID#1261318).


# 140add9d 22-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Fix user input validation in Channel and User sub-commands

Commit fixes validation of user input in Channel and User sub-commands.


# ad77da20 20-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

ID:349 - user set password - add option to choose 16/20 byte password

Commit adds option to 'user set password' to choose whether password should be
stored as 16 byte or 20 byte. From no

ID:349 - user set password - add option to choose 16/20 byte password

Commit adds option to 'user set password' to choose whether password should be
stored as 16 byte or 20 byte. From now on, it's possible to store even 5 bytes
long password as 20 byte password which should make it useless for IPMI v1.5
auth/sessions.

show more ...


# 6e6a04f9 20-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Make user User Privilege Limit is within range

Despite the fact we could leave this up to IPMI stack, we won't do that.
Therefore, is_ipmi_user_priv_limit() is added and user provided va

Make user User Privilege Limit is within range

Despite the fact we could leave this up to IPMI stack, we won't do that.
Therefore, is_ipmi_user_priv_limit() is added and user provided value checked.

show more ...


# befb2149 20-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Create ask_password() and re-use code

Commit add function ask_password() which leads to code re-usability and shedding
couple lines of otherwise redundant code.


# 1d1ce49b 19-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Fix 'user help' output

Commit fixes padding of 'user help' output. Also, list of expected values of
privilege leves have been added.


# 50bd7d01 19-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Don't use tmp variable since it's not necessary in ipmi_user_test()


# 4d3decc4 18-Dec-2014 Zdenek Styblik <stybla@turnovfree.net>

Split ipmi_user_main() into smaller functions

Commit splits ipmi_user_main() into smaller functions. Hopefully, this will be
better than giant main() function.


# f8ce85ee 09-Dec-2014 Zdenek Styblik <zdenek.styblik@icflix.com>

Clenaup formatting in ipmi_user_main()


# 2aa5d8c9 09-Dec-2014 Zdenek Styblik <zdenek.styblik@icflix.com>

Code cleanup in ipmi_user_main()

This is just a tip of an iceberg, really.


12