[SERVER-46126] LDAP proxy and mongod startup race in ldap_insuffcient_access_rights.js Created: 13/Feb/20  Updated: 29/Oct/23  Resolved: 12/Mar/20

Status: Closed
Project: Core Server
Component/s: Security, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.2.5, 4.0.17, 4.4.0-rc0, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Spencer Jackson Assignee: Sara Golemon
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: ALL
Backport Requested:
v4.4, v4.2, v4.0
Sprint: Security 2020-03-23
Participants:
Linked BF Score: 18

 Description   

The LDAP proxy is started with startMongoProgramNoConnect, but we do not currently run any test to verify that it has completed its initialization. MongoDB attempts to startup using the proxy, but can fail to start if its initialization attempts to access the proxy before its done.



 Comments   
Comment by Githook User [ 12/Mar/20 ]

Author:

{'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}

Message: SERVER-46126 Wait for LDAP proxy to start

(cherry picked from commit 371e98c2ae105fc34dfee922f94ee472cd344e4f)
Branch: v4.0
https://github.com/10gen/mongo-enterprise-modules/commit/ad1da151970e7e24f30be0dedb4d2166200643b1

Comment by Githook User [ 12/Mar/20 ]

Author:

{'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}

Message: SERVER-46126 Wait for LDAP proxy to start

(cherry picked from commit 371e98c2ae105fc34dfee922f94ee472cd344e4f)
Branch: v4.2
https://github.com/10gen/mongo-enterprise-modules/commit/249a0aff969f09bc63245b43effc61a2421db4ac

Comment by Githook User [ 12/Mar/20 ]

Author:

{'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}

Message: SERVER-46126 Wait for LDAP proxy to start

(cherry picked from commit 371e98c2ae105fc34dfee922f94ee472cd344e4f)
Branch: v4.4
https://github.com/10gen/mongo-enterprise-modules/commit/5ab5d77b97aaabe4ac34cc33ae433be8df77513e

Comment by Githook User [ 12/Mar/20 ]

Author:

{'name': 'Sara Golemon', 'username': 'sgolemon', 'email': 'sara.golemon@mongodb.com'}

Message: SERVER-46126 Wait for LDAP proxy to start
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/371e98c2ae105fc34dfee922f94ee472cd344e4f

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