Mathias Stearn
541aa57d8f
Revert "build index in system.user on insert SERVER-3572"
...
This reverts commit 3733a988c5 .
Currently only builds index if system.users already exists so doesn't work for
first user. Reverting since this is breaking buildbot.
2011-10-24 18:21:32 -04:00
Mathias Stearn
3733a988c5
build index in system.user on insert SERVER-3572
2011-10-24 15:07:24 -04:00
Eliot Horowitz
850392454d
centralize some security code
2011-09-18 01:32:47 -04:00
Kristina
51493ee642
don't allow access to internal user when running with --auth SERVER-3666
2011-08-23 12:08:37 -04:00
dwight
f95d8d5594
SERVER-3572 write lock for authenticate
2011-08-12 11:23:06 -04:00
gregs
cc43fc3e4a
change command api to allow command options SERVER-3405
2011-07-27 15:59:27 -04:00
Kristina
67945f8b00
split security into s-only, d-only, and common SERVER-921
2011-06-22 14:20:53 -04:00
Eliot Horowitz
c83b140fbe
store authed username in AuthenticationInfo SERVER-3074
2011-05-10 14:50:32 -04:00
Eliot Horowitz
69a40de4dc
cleaning AuthentiationInfo
2011-05-10 14:50:32 -04:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Kristina
fbf7b90a1e
rs auth
2010-12-27 16:07:33 -05:00
Dwight
0648d61288
move include to top of file from bottom
2010-11-04 09:00:39 -04:00
Dwight
bd28578ab8
stdafx->pch
2010-04-27 15:27:52 -04:00
Dwight
fb09b88240
rs
2010-04-20 12:29:00 -04:00
Eliot Horowitz
6d0bc9cc2f
fix auth recursive lock issue
2010-02-25 13:47:59 -05:00
Aaron
04ef27cb4f
SERVER-258 removing --authWriteOnly mode at Eliot's request
2010-02-08 16:52:41 -08:00
Eliot Horowitz
62f47cc910
cleaning up security - moving to centralized location
2010-02-04 10:49:19 -05:00
Aaron
6ba9f4c9bc
SERVER-258 add authWriteOnly mode
2010-01-26 17:28:49 -08:00
Eliot Horowitz
ea9ae0425f
security cleanup / segault fix in currentOp SERVER-384
2009-10-25 00:47:43 -04:00
Dwight
01f1f6915d
move CurOp into Client and make inprog handle multiple in progress
2009-10-16 15:36:34 -04:00
Eliot Horowitz
e48db1f60a
replace cerr with cout for all server files
2009-10-16 11:39:59 -04:00
Eliot Horowitz
409e8b6db4
setClient
2009-10-14 16:57:03 -04:00
Dwight
16f8b77c5e
move the var 'database' inside Client object
2009-10-14 14:34:38 -04:00
Eliot Horowitz
3b02b0e68c
dblock
2009-10-14 10:55:49 -04:00
Eliot Horowitz
25d2f88e1e
clean up MR temp tables SERVER-327
...
Client shutdown hook
2009-10-14 10:20:53 -04:00
Eliot Horowitz
49146962dc
spam
2009-10-13 16:44:47 -04:00
Dwight
2d934d1006
move curNs to Client object
2009-10-13 16:01:02 -04:00
Dwight
cf7a86e0f9
make lasterror threadsafe
...
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Dwight
ff54f16271
add Connection class
...
beginnings that is
2009-10-09 14:59:44 -04:00
Aaron
4b240b485a
md5 function no longer necessary
2009-01-23 11:38:26 -05:00
Aaron
4fd8be64c8
Fix dependency problem
2009-01-23 11:28:29 -05:00
dwight
0f9f3648b0
if no admin.system.users, allow access to everything from localhost
2009-01-21 17:26:16 -05:00
dwight
b97b97c3eb
getnonce now returns a prettier nonce string -- hex digits as a string instead of double as a string.
2009-01-21 15:06:13 -05:00
unknown
cb90806ce1
basic security
2009-01-18 20:31:33 -05:00
unknown
c0961eb637
suppress a couple compiler warnings
2009-01-18 19:13:12 -05:00
dwight
e1021ee8ab
authenticate command work
...
some dbhelpers additions
less verbose logging
2009-01-18 17:48:44 -05:00
dwight
f7dcfc6a2c
better randoms on OS X
2009-01-18 12:19:26 -05:00
Eliot Horowitz
ff99799a0c
moving some stuff to header file
2009-01-17 00:19:43 -05:00
Aaron
90d45238aa
Indent all lines within namespaces one level
2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de
Replace tab indentation with spaces
2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd
Put our code in 'mongo' namespace
2009-01-14 17:09:51 -05:00
Dwight
e586e5220a
a little work on securit
2009-01-09 18:15:30 -05:00
Dwight
3310cb2280
security beginnings
2009-01-07 18:47:11 -05:00