Configure
LDAPCP Classic is deprecated. Migrating to LDAPCP SE is safe and easy.
Configure with administration pages#
LDAPCP comes with 2 administration pages added in central administration > Security:
- Global configuration: Add / remove LDAP servers and configure various settings.
- Claim types configuration: Define the claim types, and their mapping with LDAP objects.
Starting with v10, LDAPCP can be configured with PowerShell:
Show the current configuration#
This returns the overall configuration:
Enable augmentation#
This script enables the augmentation:
Set a LDAP filter#
This script excludes groups which start with “Domain”, such as “Domain Admins”, “Domain Computers”, “Domain Controllers”, etc…:
Add a claim type to LDAPCP#
If the SPTrustedLoginProvider has a custom claim type that is missing in LDAPCP, it can be added through PowerShell:
Remove a claim type from LDAPCP#
Persistence of the configuration#
LDAPCP configuration is stored as a persisted object in the SharePoint configuration database, and it can be returned with this SQL command: