Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[CONJ-1021] correcting windows GSSAPI test
  • Loading branch information
rusher committed Nov 7, 2022
1 parent 16b80b5 commit eadfa63
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/test/java/org/mariadb/jdbc/GssapiAuthenticationTest.java
Expand Up @@ -21,10 +21,7 @@ public void nativePassword() throws Exception {
// eat
}
System.out.println("user name:" + System.getProperty("user.name"));
stmt.execute(
"CREATE USER "
+ System.getProperty("user.name")
+ " IDENTIFIED VIA gssapi as 'GROUP:Administrators'");
stmt.execute("CREATE USER " + System.getProperty("user.name") + " IDENTIFIED VIA gssapi");
stmt.execute("GRANT ALL PRIVILEGES ON *.* TO " + System.getProperty("user.name"));

String gssapiUrl = String.format("jdbc:mariadb://%s:%s/%s", hostname, port, database);
Expand Down

0 comments on commit eadfa63

Please sign in to comment.