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

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2012-03-27 15:16:10 +00:00
parent a2d14e557e
commit 97f5def116

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.");
}
}
}
#-----------------------------------------------------------------------------