[SERVER-60456] LDAPBindOptions go out of scope during heavily delayed binds on Windows Created: 04/Oct/21  Updated: 29/Oct/23  Resolved: 05/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 5.1.0
Fix Version/s: 5.2.0, 4.4.11, 4.2.18, 5.0.4, 5.1.0-rc1

Type: Bug Priority: Major - P3
Reporter: Varun Ravichandran Assignee: Varun Ravichandran
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: Windows
Backport Requested:
v5.1, v5.0, v4.4, v4.2
Sprint: Security 2021-10-18
Participants:
Linked BF Score: 170

 Description   

As discussed in BF-22829, the ldap_timeout_pooled.js test uncovered lifetime issues with LDAPBindOptions on `WindowsLDAPConnections`. To prevent these kinds of issues from occurring, we should adopt a similar solution as the one taken in SERVER-45309 for `OpenLDAPConnection`. 



 Comments   
Comment by Githook User [ 21/Oct/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-60456: Store LDAP bind options on Windows LDAP connection objects

(cherry picked from commit f73c8a8e0fc63b29ff3ff5fb416d8bf4fb31ba30)
(cherry picked from commit ffe2872892ca15a6d519597b0b5f3cb7266a14cb)
(cherry picked from commit 276a241ff2d0d693f7980acca0bea0879a3d94cf)
(cherry picked from commit acd1e289e1a3b730a4e3363f111a96508861fd89)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/7cb2e59d0c7a1c775fa046c78c5dadf1e2e2d81c

Comment by Githook User [ 19/Oct/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-60456: Store LDAP bind options on Windows LDAP connection objects

(cherry picked from commit f73c8a8e0fc63b29ff3ff5fb416d8bf4fb31ba30)
(cherry picked from commit ffe2872892ca15a6d519597b0b5f3cb7266a14cb)
(cherry picked from commit 276a241ff2d0d693f7980acca0bea0879a3d94cf)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/acd1e289e1a3b730a4e3363f111a96508861fd89

Comment by Githook User [ 18/Oct/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-60456: Store LDAP bind options on Windows LDAP connection objects

(cherry picked from commit f73c8a8e0fc63b29ff3ff5fb416d8bf4fb31ba30)
(cherry picked from commit ffe2872892ca15a6d519597b0b5f3cb7266a14cb)
Branch: v5.0
https://github.com/10gen/mongo-enterprise-modules/commit/276a241ff2d0d693f7980acca0bea0879a3d94cf

Comment by Githook User [ 14/Oct/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-60456: Store LDAP bind options on Windows LDAP connection objects

(cherry picked from commit f73c8a8e0fc63b29ff3ff5fb416d8bf4fb31ba30)
Branch: v5.1
https://github.com/10gen/mongo-enterprise-modules/commit/ffe2872892ca15a6d519597b0b5f3cb7266a14cb

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-60456: Store LDAP bind options on Windows LDAP connection objects
Branch: fausto.leyva/SERVER-57826
https://github.com/10gen/mongo-enterprise-modules/commit/f73c8a8e0fc63b29ff3ff5fb416d8bf4fb31ba30

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-60456: Store LDAP bind options on Windows LDAP connection objects
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/f73c8a8e0fc63b29ff3ff5fb416d8bf4fb31ba30

Comment by Githook User [ 05/Oct/21 ]

Author:

{'name': 'Varun Ravichandran', 'email': 'varun.ravichandran@mongodb.com', 'username': 'varunravi98'}

Message: SERVER-60456: Store LDAP bind options on Windows LDAP connection objects
Branch: SERVER-60456
https://github.com/10gen/mongo-enterprise-modules/commit/871c5de21caa54708f587dfb696533a0ce205c2f

Generated at Thu Feb 08 05:49:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.