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

Support non-array format for LDAP transformation rules

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.5
    • Affects Version/s: 3.3.3
    • Component/s: Security
    • None
    • Fully Compatible
    • Security 12 (04/01/16), Security 13 (04/22/16)

      Currently array brackets are required for the --ldapUserToDN config parameter. Omitting bracket throws an exception as the code tries to create a BSONArray. Support:

      --ldapUserToDNMapping  '{match:"(.+)",substitution:"cn={0},ou=Users,dc=mongodb,dc=com"}'
      

      in addition to:

      --ldapUserToDNMapping  '[{match:"(.+)",substitution:"cn={0},ou=Users,dc=mongodb,dc=com"}]'
      

            Assignee:
            andreas.nilsson Andreas Nilsson
            Reporter:
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: