Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add authMechanism to authenticate() #118

Merged
merged 11 commits into from
Apr 25, 2019
Merged

add authMechanism to authenticate() #118

merged 11 commits into from
Apr 25, 2019

Conversation

kkellerlbl
Copy link
Member

pymongo by default does not use MONGODB-CR with mongod 3.x servers, which causes problems with instances which have been upgraded from 2.6 to 3.0 but have not updated to SCRAM yet. Add a config option to specify an authMechanism if needed.

Checking for the PID file causes container restarts to break.  It's not needed in containers anyway so just don't bother.
Added comments only
Added mongodb-authMechanism key to config file.
Bumped version.
Added mongodb-authMechanism to config.
Added mechanism to authenticate().
ini keys are always lowercased
ini stanza names are lowercase (should also fix the template file key but for now it is harmless)
add authMechanism to authenticate()
@kkellerlbl kkellerlbl requested a review from sychan April 25, 2019 17:51
@coveralls
Copy link

Coverage Status

Coverage remained the same at 80.208% when pulling d35b4b4 on authMechanism into d1746bc on develop.

@kkellerlbl kkellerlbl merged commit 306f2b0 into develop Apr 25, 2019
@kkellerlbl kkellerlbl deleted the authMechanism branch July 10, 2020 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants