[SERVER-35566] setParameter.saslauthdPath no longer defaults to /var/run/saslauthd/mux Created: 12/Jun/18 Updated: 29/Oct/23 Resolved: 14/Jun/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0-rc6, 4.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Timothy Olsen (Inactive) | Assignee: | Sara Golemon |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | SWNA, mms-s | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
|||||
| Backwards Compatibility: | Fully Compatible | |||||
| Operating System: | ALL | |||||
| Backport Requested: |
v4.0
|
|||||
| Steps To Reproduce: | Start MongoDB 4.0.0-rc4 with LDAP: mongod --dbpath=db1 --setParameter authenticationMechanisms=PLAIN Connect via the shell and attempt to authenticate:
|
|||||
| Sprint: | Platforms 2018-06-18 | |||||
| Participants: | ||||||
| Description |
|
I've noticed, that when using LDAP with saslauthd, saslauthdPath no longer defaults to /var/run/saslauthd/mux starting in MongoDB 4.0. Authenticating using LDAP fails and I get the following error messages in the log:
I am able to authenticate successfully if I downgrade to MongoDB 3.6 or specify saslauthdPath. This is problematic for users upgrading existing LDAP deployments that do not specify saslauthdPath and depend on it defaulting to /var/run/saslauthd/mux. Such deployments will break upon upgrading to MongoDB 4.0 |
| Comments |
| Comment by Githook User [ 14/Jun/18 ] |
|
Author: {'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}Message: (cherry picked from commit 940ed1e95db94d132f018a82343fe0109b157272) |
| Comment by Githook User [ 14/Jun/18 ] |
|
Author: {'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}Message: (cherry picked from commit a5ceebdf6a1a75d8f4fdfd374dcbe0ab9415dad7) |
| Comment by Githook User [ 14/Jun/18 ] |
|
Author: {'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}Message: |
| Comment by Githook User [ 14/Jun/18 ] |
|
Author: {'username': 'sgolemon', 'name': 'Sara Golemon', 'email': 'sara.golemon@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 13/Jun/18 ] |
|
Interestingly, I don't find the path /var/run/saslauthd anywhere in our code in either the v3.6 or v4.0 branches. Perhaps it is constructed piecewise so a simple grep doesn't find it. I do find a test in the enterprise module that seems to be overriding the path, but I assume that is for testing purposes. I do find the path /var/run/saslauthd in the output of strings /usr/sbin/saslauthd though. |