How do I configure LDAP authentication?

Citadel can authenticate users against an external LDAP directory server, allowing seamless single sign-on across your organization. Citadel supports both the standard POSIX schema (RFC 2307, common with OpenLDAP and FreeIPA) and Microsoft Active Directory.

Recommendation: While you can configure LDAP settings in WebCit, it is generally much easier and strongly recommended to configure LDAP during initial setup using the setup program. This ensures that Citadel's initial administrator account and authentication mode are established correctly before users begin logging in.

Understanding LDAP Configuration Parameters

To connect Citadel to an LDAP directory, you will need the following information from your directory administrator:

Configuring LDAP in WebCit

To view or modify LDAP settings within WebCit:

  1. Click System Configuration in the sidebar.
  2. Select the Directory tab.
  3. Select your Authentication mode (such as LDAP (RFC2307) or Active Directory).
  4. Enter the server hostname, port, Base DN, Bind DN, and password.
  5. Click Save changes.

Note: Changes made on this screen do not take effect immediately. You must restart the Citadel server process for directory authentication changes to take effect.

Configure the LDAP connector in WebCit

Designating Administrators in LDAP Mode

Administrator privileges in LDAP mode are assigned based on directory group membership. Configure the LDAP group for administrator privileges setting (either in WebCit or during initial setup) with the name of the group you wish to grant administrative control, such as Domain Admins or citadel-admins.

Any directory user belonging to that LDAP group is automatically granted full administrator privileges upon logging into Citadel.

For more detailed instructions specific to Windows Server, refer to the Active Directory single sign-on guide.