Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-28727

mongoldap should not print each acquired role's database inline

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.10, 3.6.0-rc0
    • Affects Version/s: None
    • Component/s: Security
    • Labels:
      None
    • Fully Compatible
    • v3.4

      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
      
      

            Assignee:
            andrey.brindeyev@mongodb.com Andrey Brindeyev
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: