Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-22242

Impossible to empty Additional User DN or Additional Group DN once filled in

      For some purposes (e.g. to only retrieve users entities from LDAP), one can leave the "Additional Group DN" field empty. However, accidental input is impossible to roll back.

      Steps to reproduce:

      1. Create an LDAP directory in Confluence User Directories
      2. Fill in all the required fields
      3. Input some values to "Additional User DN" or "Additional Group DN" field
      4. Save
      5. Edit the user directory
      6. Empty the field set in step 3
      7. Save

      Results:

      Values in the Additional User DN or Additional Group DN field still persists

      Workarounds:

      Update the value manually in the database:
      Please do backup your database beforehand:

      //Note the ID of the User Directory needs to be updated
      select * from cwd_directory;
      
      //This is to update 'Additional User DN'
      update cwd_directory_attribute set attribute_value='insert new value here' where attribute_name='ldap.user.dn' AND directory_id='ID_from_the_above';
      
      //This is to update 'Additional Group DN'
      update cwd_directory_attribute set attribute_value='insert new value here' where attribute_name='ldap.group.dn' AND directory_id='ID_from_the_above';
      

      Possible scenarios:

      Upgrade from pre-3.5 will auto-create and auto-fill an LDAP directory. This will also auto-fill the "Additional Group DN" field even though the intention is to retrieve user entities only (i.e. no group retrieval).

            [CONFSERVER-22242] Impossible to empty Additional User DN or Additional Group DN once filled in

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2902438 ] New: CONFSERVER Bug Workflow v4 [ 2997078 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2799783 ] New: JAC Bug Workflow v3 [ 2902438 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2730229 ] New: JAC Bug Workflow v2 [ 2799783 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2397730 ] New: JAC Bug Workflow [ 2730229 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2295341 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2397730 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231342 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2295341 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190385 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2231342 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1923779 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2190385 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1732337 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1923779 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1688036 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1732337 ]

              stardif Sam Tardif
              amohdaris Azwandi Mohd Aris (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: