Syncing Active Directory users into openDesk with the Nubus Directory Importer

The Nubus Directory Importer is the documented one-way route for provisioning openDesk users and groups from LDAP or Active Directory. This page covers the setup sequence, username rules and the checks that confirm the sync is correct.

On this page

How the Nubus Directory Importer syncs Active Directory into openDesk

If your organization already manages staff in Active Directory, you do not need to retype those people into openDesk. The recommended, supported method is the one-way Nubus Directory Importer, which reads users and groups from LDAP or Active Directory and provisions them as accounts and groups in the Nubus IAM that openDesk uses for identity and access. The importer runs in one direction only. It copies directory data into openDesk and does not write anything back to Active Directory, so AD stays the system of record for identity data such as account status and group membership.

Plan around that direction before you start. Any change made only in openDesk, such as a locally created account or a local group edit, will not flow back to AD, and a later import can conflict with it. Decide which team owns each attribute, and agree how leavers will be handled, since the outcome of a removed AD account depends on how the import is configured and on the offboarding steps in the wider rollout. Confirm the import behavior for deleted or disabled accounts in the Directory Importer documentation and in a test environment before you rely on it.

Microsoft Entra ID cannot be used as the source directly, because Entra ID does not expose LDAP and the importer needs an LDAP interface. If your staff identities live in Entra ID, you will need an Azure AD Domain Services route to provide LDAP, or a different federation approach. Check the openDesk IdP federation documentation to confirm which option fits your tenant before you commit to a design.

What you need in place before the importer can read Active Directory

The importer depends on three sides being ready at once: the openDesk cluster, the directory and its service account, and the network and TLS path between them. Work through these cards before any configuration, because a gap on one side usually shows up as a failed bind or an empty import on another.

A supported openDesk cluster

Confirm the target is a CNCF-certified Kubernetes cluster at v1.33 or later with an ingress controller (haproxy-ingress or the deprecated Ingress nginx), cert-manager and an RWO volume provisioner. Helm must be 3.17.3 or later but below v4, and Helmfile 1.0.0 or later. openDesk is tested on kubespray clusters and not on OpenShift, so check the distribution before you plan the import window. Confirm the openDesk release you deploy is the one whose Nubus documentation you will follow.

Requirements docs

A read-only directory service account

Ask the directory team for a dedicated bind account that can read user and group objects and nothing else. Confirm whether the importer needs a simple bind with a distinguished name and password or another method, and where that secret will be stored in the cluster. Check the exact bind requirements and configuration keys in the Nubus documentation for your openDesk version, not in older guides or blog posts, because keys change between releases.

Network path to the domain controllers

Verify that pods in the openDesk namespace can reach the domain controllers on the LDAP and LDAPS ports the directory uses. Firewalls, network policies and any egress restrictions on the cluster often block this path even when the workstation network works. Run a connectivity test from inside the cluster with the same DNS names the importer will use, and confirm that name resolution returns the controller hostnames that match the certificate.

TLS trust chain for LDAPS

If the import uses LDAPS, the certificate authority that signed the domain controller certificates must be trusted by the importer. Obtain the full chain, including any intermediate and root certificates, from the directory owner and confirm the hostname in the certificate matches the name you configure. Plan how the chain is mounted or added to the importer's trust store, and who renews it, so a certificate rotation on the directory side does not silently stop imports.

OU and group scope agreed with AD owners

Agree in writing which organizational units and security groups contain the users who should exist in openDesk. Users outside that scope will not be imported, and users inside an unexpected OU will be, so the boundary has to be defined before the first run. Ask the directory owner to confirm which groups should map to openDesk groups, and whether nested groups and disabled accounts are in scope.

Username attribute confirmed upfront

Confirm with the directory owner which attribute holds the login name, and whether it is unique and stable across the directory. Federated logins later match users by username or another attribute such as mailPrimaryAddress, so a username that changes, collides or differs from what the upstream identity provider sends will break sign-in. Record the decision now, because changing the username rule after accounts exist is far more disruptive than choosing it correctly at the start.

IdP federation docs

Running the importer alongside Active Directory or as a step towards replacing it

In this model Active Directory stays the source of truth for identities, passwords and the account lifecycle. The Nubus Directory Importer copies users and groups into openDesk's IAM on a one-way basis, so openDesk reflects the directory but never writes back to it. Administrators keep working in Active Directory as they do today, and openDesk becomes a consumer of that data. This is the lowest-disruption option for organizations that must keep one directory for many systems.

  • Passwords stay in Active Directory: Federated logins check credentials against the upstream identity provider, so local openDesk passwords matter less. Confirm with your identity team which login path each user group actually uses.
  • Deprovisioning is driven by Active Directory: Disabling or removing an account upstream is the step that removes access. Verify how the importer reflects a removed account and whether openDesk data for that user is then handled by the offboarding process.
  • Group membership is maintained upstream: Changes to groups in Active Directory flow into openDesk on the next run. Administrators should not edit imported group membership inside openDesk, because the next import may overwrite it.
  • Username rules constrain the directory: Federated logins depend on usernames or a chosen attribute such as mailPrimaryAddress matching across both systems. Check this before the first import.
  • Ongoing operation: Someone must own the schedule, failure alerts and the review of import results. Ask your vendor for the operating model in the written scope.

Before going live, confirm which system is authoritative for each attribute and test a leaver and a group change end to end.

Configuring the Directory Importer step by step

This sequence takes an openDesk operator from a confirmed release and edition to a scoped, verified and recurring import of Active Directory users and groups into Nubus IAM. Each step closes with a check you can run before widening scope.

  1. Confirm the openDesk release and edition

    Record the openDesk release you run, the edition (Community or Enterprise) and the Nubus version that ships with it. Compare these with the Nubus documentation for that release, because option names and the importer's configuration keys can change between releases. The platform team does this, with the identity owner reviewing it. You are done when the release, edition and documentation version are written in the change record and match what is deployed in the cluster. The Enterprise Edition is the recommended edition for production, so note it if your deployment differs.

  2. Create a read-only bind account in AD

    Ask the Active Directory team to create a dedicated service account used only for the importer's LDAP bind. It needs read access to the users and groups in the agreed scope and no write or administrative rights. Store its password in your secrets store, not in the values file. The check: a bind with that account succeeds from a host inside the cluster network, and an attempted write to a test object is refused. Confirm the password rotation and expiry rules with the AD team before go-live.

  3. Set the search base and filters to the agreed scope

    Agree in writing which organizational units and security groups will be imported, then express that scope as the search base and LDAP filters in the importer configuration. Keep filters narrow at first, for example one OU or one group that holds pilot users. Exclude disabled accounts and service accounts if your policy requires it. The check: a read-only query with the same base and filter, run from the bind host, returns the object list that the change record approved, and nothing outside it.

  4. Configure the LDAP connection and TLS

    Set the directory host, port and bind DN in the importer configuration, and enable TLS for the connection. Install the certificate chain of your domain controllers as trusted in the importer, and confirm the hostname in the certificate matches the name you configure. Avoid plaintext LDAP or disabled certificate checks outside a short test. The check: the importer connects over TLS, reports a successful bind in its log, and the certificate verification step passes without an override.

  5. Run a limited import against a test group

    Create a small test group in AD with a handful of accounts you control, and point the importer at only that group. Run the import once manually and keep the log. The platform team runs it, and the identity owner supplies the test accounts. The check: the number of users and groups created in openDesk equals the number of test objects in AD, and no other objects appear. If counts differ, stop and review filters before running again.

  6. Verify usernames, groups and logins

    In the openDesk IAM, confirm that each imported username follows the format your federated logins expect, and that group membership matches AD. Then sign in as one test user through the login path your users will use, and check that the expected applications and roles appear. The check: every test user has the right username and groups, and at least one federated login succeeds. If usernames differ from the upstream claim, resolve that before widening scope, since federation matches on them.

  7. Widen scope and schedule recurring runs

    Expand the search base or filter to the full agreed scope in stages, repeating the count comparison at each stage. Once the full scope matches the expected list, schedule recurring runs at the interval your operations team agreed, and set alerts on failed runs and unexpected changes in user counts. Keep the import one-way: changes made directly in openDesk will be overwritten or diverge from AD, so document that rule for administrators. The check: the scheduled run completes, a second run changes nothing unexpected, and the alert fires on a deliberately failed test.

Mapping Active Directory attributes to openDesk users and groups

This table compares the directory attributes an Active Directory or LDAP source typically offers with the openDesk user and group fields they feed. Read each row as a question to answer before the first import: which attribute is authoritative, which one openDesk matches on, and which ones were never meant to be copied. The main takeaway is that the importer's default attribute list must be checked against its documentation and your own schema, and any custom attribute needs an explicit decision.

AD or LDAP sourceopenDesk fieldWhat it is used forWhat to confirm
sAMAccountName or uid (directory username)UsernameIdentifies the account and is the value federated logins depend on for matchingUniqueness across the directory, allowed characters and length rules, and whether the importer uses this attribute or another
mail or mailPrimaryAddressMail address (mailPrimaryAddress where used for matching)Mail routing and, where configured, matching for OIDC federation when usernames are e-mail addressesWhether the attribute is populated for every user and whether it is unique and matches the upstream identity provider claim
givenNameFirst nameDisplay name and directory listings in openDesk applicationsWhether empty values are rejected and how changes in the source propagate on later runs
sn (surname)Last nameDisplay name and directory listings in openDesk applicationsWhether the importer maps this attribute by default and how it handles multi-part surnames
memberOf (group membership)Group membership in openDesk IAMDrives group-based access and role assignment in openDeskWhich groups are imported, whether nested groups are resolved, and which openDesk groups must stay manually managed
userAccountControl disabled flag or equivalentAccount status (active or deactivated)Decides whether a disabled source account should stop being usable in openDeskHow the importer treats disabled accounts, whether deletions in the source are propagated, and the offboarding steps that follow
Custom or extension attributesNot mapped unless configuredAny extra data sent to openDesk beyond the default setAn explicit decision per attribute, with a data protection review of what leaves the directory

How the importer, the directory and openDesk IAM connect

The flow starts in the corporate Active Directory, where domain controllers serve users and groups over LDAPS. The Nubus Directory Importer runs inside the openDesk cluster and reads from that directory across the trust boundary, then writes accounts and groups into Nubus IAM. The Keycloak-based openDesk IdP and the applications take their users from Nubus, so the import is one-way. Optional OIDC federation from your own identity provider is a separate path for sign-in. Check which LDAP attribute supplies the username, because federated logins depend on it.

One-way directory import and optional OIDC sign-in across the cluster boundary.

Security settings that protect the directory connection

The Directory Importer holds a standing credential into your directory and writes accounts into openDesk, so it needs the same controls you would apply to any service account with broad read access. The cards below cover the bind account, transport, search scope, network reach and run logging, and each one should be verified in your own cluster rather than assumed from the defaults.

Read-only bind account

Create a dedicated bind account in the directory that can read only the attributes the importer needs, and no write or administrative rights. Store its password in your cluster's secret management, not in values files committed to Git, and rotate it on a schedule you can name. Confirm the account cannot modify objects by attempting a write with its credentials in a test directory. Also confirm which attributes the importer reads, because that defines what leaves your directory.

openDesk security docs

LDAPS with certificate validation

Connect to the domain controllers over LDAPS and configure the importer to validate the server certificate against your internal certificate authority. An unverified TLS connection lets anyone on the path impersonate the directory and feed false accounts or group memberships into openDesk. Do not disable certificate checks to get a first run working. Ask your directory team which CA issues the domain controller certificates and confirm that the CA bundle in the cluster matches it.

Search base limited to required OUs

Point the importer's search base at the organizational units that hold people who need openDesk accounts, rather than the domain root. A narrow base keeps service accounts, contractors outside scope and test identities out of the target, and it limits what the bind account can see even if its rights are broader than intended. Test the base with a dry run and count the objects returned against the number you expect from the directory team.

Network policies for domain controller access

Restrict which pods can open connections to the domain controllers, so only the importer's workload can reach the LDAPS port and nothing else in the openDesk namespace can. openDesk documents Kubernetes security settings and network policies, but the rules that apply to your domain controller addresses are yours to write and test. Confirm with a connection test from an unrelated pod that the request is refused, and check that the firewall on the directory side also allows only your cluster's egress addresses.

Security docs

Logging and review of import runs

Keep the logs of every import run, including the number of accounts and groups created, changed or deactivated, and retain them where your security team can query them. A sudden spike in deletions or group changes is the earliest visible sign of a misconfigured search base or a compromised bind account. Assign a named owner to review run summaries after each scheduled run, and ask your operations team which log pipeline and retention period apply to these records.

Common import failures and how to fix them

This table lists the failures most likely to appear when syncing Active Directory users into openDesk with the Nubus Directory Importer. Read each row by symptom first, then check the likely cause and work through the fix in order. Confirm error details in the importer logs and the importer documentation before changing configuration.

SymptomLikely causeFix
Users missing from openDesk after an import runThe configured search scope or filter excludes the OU or group where those accounts sitCompare the base DN and filter against the account's distinguished name, correct the scope, rerun the import and confirm the users appear in the logs
Duplicate or mismatched usernames break federated loginTwo directory objects map to the same username, or the username rule produces a value the upstream identity provider does not sendFind duplicate sAMAccountName or mapped values in AD, rename or exclude the conflicting account, then confirm the username format with the federation settings before re-login testing
Federated logins fail right after importThe attribute used to match the upstream user (username or mailPrimaryAddress) differs between the directory and the federated identity providerCheck which attribute the federation matches on, align the imported value with the upstream claim, and test one account end to end before rolling out
LDAPS connection fails with a certificate or handshake errorThe importer does not trust the internal CA that signed the domain controller certificateAdd the internal root and intermediate CA certificates to the trust configuration the importer uses, confirm the certificate name matches the host you configured, and retest the connection
Bind fails with invalid credentials on every runThe service account password has expired or was changed, or the account is lockedReset or renew the service account password in AD, update the secret used by the importer, check the account is not locked, and confirm the bind in the logs
Deleted or disabled AD users stay active in openDeskThe importer copies users in one direction and no deprovisioning step runs for accounts that left the directoryConfirm the importer's handling of removed objects in its documentation, add an explicit offboarding step for leavers, and check related applications after deactivation

Questions buyers ask before syncing Active Directory into openDesk

How much effort does an Active Directory import into openDesk take?

The effort depends mostly on how clean the directory already is, not on the Importer itself. Each step adds work: how many organizational units hold accounts that should be imported, whether usernames follow one consistent pattern, whether every account has a unique and correct mail address, and how many groups carry rights that need to map onto openDesk roles. Teams with a tidy directory usually spend their time on test runs and sign-off. Teams with duplicate accounts, service accounts mixed into user OUs or inconsistent naming spend most of their time cleaning the source first. Ask for a scoped quote that lists the OUs in scope, the number of accounts and groups, and the test cycles included, since those are the inputs that move the estimate.

Can our own team run the Active Directory import, or do we need a partner?

A capable identity or platform team can run the import in-house if it has Kubernetes and Helm experience, access to the openDesk IAM, and an AD administrator who can explain the directory structure. A partner adds the most value where the directory needs cleanup, where the mapping of groups and attributes is disputed between departments, or where the team lacks time to run repeated test imports before go-live. Whichever route you choose, the work is the same: defining the source scope, verifying username and mail rules, testing on a non-production environment and agreeing the cutover. DeployOpen plans and implements this work under a written, fixed scope if you prefer to hand it over.

What do we need from the AD owner and the openDesk operator?

The AD owner must confirm which OUs and groups are authoritative, which attributes hold the username and mail address, how service and shared accounts are marked, and who approves changes to the directory. The openDesk operator must provide a working Kubernetes environment, a bind account with read access to the chosen LDAP scope, network reachability from the cluster to the domain controllers, and the IAM admin rights needed to review imported users and groups. Agree early who signs off each test import, because most delays come from waiting for a decision rather than from technical work.

How long should we plan for the import?

Plan for a duration that depends on scope, not on a fixed figure. The main variables are the number of directories and OUs involved, how much source cleanup is needed, the number of test cycles your change process requires, and whether the import runs alongside existing AD or replaces it later. Large public-sector directories with many departments typically need more sign-off rounds than a single-domain pilot. Ask the provider for a timeline tied to the written scope and to named milestones such as source review, first test import, user acceptance and cutover, and check which of those depend on your own approvals.

Can Microsoft Entra ID feed openDesk directly, and what does Azure AD Domain Services change?

Entra ID cannot feed the Directory Importer directly because it does not expose LDAP, which is the protocol the importer reads. The documented route is Azure AD Domain Services, which provides an LDAP interface over the Entra ID tenant, and the importer can then read from that. Azure AD Domain Services adds its own service, configuration and cost, and it needs its own network setup and monitoring. For single sign-on, OIDC federation from Entra ID to the openDesk IdP can still be used alongside the import. Confirm the Domain Services setup and its licensing with your Microsoft administrator before planning the import.

How are leavers and password changes handled when AD stays the source of truth?

When AD remains the source of truth, the one-way Directory Importer carries changes from AD into openDesk on its scheduled runs, so deactivating an account in AD is the main way to start a leaver process. Deleting or disabling an account in openDesk is a separate action with its own effects on applications, so confirm with the operator how removed users are handled and what happens to their data. Passwords are not managed in openDesk when logins are federated, so password changes happen in AD or the upstream identity provider. Confirm the import schedule, how disabled accounts are treated, and which team owns each step in the leaver process before go-live.

How DeployOpen scopes and delivers an openDesk directory sync

DeployOpen plans, implements, tests and documents openDesk deployments inside the client's own infrastructure, including the directory side of identity. For an Active Directory sync, the work starts with a written scope that fixes which users, groups and username rules are in play, then builds and verifies the import before handover.

How we scope

  • Inventory the AD or LDAP sources, OUs, groups and the attributes that must match usernames in openDesk.
  • Agree in writing whether the importer runs alongside AD or serves as a step towards replacing it.
  • Confirm which federated logins depend on the username rules and which users stay local, with engagements fixed-scope.

How we build

  • Deploy and configure the Nubus Directory Importer as a one-way sync with directory mappings agreed during scoping.
  • Test a sample import in a non-production environment and check copied users, groups and username matching.
  • Verify SSO federation and 2FA behavior for imported accounts before any production run.

How we hand over

  • Document the sync configuration, mappings, schedule and the attributes each openDesk account receives from AD.
  • Deliver a runbook covering reruns, failed imports, and what happens when a directory account is disabled.
  • Walk your identity and platform teams through the handover and record open items and owners.

How we support

  • Offer ongoing support, upgrades and continuous testing for the sync as a retainer after handover.
  • Review the sync again when openDesk releases change Nubus or the importer, using the release notes as the trigger.
  • Confirm support terms and response expectations in the quote, since DeployOpen does not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.