Project

Profile

Help

Story #1602

closed

Add delegatedAuthentication for mongo

Added by jon@soh.re about 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Mongo supports setting up users in one database, for control of another, and my dba decided to do this.

To connect from CLI I have to add --authenticationDatabase admin to my connection scheme.

Currently in pulp, you may only authenticate against the database name provided in /etc/pulp/server.conf. It would be great if there was an optional setting for # authDatabase:

It appears pymongo allows this with the uri string method. http://api.mongodb.org/python/current/examples/authentication.html#delegated-authentication

?authSource=source_database, if not specified it defaults to the databasename

https://docs.mongodb.org/manual/reference/connection-string/#authentication-options

Let me know if this needs any more details.

Actions #1

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #2

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #3

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF