m31000| Sun May 20 23:45:55 [conn1] couldn't find database [foo] in config db
m31000| Sun May 20 23:45:55 [conn1] put [foo] on: d1:d1/bs-linux64con:31100,bs-linux64con:31101,bs-linux64con:31102
"error { \"$err\" : \"unauthorized for db:foo level: 1\", \"code\" : 15845 }"
cmd try
"error { \"$err\" : \"unrecognized command: listdbs\", \"code\" : 13390 }"
insert try 1
m31000| Sun May 20 23:45:55 [conn1] authenticate db: test { authenticate: 1.0, user: "bar", nonce: "669204d4e192c9a5", key: "524efffcddfccdc66fc12b4c0b8f24a4" }
m31100| Sun May 20 23:45:55 [initandlisten] connection accepted from 10.96.131.47:57760 #14 (10 connections now open)
m31100| Sun May 20 23:45:55 [conn14] authenticate db: local { authenticate: 1, nonce: "57604bf52490d78f", user: "__system", key: "a6874928b084451f23053dd5596fdef9" }
m31101| Sun May 20 23:45:55 [initandlisten] connection accepted from 10.96.131.47:50309 #8 (7 connections now open)
m31101| Sun May 20 23:45:55 [conn8] authenticate db: local { authenticate: 1, nonce: "950ab64b18a75cad", user: "__system", key: "2418fff035cfecf456efc02b61fa5f79" }
m31101| Sun May 20 23:45:55 [FileAllocator] allocating new datafile /data/db/d1-1/test.0, filling with zeroes...
m31101| Sun May 20 23:45:55 [FileAllocator] done allocating datafile /data/db/d1-1/test.0, size: 16MB, took 0.002 secs
m31101| Sun May 20 23:45:55 [rsSync] build index test.foo { _id: 1 }
m31101| Sun May 20 23:45:55 [rsSync] build index done. scanned 0 total records. 0 secs
m31101| Sun May 20 23:45:55 [rsSync] info: creating collection test.foo on add index
m31101| Sun May 20 23:45:55 [rsSync] build index test.foo { x: 1.0 }
m31101| Sun May 20 23:45:55 [rsSync] build index done. scanned 0 total records. 0 secs
m31101| Sun May 20 23:45:55 [rsSyncNotifier] replset setting oplog notifier to bs-linux64con:31100
m31100| Sun May 20 23:45:55 [initandlisten] connection accepted from 10.96.131.47:57762 #15 (11 connections now open)
m31100| Sun May 20 23:45:55 [conn15] authenticate db: local { authenticate: 1, nonce: "f4eba18ab67cf114", user: "__system", key: "6f60946aae3c12fe1d17262e689a31e0" }
m31000| Sun May 20 23:45:55 [conn1] auth: couldn't find user bar, test.system.users
{ "ok" : 0, "errmsg" : "auth fails" }
Sun May 20 23:45:55 uncaught exception: error { "$err" : "unauthorized for db:test level: 1", "code" : 15845 }
failed to load: /data/slave/Linux_64bit_concurrency/mongo/jstests/sharding/auth.js