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

mongoldap should not print each acquired role's database inline

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.4.10, 3.6.0-rc0
    • Security
    • None
    • Fully Compatible
    • v3.4

    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
      
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: