Download the PHP package fortyseeds/ci4-shield-ldap without Composer
On this page you can find all versions of the php package fortyseeds/ci4-shield-ldap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fortyseeds/ci4-shield-ldap
More information about fortyseeds/ci4-shield-ldap
Files in fortyseeds/ci4-shield-ldap
Download fortyseeds/ci4-shield-ldap
More information about fortyseeds/ci4-shield-ldap
Files in fortyseeds/ci4-shield-ldap
Vendor fortyseeds
Package ci4-shield-ldap
Short Description Enhanced LDAP Authentication for CodeIgniter 4 Shield - Supports both Active Directory and OpenLDAP/FreeIPA
License MIT
Package ci4-shield-ldap
Short Description Enhanced LDAP Authentication for CodeIgniter 4 Shield - Supports both Active Directory and OpenLDAP/FreeIPA
License MIT
Please rate this library. Is it a good library?
Informations about the package ci4-shield-ldap
Enhanced LDAP Authentication for CodeIgniter 4 Shield
Enhanced version of the LDAP Authentication library for CodeIgniter 4 Shield that supports both Active Directory and OpenLDAP/FreeIPA/389 Directory servers.
Features
- ✅ Active Directory support (domain\username format)
- ✅ OpenLDAP/FreeIPA/389 Directory support (DN format)
- ✅ Automatic user creation on first login
- ✅ LDAP attribute synchronization
- ✅ Group membership handling
- ✅ Configurable attribute mapping
- ✅ Shield-compatible user identity management
Installation
Configuration
1. Basic Setup
Copy the configuration file to your app:
2. Configure for Active Directory
3. Configure for OpenLDAP/FreeIPA
4. Update Shield Configuration
5. Database Migration
The package includes database migrations for additional LDAP fields. Run:
Usage
Authentication Flow
- Active Directory: Users login with
domain\usernameor justusername - OpenLDAP/FreeIPA: Users login with their
uid(e.g.,john.doe)
The system automatically:
- Authenticates against LDAP
- Creates local user account on first login
- Synchronizes LDAP attributes
- Manages user identity for Shield compatibility
Testing LDAP Connection
Managing LDAP Users
Authentication Types Comparison
| Feature | Active Directory | OpenLDAP/FreeIPA |
|---|---|---|
| Login Format | domain\username |
uid or cn |
| DN Format | Automatic via domain | uid=user,cn=users,cn=accounts,dc=domain,dc=com |
| Service Account | domain\service or [email protected] |
cn=admin,dc=domain,dc=com |
| Search Base | OU=Users,DC=domain,DC=com |
cn=users,cn=accounts,dc=domain,dc=com |
| Primary Attributes | samaccountname, objectSID |
uid, ipaUniqueID |
Troubleshooting
Common Issues
- "Cannot assign null to property": Ensure LDAP attributes exist in your directory
- "UserIdentity not found": The enhanced version automatically creates email identities
- Connection timeout: Check firewall, ports (389/636), and network connectivity
- Authentication fails: Verify service account credentials and permissions
Debug Mode
Enable debug logging in your environment:
Check logs in writable/logs/ for detailed LDAP authentication information.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
MIT License - see LICENSE file for details.
Credits
- Original package by Ralf Kornberger
- Enhanced by FortySeeds for OpenLDAP/FreeIPA support
- Built for CodeIgniter 4 Shield
Changelog
v2.0.0 (Enhanced Version)
- ✅ Added OpenLDAP/FreeIPA/389 Directory support
- ✅ Flexible DN construction based on LDAP type
- ✅ Enhanced error handling and user identity management
- ✅ Improved attribute mapping for different LDAP servers
- ✅ Comprehensive documentation for both AD and OpenLDAP
v1.x (Original)
- Active Directory support only
All versions of ci4-shield-ldap with dependencies
PHP Build Version
Package Version
The package fortyseeds/ci4-shield-ldap contains the following files
Loading the files please wait ...