Add additional LL setup for authentication when running db2sqlsetup -S -o

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-03-27 15:17:07 +00:00
parent db43394393
commit 0377e50e05

View File

@ -1759,6 +1759,15 @@ sub setupODBC
{
xCAT::MsgUtils->message("E", " $cmd failed.");
}
if ($::SERVER) { # if on the DB2 Server
# set authorization to client so LoadL id can connect
$cmd = "db2 update dbm cfg using authentication client immediate";
$rc = &rundb2cmd($cmd);
if ($rc != 0)
{
xCAT::MsgUtils->message("SI", " $cmd warning.");
}
}
}
#-----------------------------------------------------------------------------