git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-11-30 12:36:59 +00:00
parent 430a437217
commit 508ef7a226

View File

@ -4134,7 +4134,6 @@ sub process_request {
my $pass=$bladepass;
my $ent;
if (defined($mpatab)) {
#($ent)=$mpatab->getNodeSpecAttribs($mpa, {username=>"USERID"},qw(username password));
my @user_array = $mpatab->getNodeAttribs($mpa, qw(username password));
foreach my $entry (@user_array) {
if ($entry->{username}) {
@ -4582,7 +4581,6 @@ sub passwd {
}
my $mpatab = xCAT::Table->new('mpa');
if ($mpatab) {
#my ($ent)=$mpatab->getNodeSpecAttribs($mpa, {username=>$user},qw(password));
my ($ent)=$mpatab->getAttribs({mpa=>$mpa, username=>$user},qw(password));
#my $oldpass = 'PASSW0RD';
#if (defined($ent->{password})) {$oldpass = $ent->{password}};