-Fix issue where BMC issued error may be overwritten by less informative error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
a8855876bb
commit
c1ff510fe4
@ -4163,17 +4163,19 @@ sub activatesession {
|
||||
$error = "Requested maximum privilege level exceeds user and/of channel privilege limit";
|
||||
}
|
||||
|
||||
$auth = $response[37];
|
||||
if($auth == 0x00) {
|
||||
$authoffset=16;
|
||||
}
|
||||
elsif($auth == 0x02) {
|
||||
}
|
||||
elsif($auth == 0x04) {
|
||||
}
|
||||
else {
|
||||
$error = "activate session requested unsupported Authentication Type Support";
|
||||
}
|
||||
unless ($error) {
|
||||
$auth = $response[37];
|
||||
if($auth == 0x00) {
|
||||
$authoffset=16;
|
||||
}
|
||||
elsif($auth == 0x02) {
|
||||
}
|
||||
elsif($auth == 0x04) {
|
||||
}
|
||||
else {
|
||||
$error = "activate session requested unsupported Authentication Type Support";
|
||||
}
|
||||
}
|
||||
|
||||
###check
|
||||
@session_id = @response[38,39,40,41];
|
||||
|
Loading…
Reference in New Issue
Block a user