-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.19.2
-
Component/s: Compass, Connectivity
-
Environment:Windows
-
Iteration Tarantula, Iteration Urial, Iteration Vicuña
Use case: Non-Atlas SRV with per-DB auth.
In this case, the self constructed TXT records do no contain the authSource parameter, but is supplied on the connecting URI.
For Compass, we need to specify this as the authentication database. Compass errors out with an authentication error, and the mongod.log clearly indicates a malformed auth request suggesting Compass is ignoring the authdb when SRV is enabled "UserNotFound: Could not find user user@admin" where admin is not expected.
Additionally, the SRV documentation states:
You can override the options specified in a TXT record by passing the option in the query string. In the following example, the query string has provided an override for the authSource option configured in the TXT record of the DNS entry above.
- depends on
-
COMPASS-3991 Update to node driver 3.3.5
- Closed
- related to
-
COMPASS-3096 authentication database picked up from SRV URL incorrectly
- Closed