OpenProject LDAP group synchronization

Synchronizing directory groups into OpenProject keeps project access aligned with the groups your identity team already manages. It requires the Enterprise edition, and this page covers the setup, mapping and failure points.

On this page

How LDAP group synchronization keeps OpenProject access aligned with directory groups

If your team already grants access through Active Directory or LDAP groups, you want OpenProject membership to follow those groups instead of being maintained by hand in each project. LDAP group synchronization is a feature of the LDAP connection in OpenProject, and it requires the Enterprise edition. The Community edition can authenticate against a directory, but it does not read and apply directory groups to OpenProject groups.

At a high level, the connection reads group objects from your directory and matches them to OpenProject groups, so that a user's membership in a directory group carries over to the corresponding OpenProject group at sync time. The directory side is read only: OpenProject does not write back to Active Directory or LDAP, and it does not change the groups themselves. Users are identified through the same connection settings used for sign-in, so the same accounts that log in are the ones whose membership is updated. Confirm the exact object classes, membership attributes and filter syntax your directory uses against the OpenProject LDAP connections documentation before you write them into a configuration, because Active Directory and generic LDAP schemas store group membership differently.

What stays manual matters as much as what syncs. Project roles are not inherited automatically from a directory group in a way you can assume without testing, so decide which directory groups map to which OpenProject groups and which project roles those groups hold, and write that mapping down before configuration. Groups that are not synchronized, along with any memberships an administrator adds by hand, remain under local control. Plan for the case where a user is removed from a directory group: confirm how and when OpenProject removes the membership, and test it with a disposable account before you rely on it for access reviews.

What you need before enabling LDAP group sync in OpenProject

LDAP group sync depends on four things lining up: an Enterprise license on the right plan, a directory with well-structured groups, a network and certificate path that OpenProject can trust, and a known OpenProject release. Check each one before touching the configuration, because a gap in any of them usually shows up as groups that never sync or sign-ins that fail.

Enterprise plan on the right tier

Synchronizing LDAP groups with OpenProject groups requires the Enterprise edition, and the pricing page lists LDAP user and group sync from the Premium plan. Confirm the tier with your license before planning the rollout, since a Basic or Professional license will not expose the group sync options. Ask your OpenProject contact to confirm which plan covers your user count, because Premium carries a 100-user minimum on the published pricing.

OpenProject pricing

Directory type and domain controllers

Decide whether the source is Active Directory Domain Services or another LDAP directory. AD DS replicates directory data to every domain controller in a domain, so OpenProject should point at a controller or load-balanced address that holds current group membership. Confirm which controllers are reachable from the OpenProject host and that replication is healthy, since a stale controller can return outdated memberships.

AD DS overview

Group structure and naming

Map each OpenProject project role to a directory group before enabling sync. Flat, consistently named groups such as an application-specific prefix make filters simple, while nested groups and mixed naming schemes force complex filter logic. Review who owns each group, whether membership is kept current by HR processes, and whether any groups are used only for mail or Windows permissions and should be excluded.

Read-only bind account

OpenProject needs a service account that can bind to the directory and read user and group objects, including the member attribute used for membership lookups. Grant read access only, scope it to the search base that holds the groups, and avoid reusing a personal administrator account. Record who owns the password and how it rotates, because a locked or expired bind account stops every sync at once.

Network path and LDAPS or STARTTLS certificates

Confirm the OpenProject host can reach the directory on the chosen port, and decide between LDAPS and STARTTLS for encrypted transport. Both need a certificate chain that the OpenProject server trusts, including any internal certificate authority, so test the handshake from the actual host and not from a workstation. Firewalls between the application and domain controllers are a frequent cause of failed syncs that look like configuration errors.

LDAP connections docs

OpenProject release and test instance

Record the OpenProject version you run and check the release notes for changes to LDAP or group handling before you enable sync. Recent releases in the supplied notes include 17.7.0, 17.8.0, 17.9.0 and 17.9.2, but confirm the current release with the release notes rather than assuming a particular version. Rehearse the change on a non-production instance with a test group, so you can see how memberships land before they affect real project access.

Release notes

Configuring the LDAP connection and group sync in sequence

This sequence builds the directory connection in layers, so each stage is proven before the next one depends on it. Users sync first, then groups, and the result is a set of OpenProject groups that carry project roles and follow directory membership.

  1. Create or confirm the LDAP connection and test the bind

    An administrator creates the LDAP connection in OpenProject's administration area, or confirms an existing one, and enters the host, port, encryption method, and the system bind account that OpenProject uses to query the directory. Use a read-only service account with the least rights needed to search the relevant branches. Run the connection test that OpenProject provides. The step is done when the test reports a successful bind and the connection is saved without errors. Confirm the exact field names and options against the current LDAP connection documentation, since they vary by release.

  2. Confirm user synchronization before enabling groups

    Before any group setting is changed, confirm that directory users can sign in and appear as OpenProject users. Set the user search base and user filter so that only the intended accounts match, then sign in with one test account from the directory. Check that the account is created with the expected name and email address and that no unrelated accounts were pulled in. The step is done when a known test user signs in successfully and the user list matches your filter. Group problems are much harder to diagnose when user matching is still unverified.

  3. Enable group synchronization on the connection

    On the same LDAP connection, switch on group synchronization. This is an Enterprise feature, so confirm that your instance runs a plan that includes it before you start. Per OpenProject's pricing, LDAP user and group sync is listed from the Premium plan. Save the connection and check that the group option appears as enabled on the connection detail page. The step is done when the setting is saved and the administration area shows the connection with group sync active. If the option is missing, verify the plan and license key first.

  4. Define the group search base and filter

    Set the group search base to the organizational unit that holds the security groups intended for OpenProject, not the whole domain. Add a group filter that matches only those groups, for example by group object class or a name prefix. Keep the scope narrow at this stage, because a broad filter pulls in mail-enabled, distribution and nested groups that you did not plan for. The step is done when a directory query run from the administration area returns only the intended groups. Ask your directory team to confirm how nested group membership is represented in your forest before relying on it.

  5. Map directory groups to OpenProject groups and project roles

    Create or identify the OpenProject group that each directory group should feed, then decide which project roles those groups hold in each project. Keep the mapping in a written table with columns for directory group, OpenProject group, project, and role, and have the project owners sign off. Assign roles to OpenProject groups inside each project rather than to individual users, so membership changes flow from the directory. The step is done when the table is approved and each project shows the expected group-based roles. Review role names against your own configuration, because they are defined per instance.

  6. Run a first sync with a small test group

    Choose one directory group with two or three members who are known to the project team, and limit the filter to that group for the first run. Trigger a synchronization from the connection page and wait for it to complete. Check the sync log for errors or skipped entries. Confirm that OpenProject group membership matches the directory membership exactly, and that the project role applied to the group works as intended. The step is done when the test group's membership and project access match the directory. Widen the filter only after this run has been reviewed.

  7. Review results and widen the scope

    Compare the full list of synchronized OpenProject groups and their members against the approved mapping table, and check a sample of test logins for each role. Record any user who is in an unexpected group, missing from a group, or has access beyond the intended role. Correct the filter or mapping, rerun the sync, and repeat until the results match. Then widen the filter to the remaining directory groups in stages. The sequence is complete when the review is signed off, a removed directory member loses access after the next sync, and the change is documented for operations.

Choosing how directory groups map to project roles

This option creates one OpenProject group for each directory group you choose to sync, and the directory remains the source of membership. OpenProject then treats the group as a unit that can be added to projects and given roles there. It suits organizations where the directory already models teams, departments or functions cleanly, and where project staffing mostly follows those structures.

  • Low administrative load: Joining or leaving a team is handled in the directory, and the next sync updates OpenProject without a ticket to the OpenProject administrator.
  • Clear audit trail: The group name in OpenProject matches a directory object that your identity team already reviews and recertifies.
  • Dependency on directory hygiene: Stale or badly named groups become stale or badly named project access, so naming standards matter before go-live.
  • Over-broad risk with large or nested groups: A group that contains many members, or inherits members through nesting, can grant project roles to people who were never meant to work on that project. Confirm whether your sync filter expands nested membership in the way you expect.
  • Limited project precision: One group cannot easily express different roles for the same people across several projects.

Before choosing this option, check the group count and nesting depth in your directory and confirm how the Enterprise sync treats nested groups in your version.

Attribute and group fields mapped between Active Directory and OpenProject

This table compares each directory field involved in group synchronization with the OpenProject object it feeds. Read it as a checklist: the fields in the middle rows must line up exactly between the two systems, while the attribute names themselves should be confirmed in your own directory schema before you configure anything. The main takeaway is that a group only syncs cleanly when the group identifier, member references and login matching agree.

Field or objectRole in OpenProjectMatch ruleWhat to confirm
Group DN or group nameIdentifies the directory group that OpenProject reads for membershipMust match the group identifier configured in the LDAP connection exactlyExact group DN or name as it appears in your directory, including case and any OU path
Group membersLists the user references that OpenProject adds to or removes from the mapped groupMember references must resolve to accounts that OpenProject can matchWhich attribute your directory uses to store membership and whether it holds DNs or account names
User loginUsed to match a directory account to an existing OpenProject userMust be unique and identical in form on both sidesThe login attribute your directory populates for each user and whether it is case sensitive in your setup
User emailAlternative key for matching accounts when login values differMust be unique per user in the directoryWhether email is populated for every synced account, including service and shared accounts
OpenProject groupContainer that holds the synced membership listGroup name should align with the directory group it mirrorsWhether groups are created automatically or must exist before the first sync
OpenProject project roleRole assigned to group members within a projectSet in the group mapping, not inside the directoryWhich role each directory group should receive and whether members keep manual roles
Filter expressionLimits which directory users and groups OpenProject considersFilter syntax must match the directory schema exactlyThe filter values in your schema, tested against a small test group first

How a directory group change reaches OpenProject membership

The change starts in Active Directory, where an administrator adds or removes a user from a group. OpenProject does not see that edit directly. On its scheduled sync, it uses the system bind account to query the LDAP connection, matches each directory user to an existing OpenProject account, and then applies the group-to-role mapping to update project memberships. The trust boundary sits between the directory network and the OpenProject host, so check that the bind account can reach the directory over a protected connection and holds only read access, and confirm the sync interval against your own change process.

Directory group edits reach OpenProject only through the scheduled sync.

Securing the bind account, transport and group scope

Group synchronization gives directory administrators a direct path into OpenProject project roles, so the bind account, the connection and the search scope deserve the same review as the mappings themselves. The cards below cover the controls to set before the first sync runs and the checks to repeat after any change. Confirm each setting against the current OpenProject LDAP documentation for your release.

Least-privilege bind account

OpenProject authenticates to the directory with a system bind user that only needs to read the users and groups it synchronizes. Create a dedicated service account in the directory, grant it read access to the relevant containers, and deny write rights. Avoid reusing a domain administrator or a personal account, because a leaked bind credential would then expose far more than group membership. Ask your directory team which read permissions the account actually receives.

LDAP connection docs

Encrypted transport with LDAPS or STARTTLS

Bind credentials and group data should never cross the network in cleartext. Choose LDAPS or STARTTLS for the connection to the domain controller and confirm that the certificate chain is trusted by the OpenProject host. Test the connection from the OpenProject server itself, since a working connection from an administrator workstation does not prove the server trusts the certificate. Record which option you chose and why.

Narrow group search base

A search base that starts at the domain root lets OpenProject discover every group in the forest, including groups that were never meant to carry application roles. Limit the group search to a dedicated organizational unit that holds application groups, and use filters to exclude nested groups from unrelated departments. Check the resulting group count after the first sync and compare it with the list the business owner expects.

Review which groups grant roles

Each synchronized group that maps to a project role grants real access to work packages, plans and settings. Before enabling a mapping, list the groups that will receive roles, confirm the owner of each group in the directory, and check that membership changes follow an approval process. Ask whether privileged administrator groups can be excluded from the mapping. Repeat this review whenever the directory team creates a group with a name that suggests application access.

Protect the bind credential

The bind password is a secret that OpenProject needs at runtime, so store it in your deployment's secret handling rather than in a shared configuration file or a ticket. Limit who can read the environment variables or container configuration that holds it, rotate it on a schedule your directory team sets, and update the OpenProject setting when it changes. Confirm with your platform team how secrets are injected into your chosen installation method.

Log who changed group mappings

A mapping change can add or remove project access for many users at once, so you need a record of who made each change and when. Keep a change log for group mapping and filter edits, and retain the OpenProject audit and administrator logs alongside directory change events. Compare these records during periodic reviews to confirm that each mapping still matches an approved access decision.

What happens to manual memberships and when changes take effect

The key point for this section is that a group membership change in the directory does not reach OpenProject instantly. Synchronized group memberships are applied on the sync schedule, so there is always a window between a change in Active Directory or LDAP and the matching change in OpenProject. Plan for that window before anyone relies on group removal as an offboarding control. Account disablement in the directory is a separate question that your authentication setup handles, so do not assume a removed group membership and a disabled account behave the same way.

Memberships added by hand in OpenProject are the second source of access you need to account for. Confirm in the LDAP connection documentation for your release whether a synchronized group takes over the memberships it manages, whether manually granted project roles are kept or replaced at sync, and whether a user who leaves a directory group loses the project role that group granted. These behaviors have changed between releases, so do not rely on memory or on an older blog post. Write down the answer for each case in your environment and test it with a throwaway user before go-live.

Before you rely on this for offboarding, ask for a written test plan in the scope. It should cover a directory group add, a directory group removal, a manual role change in OpenProject, and a disabled directory account, with the observed time to effect for each. Record the sync schedule setting your release uses, and confirm who owns it: the platform team that runs the instance or the directory team that owns the groups. Pair the result with your access review process, because a sync gap or a manual exception is exactly what a reviewer will ask about.

Common LDAP group sync failures and how to fix them

This table lists the failures teams most often hit when driving OpenProject group membership from LDAP or Active Directory, with the cause and fix for each. Work through the rows in order, since a missing Enterprise license or an unsynced user base will block the later checks regardless of how the filters are written.

FailureLikely causeHow to fix it
Groups never syncThe instance runs the Community edition, which does not include LDAP group synchronizationConfirm the Enterprise plan covers LDAP group sync (the pricing page lists it from Premium) and that the license is applied to the instance
Bind failure on connection testWrong system bind user distinguished name or password, or a bind account without read access to the group containerTest the bind user with an LDAP browser, grant read access to users and groups under the search base, then re-enter the credentials
Filter matches nothingGroup filter uses the wrong object class, attribute name or search base, so no directory objects are returnedRun the filter against the directory with the same base and scope, check whether your directory uses group or groupOfNames classes, and correct the attribute names
Filter matches too muchA broad filter pulls in distribution lists, security groups from other domains or service accounts, which then grant project rolesNarrow the filter to a dedicated OU or naming prefix and review the list of synchronized groups before enabling it for all projects
Nested groups missing membersMembership is inherited through child groups, and the configuration only reads direct membersConfirm how your directory represents nesting and whether the sync reads it, then test with a user who only belongs through a nested group
Members not added to groupsUser sync has not run, so the accounts behind the group members do not yet exist in OpenProjectRun or wait for the user synchronization job first, then trigger the group sync so membership can resolve to existing accounts
LDAPS certificate errorsThe directory certificate is not trusted by the OpenProject container or host, or its name does not match the server addressInstall the internal certificate authority into the trust store used by the deployment, and match the server hostname in the configuration to the certificate name
Roles removed unexpectedlyA user dropped out of the source group, the filter changed, or the directory returned an empty result during an outageCheck the directory membership and sync log for that user, restore the group, and confirm that a failed directory read does not clear existing memberships

Questions buyers ask about OpenProject LDAP group sync

How much does OpenProject LDAP group synchronization cost?

LDAP group synchronization is an Enterprise feature, so the cost is the subscription plus the work to configure it. OpenProject's pricing lists LDAP user and group sync from the Premium plan, which is priced at 15.95 euros per named user per month with a 100-user minimum, according to OpenProject's pricing page. Basic is 5.95 euros and Professional is 10.95 euros per user per month, but neither lists group sync, so confirm the plan with the vendor before you buy. The subscription recurs monthly, while configuration, testing and handover are usually one-time costs. Ask any partner quote to separate the license, the directory work, the testing and the support retainer, if one is wanted.

Can our own team set up LDAP group sync without a partner?

Yes, a team with directory and OpenProject administration skills can configure it, since the settings are documented in OpenProject's LDAP connection guide. The hard parts are less about the settings and more about the group design: deciding which directory groups map to which project roles, writing filters that match only the intended groups, and testing sign-in and removals without locking out administrators. Teams without a second OpenProject administrator or a staging instance often find the testing step is where a partner saves time. Keep the break-glass admin login working before any change.

How long does LDAP group sync take to set up?

The duration depends mainly on how many groups exist, how cleanly they are named, and how many project roles they must map to. A small directory with a few groups and one role model is a short configuration exercise, while a large Active Directory with nested groups, overlapping memberships and many projects needs a mapping workshop before any settings change. Sync timing also matters: group membership updates follow the scheduled sync, so verification has to wait for at least one run. Ask any provider for a written timeline that lists the workshop, staging test, production change and post-go-live check separately.

What do we need from the identity team for this work?

The identity team needs to provide a read-only service account for directory queries, the base distinguished name for users and groups, and the exact group names or attributes that will drive mapping. They also confirm whether they use nested groups, how group membership is maintained, and which groups are allowed to grant admin rights. Expect to agree on a change window, because filter mistakes can add or remove access across many users at once. Ask the identity team to review the filters before production, since they know which groups are stale or shared.

How does Active Directory licensing affect LDAP group sync?

OpenProject's Enterprise license is separate from Microsoft licensing. Active Directory Domain Services is part of Windows Server, and Microsoft's Windows Server 2025 pricing page lists a suggested price of 1,176 US dollars for Standard and 6,771 US dollars for Datacenter for 16 core licenses, with prices varying by region. Windows Server also requires Client Access Licenses for every user or device that accesses the server. If your directory already exists, you do not buy new Windows licenses for OpenProject, but you should confirm your existing Client Access License position with Microsoft or your reseller before adding a new directory-dependent service.

What breaks most often with LDAP group sync?

The most common failures come from filters that match too much or too little, nested groups that the filter does not expand as expected, and changes to group names that silently remove access. Another frequent issue is an unscoped directory account that can read more than the sync needs. Test each filter against a sample of real accounts in a staging instance, and record which OpenProject roles each group grants before enabling sync. Check the sync log after each run and confirm that a removed directory member loses access on the next scheduled sync.

What should we ask for in a quote for LDAP group sync?

Ask for a written scope that names the directory type, the number of groups and projects in scope, the planned role mapping, and the environments involved. Request the exact OpenProject plan the quote assumes, and whether the license is included or billed separately. Ask what testing is included, how removals and rollback are handled, and who performs the production change. Also ask for the handover format, such as a configuration record and runbook, and whether any post-go-live support is an extra retainer. A quote that lists none of these items is hard to compare.

How DeployOpen scopes and delivers LDAP group sync

LDAP group sync changes who can see and edit project data, so the work starts with the directory and ends with evidence that the mapping does what the design says. The cards below follow the order DeployOpen uses: agree the scope in writing, design the mapping, build and test in your environment, then hand over documentation and optional support.

Written scope before any work

Most engagements are fixed-scope, so the group sync scope, deliverables and timeline are agreed in writing before work starts. The scope names which OpenProject instance, which directory domains and which projects are in play. Ask for the written scope to state the Enterprise plan the sync depends on, so licensing is settled before configuration begins. Confirm who on your side approves the scope and any changes to it.

OpenProject pricing

Directory group design review

DeployOpen reviews how your Active Directory or LDAP groups are built before anything is mapped. The review looks at nested groups, group scope, naming conventions, ownership and whether groups mirror projects, teams or roles. Stale groups, duplicate memberships and groups that hold far more people than intended are common findings. Ask for a list of the groups that will drive OpenProject access and who maintains each one.

Group to project role mapping

The mapping decides which directory group grants which OpenProject role on which project. DeployOpen documents each rule, including the default role for new members and what happens when a user belongs to several groups with different rights. Agree the mapping in writing with the project owners, because an overly broad role is the most likely source of access problems. Keep the mapping table as a controlled document that changes through review.

Filters and sync timing

Filters limit which directory groups OpenProject reads, which keeps unrelated groups out of the instance and limits the load on the directory. Sync timing sets how quickly membership changes appear after a directory change. DeployOpen tests filters against real group membership in your environment and confirms the schedule your operations team accepts. Ask whether removals from a group take effect the same way as additions, since removals are the change that protects you.

LDAP connections docs

Test plan and verification

DeployOpen builds a test plan that covers add, change and remove cases for each mapped group, plus users in several groups and users outside the filter. Tests run in your staging or test environment with test accounts that match production group membership. Each result is recorded so you can see which access was granted and why. Ask for failed cases to be fixed and retested before go-live.

Documentation, handover and retainer

The handover package covers the mapping table, filter definitions, sync settings, the test results, rollback steps and the named owners for each directory group. Your administrators should be able to explain every access path without DeployOpen present. Optional retainer support covers changes to the group design, upgrades and periodic retesting after directory changes. Confirm the retainer terms in writing before the handover.

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.