Skip to content

Commit

Permalink
Merge pull request #6 from iExecBlockchainComputing/fix
Browse files Browse the repository at this point in the history
Fix on client authentication
  • Loading branch information
jeremyjams authored Jan 4, 2018
2 parents e140702 + 92cb3ce commit 461c832
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ show warnings;
-- accessrights = 1792 = 0x700
-- ---------------------------------------------------------------------------
insert into users (uid,login,password,fname,lname,email,rights,owneruid,accessrights,userRightId)
values ("@ADMINUID@","@DBADMINLOGIN@","@DBADMINPASSWORD@", "@DBADMINFNAME@", "@DBADMINLNAME@",
values ("@ADMINUID@","@XWADMINLOGIN@","@XWADMINPASSWORD@", "@DBADMINFNAME@", "@DBADMINLNAME@",
"@DBADMINEMAIL@","SUPER_USER","@ADMINUID@","1792",
(select userRightId from userRights where userRightName = 'SUPER_USER'));

Expand All @@ -964,7 +964,7 @@ grant all privileges on * to @DBUSERLOGIN@@localhost identified by '

grant all privileges on * to @DBUSERLOGIN@@localhost.localdomain identified by '@DBUSERPASSWORD@' with grant option;

grant all privileges on * to @DBUSERLOGIN@@'@XWHOST@' identified by '@DBUSERPASSWORD@' with grant option;
-- grant all privileges on * to @DBUSERLOGIN@@'@XWHOST@' identified by '@DBUSERPASSWORD@' with grant option;

-- set password for @DBUSERLOGIN@@localhost = old_password ('@DBUSERPASSWORD@');

Expand Down

0 comments on commit 461c832

Please sign in to comment.