Creating an inbound rule for a connection through an LDAP gateway
You can configure an LDAP filter in an inbound rule that specifies which users to provision.
|
If an LDAP gateway is deleted, provisioning and authentication policy references should be updated accordingly. Learn more in Deleting an LDAP gateway. |
Before you begin
Make sure you:
-
Create an LDAP gateway connection.
The connection must be enabled before you can use it in a rule. Learn more in Connections.
Not all provisioning connection types support this provisioning. Learn more in Provisioning.
-
Have the directory path, LDAP base distinguished name (DN). This specifies the LDAP directory location from where users and groups are synced into PingOne.
Steps
-
In the PingOne admin console, go to Integrations > Provisioning.
-
Click and then click New Rule.
-
For Sync Direction, select PingOne as Target.
-
For Available Connections, click the Plus icon () next to the appropriate LDAP gateway connection to set it as the source and then click Continue.
-
In the Rule Details panel, enter a Name and Description for the rule and then click Next.
-
In the Directory Configuration panel, set directory settings for users and groups:
-
In the Identify Users and Groups section, enter one or more objectClass values in the User objectClasses and Group objectClasses fields. Learn more about objectClass values in Configuring custom objectClass values for LDAP inbound provisioning.
-
(Optional) To restore vendor defaults, click Restore defaults next to either field.
LDAP gateway version 4.5.0 or later is required to add or edit objectClass values.
-
-
In the Directory Path (LDAP Base DN) field, enter the LDAP base DN that specifies the LDAP directory location from where users and groups are synced into PingOne. Learn more in Distinguished Names in the Microsoft LDAP documentation.
-
For User Relative DN, enter the relative distinguished name that specifies the location of user accounts in your directory, for example
ou=People. This value is added to the main directory address base DN to locate users.Click Add Condition to enter an LDAP filter that specifies the users to provision to PingOne. Learn more about LDAP filters in the LDAP documentation.
-
For Groups Relative DN, enter the relative distinguished name that specifies the location of group accounts in your directory, for example
cn=Groups. This value is added to the main directory address base DN to locate groups. -
For Group LDAP Filter, click Add Condition to enter an LDAP filter that specifies the groups to provision to PingOne.
Group LDAP filter requires LDAP Gateway version 4.4.0 or later.
-
-
Click Next.
-
In the Attribute Mapping panel, map attributes between the source and PingOne to ensure users are provisioned correctly.
-
On the Users tab:
-
To add an attribute mapping, click Add and enter the source and target attributes.
-
To add a new source attribute, enter the attribute name. In the list, select the ADD:ADD:<attribute-name> attribute. Map the added attribute to a target attribute.
-
To use the expression builder, click the Gear icon (). Learn more in Using the expression builder.
-
To delete a mapping, click Delete icon ().
On the Groups tab, the group attribute mappings can’t be edited.
Group membership updates aren’t immediately synced to PingOne. To sync group membership, you must either modify an additional user attribute or initiate a manual synchronization through the PingOne admin console.
-
-
-
Click Next.
-
In the Onboarding Settings panel, define how users are matched, linked, and managed when onboarding into PingOne:
-
In the Populations list, select a population. When users are synced to PingOne, they’re added to the specified population.
-
For Authoritative Identity Provider, PingOne is automatically set as the authoritative identity provider (IdP).
-
Select the Set default password for new users checkbox to specify the default password in PingOne for users synced in from an external identity store as a source.
-
Click Define Password Logic to create a complex password using the functions in the expression builder. Learn more in Using the expression builder.
-
Select the Force password reset on first sign on checkbox to force users to reset their password the first time they authenticate through PingOne.
-
In the MFA Device Management list, select one of the following to control how the provisioner can impact multi-factor authentication (MFA) devices that are managed by a PingOne service, such as PingOne MFA and PingID:
-
Merge with devices in PingOne (default): Select this option to add a device from the identity store into a user’s existing device in PingOne.
-
Overwrite devices in PingOne: Select this option to replace configured user devices in PingOne from the identity store. Only new devices mapped under attribute mappings are added.
-
Do not manage devices: Select this option to disable device management. This option is recommended for users using PingID in the same environment. Inbound provisioning and PingID use the same device nicknames and cause device unpairing, which this option helps avoid.
-
-
-
To enable the rule, click the toggle at the top of the details panel to the right (blue).
You can disable the rule by clicking the toggle to the left (gray).
Result
The Sync Status appears and the rule is listed under Rules. Learn more in Sync status.
Configuring custom objectClass values for LDAP inbound provisioning
You can configure custom objectClass values to control which LDAP entries are included in an inbound provisioning sync. By specifying custom objectClass values in a provisioning rule, you can override the default LDAP filters and sync entries that use non-standard or structural objectClass schemas. Custom objectClass values are supported only for inbound provisioning.
|
LDAP gateway version 4.5.0 or later is required to add or edit objectClass values. On older gateway versions, the fields are read-only and a warning banner is displayed. Provisioning continues using the saved values. |
Provisioning capabilities
The custom objectClass provisioning capabilities are listed in the following table:
| Resource | Feature | Description |
|---|---|---|
User |
Custom ObjectClass filter |
Overrides the default user objectClass filter with one or more custom values |
Group |
Custom ObjectClass filter |
Overrides the default group objectClass filter with one or more custom values |
User and Group |
Restore defaults |
Resets to LDAP vendor defaults based on the connection’s LDAP type |
Configuring custom objectClass values for an LDAP inbound rule
If your LDAP directory uses a different schema than the LDAP vendor default, configure custom objectClass values, such as a custom structural objectClass like nraPerson or employeePerson.
Default objectClass values by LDAP type
If you don’t configure custom objectClass values, PingOne uses the following defaults based on the source connection’s LDAP type:
| LDAP type | Default user objectClass | Default group objectClass |
|---|---|---|
Active Directory |
|
|
PingDirectory |
|
|
Other (Generic/OpenLDAP) |
|
|
Membership limitation for independent structural object classes
PingOne doesn’t synchronize group membership for entries whose structural objectClass is defined directly under top, the root class from which all LDAP object classes inherit. This means the entry doesn’t inherit from the directory’s standard user or group classes. This is a limitation of the directory server, not PingOne. The directory computes membership only for classes it recognizes as groups:
-
PingDirectory:
groupOfNames,groupOfUniqueNames, orgroupOfEntries -
Active Directory: standard group classes
The same behavior has been observed with Radiant Logic and OpenLDAP. Custom classes that inherit from the directory’s recognized group classes sync membership normally. Auxiliary classes aren’t affected.