[DOCS-4231] Document necessary permissions for the saslauthd socket path Created: 23/Oct/14  Updated: 30/Oct/23  Resolved: 08/Jan/19

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Alexander Komyagin Assignee: Ravind Kumar (Inactive)
Resolution: Done Votes: 0
Labels: bite-sized
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

http://docs.mongodb.org/manual/tutorial/configure-ldap-sasl-openldap/


Issue Links:
Related
Participants:
Days since reply: 5 years, 5 weeks, 1 day ago
Story Points: 0.25

 Description   

We need to mention that the saslauthd socket directory (default: /var/run/saslauthd) must be accessible by the mongod process.

To be very specific, if I run the mongod process from the "mongod" user, then this will work:

[ec2-user@lin-server ~]$ ls -l /var/run/ | grep sasl
drwxr-xr-x. 2 root      root      4096 Oct 22 17:00 saslauthd

But this will not and sasl auth attempts will fail:

[ec2-user@lin-server ~]$ sudo chmod 700 /var/run/saslauthd/
[ec2-user@lin-server ~]$ ls -l /var/run/ | grep sasl
drwx------. 2 root      root      4096 Oct 22 17:00 saslauthd

Probably should go as a note for step 2: Configure MongoDB Server



 Comments   
Comment by Githook User [ 08/Jan/19 ]

Author:

{'email': 'ravind.kumar@mongodb.com', 'name': 'rkumar-mongo'}

Message: DOCS-4231: mongod/mongos requires access to saslauthd dir
Branch: v3.4
https://github.com/mongodb/docs/commit/0b483d1513b2e664cc6ecf29c0f999040bd48a25

Comment by Githook User [ 08/Jan/19 ]

Author:

{'email': 'ravind.kumar@mongodb.com', 'name': 'rkumar-mongo'}

Message: DOCS-4231: mongod/mongos requires access to saslauthd dir
Branch: v3.6
https://github.com/mongodb/docs/commit/64091b76862e90e66674979242ae05ba0c93d2b0

Comment by Githook User [ 08/Jan/19 ]

Author:

{'email': 'ravind.kumar@mongodb.com', 'name': 'rkumar-mongo'}

Message: DOCS-4231: mongod/mongos requires access to saslauthd dir
Branch: v4.0
https://github.com/mongodb/docs/commit/a7d74d15374e4a193e0a8b3da6d001cd9558a28e

Comment by Ravind Kumar (Inactive) [ 08/Jan/19 ]

Fixed in master/4.2, 4.0, 3.6, and 3.4. Publishing now.

Comment by Githook User [ 08/Jan/19 ]

Author:

{'email': 'ravind.kumar@mongodb.com', 'name': 'rkumar-mongo'}

Message: DOCS-4231: mongod/mongos requires access to saslauthd dir
Branch: master
https://github.com/mongodb/docs/commit/f6e76b927e9e704427ff4e4550ed92e3e4211b1f

Comment by Kay Kim (Inactive) [ 24/Sep/16 ]

bulk assigning tickets in backlog to team members to groom.

Generated at Thu Feb 08 07:47:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.