summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-07-09 17:14:23 -0400
committerSpencer T Brody <spencer@10gen.com>2013-07-11 14:15:30 -0400
commit1d73fc675b2f437c05e48e136e7871bde128a26a (patch)
tree288f27e8fb3bc2cab227305fa756a59da7379b5e
parent0d5e34388ccfb8ebac716ff6eb4877cdb287f24c (diff)
downloadmongo-1d73fc675b2f437c05e48e136e7871bde128a26a.tar.gz
SERVER-10145 In auth passthrough suite add user to mongos instead of directly to config servers
-rw-r--r--src/mongo/shell/shardingtest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js
index 5efe1ea7961..f90653bc465 100644
--- a/src/mongo/shell/shardingtest.js
+++ b/src/mongo/shell/shardingtest.js
@@ -400,7 +400,7 @@ ShardingTest = function( testName , numShards , verboseLevel , numMongos , other
}
if (jsTestOptions().keyFile && !keyFile) {
- jsTest.addAuth( this._configConnection );
+ jsTest.addAuth( this.s );
jsTest.authenticate( this._configConnection );
jsTest.authenticateNodes( this._configServers );
jsTest.authenticateNodes( this._mongos );