Skip to content
Documentation
Updated 7 minutes to read
Markdown

Get your Nodinite LDAP Web API up and running quickly and securely. This guide provides step-by-step instructions for installing on IIS or Azure App Services, configuring your environment, and testing your deployment.

✅ Choose between IIS or Azure App Services for flexible hosting
✅ Follow clear, step-by-step installation and configuration instructions
✅ Test your deployment with real examples and built-in Swagger UI
✅ Access expert support and troubleshooting resources

This guide teaches how to install the Nodinite LDAP Web API.

Download Latest version

The following two hosting options exist:

  1. IIS
  2. Azure App Services

Make sure you comply with the Prerequisites. The Nodinite LDAP Web API runs on .NET 10, the same runtime as Nodinite v7.

Follow these steps to install the Nodinite LDAP Web API on Windows Server with IIS.

The Nodinite LDAP Web API has no installer (MSI). Unzip the package to the target folder, for example, C:\Program Files\Nodinite\LDAP Web API\:
Unzip Folder
Screenshot: Unzip the package to your target folder.

Unblock the files by running the following PowerShell command (replace folder as required):

Terminal window
Get-ChildItem -Path 'C:\Program Files\Nodinite\LDAP Web API\' -Recurse|Unblock-File

Use the Internet Information Server (IIS) Manager.

Terminal window
inetmgr.msc
  1. Create a new Application Pool (click Add Application Pool in IIS Manager).

  2. Name the App Pool, for example, Nodinite LDAP Web API and select No Managed Code. IIS doesn't load .NET itself; the ASP.NET Core Module V2 from the Hosting Bundle starts the API.

  3. Configure the App Pool with a named account that has read/write rights to the folder with the binaries. You can optionally add the named account to the IIS_IUSRS group and set file access rights on this group instead.

  4. Start a cmd-prompt as this user to create a profile required by the password protection scheme.

  1. Add a new Virtual Directory:
    IIS Manager context menu with Add Virtual Directory
    Screenshot: Add a Virtual Directory under the IIS site.

  2. Name the Virtual Directory and set the Physical path to the folder where you extracted the ZIP package in step 1:
    Add Virtual Directory dialog with alias and physical path
    Screenshot: The alias becomes part of the API address.

  3. Convert the virtual directory to an Application:
    IIS Manager context menu with Convert to Application
    Screenshot: Only an Application can have its own Application Pool.

  4. Select the Application pool you created in step 2:
    Add Application dialog with the LDAP Web API Application Pool selected
    Screenshot: Assign the No Managed Code Application Pool from step 2.

Before you use the Nodinite LDAP Web API, perform the initial Configuration

Test the Nodinite LDAP Web API. You will find many methods in the Samples folder.

Navigate to http://localhost/LDAPAdapter/swagger/ (replace LDAPAdapter according to the name you set in step 3b) or, even better, use HTTPS: https://REPLACEME/swagger/ (see 'How to perform hardening on your Nodinite LDAP Web API')
Swagger UI of the LDAP Web API
Screenshot: Access the built-in Swagger UI for testing.

Set the connectionId (set in Configuration, Step 4) and execute the statement:
Swagger UI executing the GetDomainControllers operation
Screenshot: Example of executing a test statement.

Use one of the two sample statements below to test that the API reaches Active Directory. The statement needs a port 389 connection and doesn't test the credentials; run the search test for that.

Send it with the content type application/json (LDAP Web API 4.0.1 and later):

{
"RequestId": "b7a211d7-20f3-44bc-b078-7f1b6e1c047f",
"ReturnResponseOnExceptions": true,
"Batches": [
{
"continueOnError": false,
"guid": "2b25b9e6-4af2-4094-9ae7-e1e4c99b6c8d",
"AD": {
"Operations": {
"Operations": {
"GetDomainControllers": {}
}
}
}
}
]
}

Send it with the content type text/xml or application/xml (every version, and the only format in 3.x):

<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0">
<Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D" returnResponseMessageOnExceptions ="true">
<Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E">
<AD>
<Operations>
<GetDomainControllers/>
</Operations>
</AD>
</Batch>
</Batches>
</ns0:LDAP>

Follow these steps to install the Nodinite LDAP Web API in your Azure subscription.

Azure Web App
Screenshot: Example of deploying to Azure Web App.

Create the Web App with the .NET 10 runtime stack on Windows. App Service provides the runtime, so you don't install a Hosting Bundle.

Zip deploy for Azure WebApps:

  1. Go to your Web App in the Azure portal.
  2. Scroll down to the Development Tools and click Advanced Tools
  3. Click GO ----->
  4. At the top nav bar click on Tools
  5. Click Zip Push Deploy and drag and drop the Zip folder.
  6. Set permissions (RBAC). The Nodinite LDAP Web API App Service instance requires permissions to access the app configuration and possibly the Key Vault.
    1. Assign App Configuration Reader on the App Service to access the AppSettings
    2. Assign Azure Key Vault Administrator to the App Service
      Other deployment options are available Azure deployment documentation
  7. To test, click on the Default Domain link and add /Swagger, you should now be able to browse.
    Swagger
    Screenshot: Test your deployment with the built-in Swagger UI in Azure.
  8. Next, configure the AppSettings

The settings for the Nodinite LDAP Web API are stored in the App Configuration container.

App Service Environment
Screenshot: Example of App Configuration in Azure.

  1. Create a new App Configuration and name it (for example, devsettings). Change the AppConfigEndpoint entry accordingly either before you upload the ZIP file, or change it directly in the Azure portal.
{
"https_port": 443,
"ProductKey": {
"CustomerName": "",
"Key": ""
},
"ConnectionStrings": {
"appConfiguration": ""
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AppConfigEndpoint": "https://devsettings.azconfig.io",
"AllowedHosts": "*"
}
  1. Since you can have multiple connection configurations, you must sequentially use an index to reference the proper entry. The first entry has the index zero (0).

You must create the following settings for each connection. The example below is for the first entry. To protect the password, store it in Azure Key Vault, as detailed in the Key Vault section.

Terminal window
LdapSettings:Connections:0:AuthenticationType
LdapSettings:Connections:0:DSAServer
LdapSettings:Connections:0:DSAServerPort
LdapSettings:Connections:0:Id
LdapSettings:Connections:0:KeyVaultPassword
LdapSettings:Connections:0:UserName
LdapSettings:RunningInAzure
ProductKey:CustomerName
ProductKey:Key
refreshAll

Review the Configuration page for details about the values to use.

  1. The refreshAll is the sentinel key to refresh the configuration.

AppSettings
Screenshot: AppSettings configuration with password protected by Key Vault.

To protect the password, create the LdapSettings:Connections:0:KeyVaultPassword as a reference to your Key Vault.

Key Vault
Screenshot: Password stored in Azure Key Vault.


Contact our Support for additional guidance if you cannot resolve the installation problem.

You will find additional solutions to common problems and the FAQ for the Nodinite LDAP Web API in the Troubleshooting user guide.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...