[SERVER-28727] mongoldap should not print each acquired role's database inline Created: 10/Apr/17  Updated: 12/Oct/17  Resolved: 21/Sep/17

Status: Closed
Project: Core Server
Component/s: Security
Affects Version/s: None
Fix Version/s: 3.4.10, 3.6.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Spencer Jackson Assignee: Andrey Brindeyev
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Participants:
Case:

 Description   

mongoldap's output currently looks like this:

Executing query against LDAP server...
[OK] Successfully acquired the following roles:
 
        * cn=testWriter,ou=Groups,dc=10gen,dc=cc@admin

Because every role produced for LDAP authorization lives in the 'admin' database, every role will be suffixed with '@admin'. It seems that administrators will occasionally copy-paste the entire bullet point, including the suffix, which doesn't work.

A better way to do this may be:

Executing query against LDAP server...
[OK] Successfully acquired the following roles on the 'admin' database:
 
        * cn=testWriter,ou=Groups,dc=10gen,dc=cc



 Comments   
Comment by Githook User [ 04/Oct/17 ]

Author:

{'email': 'andrey.brindeyev@mongodb.com', 'name': 'Andrey Brindeyev'}

Message: SERVER-28727 Fixes the output of the mongoldap

Closes #30

(cherry picked from commit a27bf35cad9ec533a05174a5f328040a26eceaa3)
Branch: v3.4
https://github.com/10gen/mongo-enterprise-modules/commit/0f9b98a7275574a3580ba37e2e9fe6749bd0dd59

Comment by Githook User [ 21/Sep/17 ]

Author:

{'email': 'andrey.brindeyev@mongodb.com', 'name': 'Andrey Brindeyev'}

Message: SERVER-28727 Fixes the output of the mongoldap

Closes #30
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/a27bf35cad9ec533a05174a5f328040a26eceaa3

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