31 Commits

Author SHA1 Message Date
Zdenek Styblik
29d82210b4 Change return value of ipmi_get_channel_medium() in 'lib/ipmi_channel.c'
Return 0 instead of (-1) since ipmi_get_channel_medium() is supposed to return
uint8_t.
2012-02-08 13:40:51 +00:00
Zdenek Styblik
8a6343ff0d Fixes two problems in 'lib/ipmi_channel.c':
* str2uint() used, but should have been str2uchar()
* can't pass address of bitfield; variable used instead
2012-02-06 20:36:06 +00:00
Zdenek Styblik
a1dcd5790a Fixes ID:3485004 - 'lib/ipmi_channel.c' - misuse of strtol()
Replaces calls to strtol() with str2uchar() calls and adds error messages if
invalid input is given.
2012-02-06 15:50:13 +00:00
Zdenek Styblik
a2485a3b5e Fixes couple indentation issues in 'lib/ipmi_channel.c'. 2012-02-06 13:38:16 +00:00
Jean-Michel Audet
5d21a9d8a8 - Fix bug with Function Get Channel Cipher Suites command when more than 1 page used. 2006-10-06 20:33:42 +00:00
Duncan Laurie
eab4dfe679 fix display of auth enables 2006-09-01 17:47:50 +00:00
Duncan Laurie
c65b206144 fix gcc4 compile warnings 2006-03-19 20:54:44 +00:00
Duncan Laurie
58ea8803f9 remove nuclear clause from license 2006-03-19 17:59:39 +00:00
Jordan Hargrave
ae1fe95cb1 Cleared set_access structure; contained garbage data 2005-12-09 19:57:48 +00:00
Duncan Laurie
9dd625a215 don't print access info for non-lan channels 2005-09-02 17:57:05 +00:00
Duncan Laurie
4e9fb18ef6 eliminate extra noise 2005-08-23 20:51:53 +00:00
Jeremy Ellington
312b564091 A clarification (E347) in the IPMI v2 errata document (mark II) makes it
pretty clear that listing algorithms by cipher suite does not list all
algorithms, but lists supported algothms *grouped* by cipher suite.  Since
both views contain the same information, we will just support one in
ipmitool -- supported algorithms listed by cipher suite view.
2005-06-22 22:12:59 +00:00
Duncan Laurie
47e42d3f32 fix compile errors when -Wall is specified 2005-03-17 03:28:53 +00:00
Jeremy Ellington
6d1f8521e6 Removed calls to ipmi_intf_session_set_privlvl(intf, IPMI_SESSION_PRIV_ADMIN)
in the sub-commands.  We are ADMIN by default.
2005-03-09 20:29:35 +00:00
Jeremy Ellington
674eb706a3 Fix bug in argument processing for sol channel 2005-02-17 22:35:52 +00:00
Jeremy Ellington
cd5ee61d23 Added implementation for "channel getciphers" which implements the
command Get Channel Cipher Suites.
2005-02-17 22:26:08 +00:00
Duncan Laurie
014040610f use uint{8,16,32}_t instead of "unsigned {char,short,int|long}" 2005-01-07 02:05:49 +00:00
Duncan Laurie
dbbeee1b6f update error handling for "session" and "user" commands
check channel medium type before attempting to do lan operations on it
2005-01-06 21:17:52 +00:00
Duncan Laurie
4db9739e17 massive rework of many subsytems
handle errors better and return status codes correctly
2005-01-06 17:48:24 +00:00
Duncan Laurie
1cf302c89e move valstr defines 2004-11-17 23:10:56 +00:00
Duncan Laurie
99320869d2 move include 2004-11-11 20:49:43 +00:00
Duncan Laurie
94245169c1 clean up some strval defines that were causing problems with -Wall 2004-09-02 21:30:41 +00:00
Duncan Laurie
6da8379fe4 fix lots of little errors that show up with -Werror -Wall 2004-08-31 23:52:59 +00:00
Fredrik Öhrn
a0b29c3f59 Enhance user command and rename it to getaccess (again).
Implement setaccess command (again).
Remove annoying printbufs in authcap and info.
2004-06-03 16:35:47 +00:00
Jeremy Ellington
6ca108ef78 returning error codes on error 2004-05-28 20:19:13 +00:00
Duncan Laurie
f30ef24600 add support for ipmiv2 with lanplus interface
from Jeremy Ellington
2004-05-25 20:53:51 +00:00
Fredrik Öhrn
5750269c28 Enhance user command and rename it to getaccess.
Implement setaccess command.
2004-05-11 21:06:47 +00:00
Duncan Laurie
a1a7a13e56 add support for "channel user" command 2004-04-15 20:25:24 +00:00
Duncan Laurie
a6793b9430 fix impi -> ipmi typo,
add config.h so WORDS_BIGENDIAN is defined on solaris/sparc
2004-04-02 03:31:06 +00:00
Duncan Laurie
6bc047da44 add privilege level list to channel help 2004-03-27 06:12:18 +00:00
Fredrik Öhrn
05344c9a45 Create the channel command and add authcap subcommand.
Move the chaninfo command to the info subcommand.
from Jeremy Ellington
2004-03-17 22:57:55 +00:00