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:
		| @@ -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."); | ||||
|       } | ||||
|     } | ||||
| } | ||||
|  | ||||
| #----------------------------------------------------------------------------- | ||||
|   | ||||
		Reference in New Issue
	
	Block a user