[COMPASS-4382] Kerberos port numbers change between Connection String and Fill In Individual Fields Created: 03/Aug/20 Updated: 27/Oct/23 Resolved: 07/Feb/22 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass, Connectivity |
| Affects Version/s: | 1.21.2 |
| Fix Version/s: | 1.31.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Felicia Hsieh | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
macOS 10.14.6 |
||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Epic Link: | COMPASS-4948 | ||||
| Documentation Changes: | Not Needed | ||||
| Description |
|
"Fill in Individual Fields" mode Add a Hostname, say "a.b1.net" Change the port number to a non-default port, say "33333". Choose Kerberos Authentication Add Principal, of "test@ANYCO.COM" Add Service Name of "mongodb" Choose Read Preference of "Primary Preferred" Now, generate connection string by clicking "Paste connection string" mongodb://test%40ANYCO.COM:null@a.b1.net:27017,a.b2.net:27017,a.b3.net:33333/test?gssapiServiceName=mongodb&authMechanism=GSSAPI&readPreference=primaryPreferred&authSource=%24external&appname=MongoDB%20Compass&ssl=false&authSource=$external
The port number is inconsistent. Both "33333" and "27017" are displayed Click "Fill in connection fields individually". Notice the user-entered port number "33333" did not persist. "27017" is the displayed port number. Click "Paste connection string" and change the port number to "1111". Click "Fill in connection fields individually". Notice the user-entered port number "1111" did not persist. The original "33333" is displayed. |
| Comments |
| Comment by Rhys Howell [ 07/Feb/22 ] |
|
This is fixed with the new connection form. We now let users edit multiple hosts in the form which is reflected in the connection string. |
| Comment by Massimiliano Marcon [ 12/Aug/20 ] |
|
We will try to improve the multiple host/multiple port handling logic. |