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

mongoldap should not print each acquired role's database inline

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.10, 3.6.0-rc0
    • Component/s: Security
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.4
    • 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
      
      

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: