Cloudi-Fi NAC can use your existing LDAP directory (OpenLDAP, Active Directory, or any LDAPv3-compliant server) as the identity source for 802.1X network access. Employees connect with their standard corporate credentials — no local user database to maintain in Cloudi-Fi.
During an 802.1X session, the Cloudi-Fi RADIUS service:
- Terminates the EAP exchange with the supplicant.
- Binds to your directory to locate and validate the user.
- Reads the attributes you mapped, and returns an identity and a group value.
- Applies the security profile associated with that group (VLAN, ACL, or role, depending on your network equipment).
Setting up a provider takes four configuration steps. Each step has a built-in Data check that validates your input against the live directory before you continue, so you can catch a firewall, bind, or attribute problem immediately instead of during a client test.
1. Prerequisites
Collect the following before starting. All of it comes from your directory team.
| Item | Notes |
|---|---|
| Server hostname or IP | A DNS hostname is required if you use LDAPS with certificate validation. |
| Port | 636 for LDAPS (recommended), 389 for cleartext LDAP. |
| Bind DN | A dedicated read-only service account, expressed as a full DN — for example cn=svc-cloudifi,ou=services,dc=example,dc=com. |
| Bind password | Set a non-expiring password on the service account, or plan a rotation procedure. |
| User search base (BaseDN) | The branch holding your user objects, for example ou=users,dc=example,dc=com. |
| Attribute names | The attributes carrying the login name, display name, and group membership. |
Network reachability
Your directory must accept connections from the Cloudi-Fi platform. Allow inbound TCP on your chosen port from the Cloudi-Fi source ranges published in your tenant's onboarding pack, and verify that any intermediate firewall, NAT rule, or cloud security group permits the flow.
TLS requirements for LDAPS
For port 636, the certificate presented by your directory must:
- Be issued by a publicly trusted CA, or by a private CA whose chain you have provided to Cloudi-Fi.
- Contain the hostname you enter in the wizard, in the Subject Alternative Name field.
- Be valid (not expired) and served with its full intermediate chain.
2. Step 1 — Select the provider type
- Go to
Networks→NAC Providers. - Click Add NAC provider.
- In the Add authentication provider dialog, select LDAP provider.
- Click Next.
The wizard now shows five stages: Type, Setup, Search, Mapping, Done. When you later edit an existing provider through Configure, the Type stage is omitted and only the four configuration stages appear.
3. Step 2 — Setup: connection and service account
Enter the connection parameters for your directory.
| Field | Required | Description |
|---|---|---|
| Name | Yes | A label for this provider in the Cloudi-Fi console. Use something recognisable, such as Corporate LDAPs or AD – EMEA. |
| Server IP or hostname | Yes | FQDN or IP of the directory. Use the FQDN when connecting over LDAPS. |
| Server port | Yes | 636 for LDAPS, 389 for LDAP. |
| Bind DN | Yes | Full DN of the read-only service account. |
| Bind password | Yes | Password for that account. |
Validate the connection
Click Test in the Data check section. The Result field returns Test successful when Cloudi-Fi has opened the connection, completed the TLS handshake if applicable, and bound successfully with the service account.
Do not continue until this test passes — a failure here is always a network, TLS, or credential problem, and every later step depends on it.
Click Next.
4. Step 3 — Search: locating user objects
Tell Cloudi-Fi where to look for users.
| Field | Required | Description |
|---|---|---|
| User search (BaseDN) | Yes | The branch searched for user entries, for example ou=users,dc=example,dc=com. Subtrees below this DN are included. |
| User search Filter | No | An optional LDAP filter restricting which entries are eligible, for example (objectClass=inetOrgPerson) or (&(objectClass=user)(memberOf=cn=wifi-users,ou=groups,dc=example,dc=com)). Leave empty to accept any entry under the BaseDN. |
Validate the search
Click Test. Cloudi-Fi runs the search and returns Status : success together with the raw LDAP entry of a sample user, so you can see exactly which attributes your directory exposes to the service account:
{
"dn": "uid=curie,ou=scientists,dc=example,dc=com",
"objectClass": [ "inetOrgPerson", "posixAccount" ],
"uid": "curie",
"cn": "Marie Curie",
"sn": "Curie",
"givenName": "Marie",
"mail": "curie@example.com",
"title": "Research Scientist",
"departmentNumber": "SCI-03",
"uidNumber": "2005",
"gidNumber": "2002",
"homeDirectory": "/home/curie",
"memberOf": []
}
Read this output carefully — it is the reference for the next step. Note which attribute holds the login name, which holds the display name, and whether memberOf is populated. In the example above memberOf is empty, so group membership has to come from gidNumber instead.
Click Next.
5. Step 4 — Mapping: directory attributes to Cloudi-Fi fields
Map the attributes observed in the previous step onto the fields Cloudi-Fi uses to build the user's network identity.
| Field | Required | Description |
|---|---|---|
| Identifier | Yes | The attribute carrying the user's login name. This is the value matched against the username supplied by the supplicant, and the value shown in access logs. |
| Full name | No | The attribute holding the display name, used in reporting. |
| Group name | No | The attribute carrying group membership. Its value is returned as the user's profile and drives security profile selection. |
| Allowed groups | No | A list of group values permitted to authenticate. * accepts every group. Enter one value per line to restrict access to specific groups. |
Attribute names are matched as your directory publishes them, so copy them from the Search step output rather than typing from memory.
Validate the mapping
Click Test. The Result field returns the payload Cloudi-Fi will build for an authenticated user:
{
"identifier": "curie",
"fullName": "Marie Curie",
"profile": "2002"
}
Check that all three values are populated and correct. An empty identifier means the attribute name does not match; an empty profile means the group attribute is absent or empty on the user entry.
Click Save.
6. Step 5 — Done: activate the provider
The provider now appears as a card on the NAC Providers page, showing its name and creation date, with Logs and Configure actions.
To put it into service:
- Attach the provider to the 802.1X network using a NAC policies
- Go to Policies > NAC
End-to-end verification
Test with a real client before announcing the change:
- Connect a test device to the 802.1X SSID with a known directory account.
- Confirm the client obtains an IP address and the expected level of access.
- Open Logs on the provider card and confirm the authentication is recorded with the correct identifier and profile.
- Repeat with an account from a different group to confirm profile differentiation works.
7. Troubleshooting
| Symptom | Likely cause | Resolution |
|---|---|---|
| Setup test fails with a connection or timeout error | Port blocked, wrong port, or hostname not resolvable | Verify firewall rules allow the Cloudi-Fi source ranges on the port, and that the FQDN resolves publicly. |
| Setup test fails with a TLS or certificate error | Certificate expired, hostname mismatch, incomplete chain, or private CA not trusted | Check the SAN matches the hostname entered, serve the full intermediate chain, and provide your private CA to Cloudi-Fi if applicable. |
| Setup test fails with invalid credentials | Bind DN not expressed as a full DN, or wrong password | Use the complete DN (cn=…,ou=…,dc=…), not a short login name. Confirm the account is not locked or expired. |
| Search test returns no entry | BaseDN points to the wrong branch, filter too restrictive, or the service account lacks read rights | Widen the BaseDN, remove the filter temporarily, and confirm the service account can read user objects. |
Mapping test returns an empty identifier | Attribute name does not exist on the entry | Copy the exact attribute name from the Search step output. |
Mapping test returns an empty profile | Group attribute empty on the user entry — common when memberOf is used with POSIX accounts | Use the attribute that is actually populated, such as gidNumber, or populate group membership in the directory. |
| Authentication succeeds but the client gets the wrong access | Group value not mapped to a security profile | Check that the value returned in profile matches a configured security profile. |
| Some users are rejected while others succeed | Allowed groups does not include their group | Add the missing group values, or set * while validating the deployment. |
| Authentication fails only for certain clients | EAP method mismatch between supplicant and directory password storage | Align the supplicant profile with the EAP method your directory can answer. |