How to setup LDAP users?

If you configure LDAP for OpenSpecimen authentication, you would need to migrate your existing users to LDAP users.

This can be done in bulk by importing a CSV or from UI.

Via Import CSV

The update for users is based on the email address of the user. To update the domain of multiple users from LDAP to non-LDAP or vice-versa, follow the steps mentioned below.

Steps:

  1. Log in as a super admin to OpenSpecimen instance.
  2. Go to 'Users→Import→Users' and download the template file.
  3. Fill up the CSV file with the user's email address, LDAP login name, and the domain name to be updated. Refer to 'Update Users.'
  4. Upload the file in OpenSpecimen to bulk import
  5. This will update the user's domain to the new LDAP.

To create LDAP users in bulk, refer to 'Create/Update Users in Bulk' and make sure the login name and the domain name are specified as per LDAP requirements.

Via UI

Go to the 'Users' list from the home page and open the user in edit mode for whom the LDAP has to be configured. Edit the login name to reflect LDAP login name and domain name should be specific LDAP domain name.

Similarly, when creating new users through UI, the domain name should be LDAP specific domain and user login name should match the LDAP login name.