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:
parent
db43394393
commit
0377e50e05
@ -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.");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user