Re: [Freeipmi-devel] Re: bmc-config in C

2006-07-07 Thread Al Chu
One other thought. We should also test to see if the output of Password20 makes sense, since it won't on many IPMI 1.5 machines. I think it would be sufficient to run the Set user Password command and try to test a dummy 20 byte password. If the result comes back invalid input (I think

Re: [Freeipmi-devel] Re: bmc-config in C

2006-07-06 Thread Al Chu
I can't recall if you can checkout k_r or k_g keys. If we can't, then the above also holds for k_r and k_g. I double checked, and it seems you can checkout k_r and k_g, so the previous comments I made don't apply to k_r and k_g. Al -- Albert Chu [EMAIL PROTECTED] 925-422-5311 Computer

Re: [Freeipmi-devel] Re: bmc-config in C

2006-07-06 Thread Al Chu
On Thu, 2006-07-06 at 09:02 -0700, Anand Avati wrote: Every keyvalue's -validate () is called in the 1st pass. there i could set two global variables passwd_is_specified and passwd20_is_specified and check for the other not being set and set this. Yeah, I think that would work. Just comment