summaryrefslogtreecommitdiff
path: root/jstests/ssl
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-02-06 15:14:33 -0500
committerSara Golemon <sara.golemon@mongodb.com>2018-02-15 13:24:05 -0500
commitc201eec1ccd7959b0192adeb0d0a458a7f9eb9e7 (patch)
treeec6abe699cbd36efa7cac71bf303e0a6e9a1202b /jstests/ssl
parentc0ef290b7e6cea5fc32a33c8027e3f4fc50aea73 (diff)
downloadmongo-c201eec1ccd7959b0192adeb0d0a458a7f9eb9e7.tar.gz
SERVER-32974 Enhance createUser/updateUser to support SCRAM-SHA-256
Diffstat (limited to 'jstests/ssl')
-rw-r--r--jstests/ssl/x509_client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/ssl/x509_client.js b/jstests/ssl/x509_client.js
index ec65d163a01..e6d6899c07e 100644
--- a/jstests/ssl/x509_client.js
+++ b/jstests/ssl/x509_client.js
@@ -10,7 +10,7 @@ conn.getDB('admin').createUser({user: "root", pwd: "pass", roles: ["root"]});
conn.getDB('admin').auth("root", "pass");
var cmdOut = conn.getDB('admin').runCommand({getParameter: 1, authenticationMechanisms: 1});
if (cmdOut.ok) {
- TestData.authMechanism = "MONGODB-X509"; // SERVER-10353
+ TestData.authMechanism = "MONGODB-X509,SCRAM-SHA-1"; // SERVER-10353
}
conn.getDB('admin').dropAllUsers();
conn.getDB('admin').logout();