Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article highlights the configuration setup required to add new users to external User user directories through using Command Line Interface(CLI).

Instructions

To add new users to the external LDAP directory through CLI,

...

you must have the below configuration in place, i.e.:

...

Ensure that your

...

external LDAP directory is listed at the top order

...

of User Directories.
Image Modified

  • If the directory type is Microsoft Active Directory or LDAP,

...

  • configure with both READ\WRITE permissions (i.e Modifying users, groups and memberships in

...

  • Jira/Confluence

...

  • causes the changes to be applied directly to your LDAP server. Your configured LDAP user

...

  • must have modification permissions on your LDAP server.)
    Image Modified
  • If the directory type is Delegated LDAP Authentication,

...

  • Jira/Confluence can use LDAP for user authentication only. To be able to log in

...

  • to Jira/Confluence with this configuration

...

  • :
    • users must either be created first

...

    • in Jira/Confluence or
    • the option 'Copy User on First Login' can be

...

    • selected to automatically add them to JIRA/Confluence’s internal directory.

Copied users can subsequently be modified in

...

Jira/Confluence, but modifications

...

are not

...

reflected on the LDAP server.
Groups and memberships from the LDAP server

...

are not

...

used. However, users from LDAP can be added to groups maintained in

...

Jira/Confluence’s internal directory.
Image Modified

Once the above mentioned configuration is in place,

  1. Create a test user from JIRAfrom Jira/Confluence GUI and validate whether if it’s added to the External LDAP directory.
  2. Then, perform Perform the CLI actions action addUser to create a new user and this should create the creates a new user as per the order of the User Directories configured in the configured user directories.
Code Block
languagebash
themeMidnight
--action addUser --userId "testuser1" --userFullName "Test User1" --userEmail "testuser1x@examplegear.com" --continue --userPassword "userPassword1"

...