description | topics | contentType | useCase | |||||
---|---|---|---|---|---|---|---|---|
Explains the different ways to update the AD/LDAP Connector. |
|
how-to |
|
If there are multiple instances of the AD/LDAP Connector in a deployment, it is recommended that the set of steps below be done to each instance, one at a time, so that only one instance is down at any point in time.
Starting from version 2.17.0 the AD/LDAP Connector can be updated from the Admin Console. Open the Admin Console by navigating to http://localhost:8357/. If the Admin Console has outbound access to the internet it will verify if a new version is available and show this on top of the page:
The Update tab in the dashboard will allow you to update the installation on the current machine to the latest version. The update will take about 2 minutes and the updater logs will be displayed in the Admin Console.
The updater script will update the AD/LDAP Connector from the command line by running the following steps:
- Verify if an update is available
- Backup the existing configuration, certificates and profileMapper.js
- Uninstall the AD/LDAP Connector
- Download the update
- Install the AD/LDAP Connector
- Restore the existing configuration, certificates and profileMapper.js
- Start the Windows Service
To run the updater script execute the following statement in the command line:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://cdn.auth0.com/connector/windows/update-connector.ps1'))"
::: note The updater script uses specific PowerShell commands that are only available in Windows PowerShell 3.0 and higher. If you're running on Windows 2008 and Windows 2008 R2 you might need to update your PowerShell version first. :::
These are the steps to update the AD/LDAP Connector to the latest version:
Hover over the Connector status indicator on the dashbaord:
The tooltip will indicate the current status and the installed version.
The latest released version of the connector is .
Download the Windows Installer from . The sha1 checksum is:
Use the GitHub repository for other platforms: .
::: note Always verify the checksum of the downloaded installer as explained here. :::
The configuration can be exported from the Admin Console. The Download button will generate a .zip file which contains the config.json
file, the certs
folder and the lib\\profileMapper.js
file.
Before updating the connector backup these files from %Program Files(x86)%\Auth0\AD LDAP Connector\
:
config.json
certs
folderlib\profileMapper.js
only if you modified this file manually
::: note The PATH above works for Windows based machines. Installations in other platforms will be located somewhere else, but contain the same assets. :::
Start the installer and follow the instructions.
Close the configuration dialog without changing anything.
If the configuration was exported from the Admin Console as a .zip file, it can be re-imported by uploading the .zip file on the Import / Export tab.
Copy all the files from Step 2 into %Program Files(x86)%\Auth0\AD LDAP Connector\
.
Restart the "Auth0 AD LDAP" service from the service console.
<script type="text/javascript"> $.getJSON('https://cdn.auth0.com/connector/windows/latest.json', function (data) { $('.download-link').attr('href', data.url) .text(data.url.split('/').pop()) $('.checksum').text(data.checksum); $('.version').text(data.version); $('.download-github') .attr('href', 'https://github.com/auth0/ad-ldap-connector/releases/tag/v' + data.version) .text('adldap-' + data.version); }) </script>