Commit graph

29 commits

Author SHA1 Message Date
gyurco
960fcaf67a mongodb_user: properly guard user adding with try...except (#2582)
The user adding part is not properly guarded by a try...except
block, so pymongo exceptions can escape from it.
Also there's a double-guarding where roles are given.

Fixes: #2575
2016-07-21 08:23:05 +02:00
gyurco
ed74ab8caf mongodb_user: fix ssl_cert_reqs exception (#2573)
If ssl is not enabled, but ssl_cert_reqs is passed to pymongo, an
exception occures.

Fixes: #2571
2016-07-20 07:58:35 +02:00
Lujeni
e032aeaedd Support the ssl_cert_reqs directive (#1122) 2016-06-13 13:36:57 -04:00
Sergei Antipov
33281cc93e Fixed problem with pymongo compatibility (#1249)
* Fixed problem with pymongo compatibility

Fixes #11
2016-05-16 11:25:52 -04:00
René Moser
83a835925e Merge pull request #1737 from Dufgui/devel
fix #1731 : mongodb_user always says changed
2016-04-01 00:24:22 +02:00
René Moser
d501e34694 Merge pull request #1750 from Dufgui/mongodb_users_check_mode_1747
#1747 mongodb_user support check mode
2016-03-23 09:07:15 +01:00
Toshio Kuratomi
d5030ae555 Merge pull request #1875 from mscherer/fix_mongo_user
Fix ssl to be a bool, required to fix #1732
2016-03-20 07:10:47 -07:00
Michael Scherer
27b3b43c52 Fix ssl to be a bool, required to fix #1732
May also fix #1869
2016-03-19 23:59:34 +01:00
René Moser
bf268e23c0 Merge pull request #1628 from lsb/patch-1
Update mongodb_user.py
2016-03-19 00:45:24 +01:00
Marcos Diez
7ec5209e18 mongodb_user.py: changes on comments 2016-03-16 22:07:58 +02:00
Marcos Diez
5ff957322a mongodb_user: fix checking if the roles of an oplog reader user changed 2016-03-16 21:59:24 +02:00
Marcos Diez
72b1ad46b9 Updated database/misc/mongodb_user.py, the docs now explain how to add a read user to the local/oplog db 2016-03-02 12:04:28 +02:00
Guillaume Dufour
8c3aeac4a3 fix #1747 mongodb_user support check mode 2016-02-28 08:34:12 +01:00
Guillaume Dufour
c6ebfa5480 use python fallback to avoid error on old mongo version without roles 2016-02-28 08:05:20 +01:00
Guillaume Dufour
29daa6ffe0 avoid problem with old mongo version without roles 2016-02-26 15:08:04 +01:00
Guillaume Dufour
edbad80123 fix #1731 : mongodb_user always says changed 2016-02-25 11:01:34 +01:00
lsb
1898ffc3cc Update mongodb_user.py
Typo
2016-02-05 17:10:44 -08:00
Josh Gachnang
8d866669bb Fix mongodb_user docs typo
Bob's last name is Belcher: http://bobs-burgers.wikia.com/wiki/Bob_Belcher.

These docs made me chuckle, so thanks :)
2015-12-01 11:16:29 -06:00
Constantine Romanov
781043f511 Update mongodb_user.py
version_added: "2.0"
2015-09-03 22:02:36 +03:00
Constantine Romanov
fded415ff2 Update mongodb_user.py
Auth source support
2015-09-03 13:20:54 +03:00
Matt Martz
9a36454329 replace tabs with spaces in mongodb_user.py 2015-06-30 13:46:45 -05:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Solomon Gifford
d1c68eea9f #364 Added support for update_password=dict(default="always", choices=["always", "on_create"]) 2015-06-16 11:33:09 -04:00
Solomon Gifford
62a7742481 fixes issue #362 2015-06-16 11:33:09 -04:00
Solomon Gifford
3ea8ac0e13 \login_password with missing login_user not caught #363 2015-06-16 11:33:09 -04:00
Brian Coca
bceeba224f fix doc parsing by correctly quoting author 2015-05-14 09:19:24 -04:00
Greg DeKoenigsberg
cdc51aa078 Adding author's github id 2015-05-13 14:45:05 -04:00
Brian Coca
edadf46686 changed to make name primary over user, as examples and keep consistent 2015-02-16 10:00:31 -05:00
Michael DeHaan
ad181b7aa9 Categorize some modules. 2014-11-05 16:11:23 -05:00
Renamed from database/mongodb_user.py (Browse further)