silverstripe / ldap
Adds LDAP support to SilverStripe including user synchronisation and authentication
Installs: 99 828
Dependents: 2
Suggesters: 1
Security: 0
Stars: 3
Watchers: 10
Forks: 15
Open Issues: 12
Type:silverstripe-vendormodule
Requires
- php: ^8.1
- laminas/laminas-authentication: ^2.13
- laminas/laminas-ldap: ^2.16
- laminas/laminas-session: ^2.16
- silverstripe/cms: ^5
- silverstripe/framework: ^5
- symbiote/silverstripe-queuedjobs: ^5
Requires (Dev)
- 3.x-dev
- 2.x-dev
- 2.2.x-dev
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.2.0-rc1
- 2.2.0-beta1
- 2.1.x-dev
- 2.1.0
- 2.1.0-rc1
- 2.1.0-beta1
- 2.0.x-dev
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-rc1
- 2.0.0-beta1
- 1.x-dev
- 1.6.x-dev
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.6.0-rc1
- 1.6.0-beta1
- 1.5.x-dev
- 1.5.0
- 1.5.0-rc1
- 1.5.0-beta1
- 1.4.x-dev
- 1.4.0
- 1.4.0-rc1
- 1.4.0-beta1
- 1.3.x-dev
- 1.3.0
- 1.3.0-rc1
- 1.3.0-beta1
- 1.2.x-dev
- 1.2.1
- 1.2.0
- 1.1.x-dev
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.x-dev
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta1
- dev-1.5-release
- dev-master
This package is auto-updated.
Last update: 2024-10-26 05:31:29 UTC
README
Introduction
This Silverstripe module provides integration with LDAP (Lightweight Directory Access Protocol) servers. It comes with two major components:
- Synchronisation of Active Directory users and group memberships via LDAP(S)
- Active Directory authentication via LDAP binding
These components may be used in any combination, also alongside the default Silverstripe authentication scheme.
Installation
composer require silverstripe/ldap
Overview
This module will provide an LDAP authenticator for SilverStripe, which will authenticate via LDAPS against members in your AD server. The module comes with tasks to synchronise data between Silverstripe and AD, which can be run on a cron.
To synchronise further personal details, LDAP synchronisation feature can be used, also included in this module. This allows arbitrary fields to be synchronised - including binary fields such as photos. If relevant mappings have been configured in the CMS the module will also automatically maintain Silverstripe group memberships, which opens the way for an AD-centric authorisation.
Note: If you are looking for SSO with SAML, please see the silverstripe-saml module.
Security
With appropriate configuration, this module provides a secure means of authentication and authorisation.
AD user synchronisation and authentication is hidden behind the backend (server to server communication), but must still use encrypted LDAP communication to prevent eavesdropping (either StartTLS or SSL - this is configurable). If the webserver and the AD server are hosted in different locations, a VPN could also be used to further encapsulate the traffic going over the public internet.
Note that the LDAP protocol does not communicate over HTTP. If this is what you're looking for, you may be interested in SAML instead.
In-depth guides
- Developer guide - configure your Silverstripe site
- CMS usage guide - manage LDAP group mappings
- Troubleshooting - common problems
Changelog
Please see the GitHub releases for changes.