[SERVER-25792] mongoldap is unable to parse regular mongod config file options Created: 25/Aug/16  Updated: 19/Nov/16  Resolved: 30/Aug/16

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 3.3.14

Type: Bug Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Andreas Nilsson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 19 (08/29/16)
Participants:

 Description   

The recommended use of mongoldap is to provide it a mongod config file to test a connection.

Right now all config options except ldap specific ones terminates the tool with the error: "Unrecognized option"

The work-around is to create a config file using only ldap options or use the command line parameters instead.

Additionally it would be desirable to support setting/validating the choice of authentication mechanism PLAIN:

--setParameter authenticationMechanisms=PLAIN
setParameter: authenticationMechanisms: PLAIN



 Comments   
Comment by Githook User [ 30/Aug/16 ]

Author:

{u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@mongodb.com'}

Message: SERVER-25792 Ignore unknown config file options in mongoldap
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/abddd39806f18606f870aec8ff75888aa8cac9e7

Comment by Githook User [ 30/Aug/16 ]

Author:

{u'name': u'Andreas Nilsson', u'email': u'andreas.nilsson@mongodb.com'}

Message: SERVER-25792 Add non-strict parsing option to OptionsParser
Branch: master
https://github.com/mongodb/mongo/commit/8aa5d284301e7baefe9b08bfc9840d12d61b37de

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