[SERVER-34260] Ability to reuse a single TCP connection from mongod to the LDAP server Created: 30/Mar/18 Updated: 29/Oct/23 Resolved: 23/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking, Security |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.9, 4.1.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrey Brindeyev | Assignee: | Jonathan Reams |
| Resolution: | Fixed | Votes: | 3 |
| Labels: | platforms_security | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||||||||||||||||||||||||||||||||||
| Sprint: | Security 2018-12-17, Security 2018-12-31, Security 2019-01-14, Security 2019-01-28 | ||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||||||||||||||||||||||||||
| Description |
|
When enabling LDAP in the typical setting, mongod process is using the three separate TCP connections to the LDAP server(s) for every db.auth() command: I am wondering if we could create a single TCP connection during the step 1 or 2 and reuse it for the next steps without reestablishing connection every time for the particular thread (==session) in the server? |
| Comments |
| Comment by Githook User [ 29/Mar/19 ] |
|
Author: {'name': 'Jonathan Reams', 'username': 'jbreams', 'email': 'jbreams@mongodb.com'}Message: (cherry picked from commit c1b72f76bee602cd915bc6ea91bdcef10bd0c707) |
| Comment by Githook User [ 29/Mar/19 ] |
|
Author: {'email': 'jbreams@mongodb.com', 'name': 'Jonathan Reams', 'username': 'jbreams'}Message: (cherry picked from commit fd984a5a7de6c1474ad5b18f48146bf7e5e48959) |
| Comment by Githook User [ 23/Jan/19 ] |
|
Author: {'username': 'jbreams', 'email': 'jbreams@mongodb.com', 'name': 'Jonathan Reams'}Message: |
| Comment by Githook User [ 23/Jan/19 ] |
|
Author: {'email': 'jbreams@mongodb.com', 'name': 'Jonathan Reams', 'username': 'jbreams'}Message: |