Operational Defect Database

BugZero found this defect 2631 days ago.

MongoDB | 338472

[SERVER-27402] Unnecessary LDAP option for mongos

Last update date:


Affected products:

MongoDB Server

Affected releases:

No affected releases provided.

Fixed releases:




The "LDAP Module Options" section of mongos --help reads LDAP Module Options: --ldapServers arg Comma separated list of LDAP servers on format host:port --ldapTransportSecurity arg (=tls) Transport security used between MongoDB and remote LDAP server(none|tls) --ldapBindMethod arg (=simple) Authentication scheme to use while connecting to LDAP. This may either be 'sasl' or 'simple' --ldapBindSaslMechanisms arg (=DIGEST-MD5) Comma separated list of SASL mechanisms to use while binding to the LDAP server --ldapTimeoutMS arg (=10000) Timeout for LDAP queries (ms) --ldapQueryUser arg LDAP entity to bind with to perform queries --ldapQueryPassword arg Password to use while binding to the LDAP server to perform queries --ldapAuthzQueryTemplate arg Relative LDAP query URL which will be queried against the host to acquire LDAP groups. The token {USER} will be replaced with the mapped username --ldapUserToDNMapping arg (=[{match: "(.+)", substitution: "{0}"}]) Tranformation from MongoDB users to LDAP user DNs However, the --ldapAuthzQueryTemplate option should not be available for a mongos.

Top User Comments

xgen-internal-githook commented on Thu, 5 Jan 2017 22:56:44 +0000: Author: {u'username': u'rychipman', u'name': u'Ryan Chipman', u'email': u'ryan@ryanchipman.com'} Message: SERVER-27402: Remove unused LDAP option from mongos Branch: master https://github.com/10gen/mongo-enterprise-modules/commit/a0cdbf39c72e3c655b0f77b95dcecdaf5de8ae03

Additional Resources / Links


BugZero Risk Score

Coming soon



Have you been affected by this bug?


Do you know how much operational outages are costing you?

Understand the cost to your business and how BugZero can help you reduce those costs.


Login to read and write comments.

Have you ever...

had your data corrupted from a