{"id":20532011,"url":"https://github.com/monogramm/mauticldapauthbundle","last_synced_at":"2025-07-19T13:33:09.823Z","repository":{"id":34445953,"uuid":"179111269","full_name":"Monogramm/MauticLdapAuthBundle","owner":"Monogramm","description":":elephant: :rocket: Enables LDAP authentication for mautic 2 and newer","archived":false,"fork":false,"pushed_at":"2022-09-04T17:42:00.000Z","size":373,"stargazers_count":11,"open_issues_count":4,"forks_count":12,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-02T21:43:11.277Z","etag":null,"topics":["authentication","ldap","mautic","mixins","php","plugin"],"latest_commit_sha":null,"homepage":"https://github.com/mautic/mautic","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Monogramm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-02T15:51:14.000Z","updated_at":"2024-02-20T15:36:55.000Z","dependencies_parsed_at":"2022-09-16T05:20:59.985Z","dependency_job_id":null,"html_url":"https://github.com/Monogramm/MauticLdapAuthBundle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Monogramm/MauticLdapAuthBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2FMauticLdapAuthBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2FMauticLdapAuthBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2FMauticLdapAuthBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2FMauticLdapAuthBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Monogramm","download_url":"https://codeload.github.com/Monogramm/MauticLdapAuthBundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Monogramm%2FMauticLdapAuthBundle/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264703287,"owners_count":23651942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","ldap","mautic","mixins","php","plugin"],"created_at":"2024-11-16T00:12:02.008Z","updated_at":"2025-07-11T01:10:36.207Z","avatar_url":"https://github.com/Monogramm.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Packagist](https://img.shields.io/packagist/l/monogramm/mautic-ldap-auth-bundle.svg)](LICENSE)\n[![Packagist Version](https://img.shields.io/packagist/v/monogramm/mautic-ldap-auth-bundle.svg)](https://packagist.org/packages/monogramm/mautic-ldap-auth-bundle)\n[![Build Status](https://travis-ci.org/Monogramm/MauticLdapAuthBundle.svg)](https://travis-ci.org/Monogramm/MauticLdapAuthBundle)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Monogramm/MauticLdapAuthBundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Monogramm/MauticLdapAuthBundle/?branch=master)\n[![mautic](https://img.shields.io/badge/mautic-%3E%3D%202.11-blue.svg)](https://www.mautic.org/mixin/ldapauth/)\n\n# Mautic LDAP Authentication Plugin\n\nThis Plugin enables LDAP authentication for mautic 2 and newer. Even though Mautic offers SAML authentication, the main objective is to offer an alternative to those who do not want to setup SSO in their company just for mautic :smiley:\n\n## Installation via composer (preferred)\nExecute `composer require monogramm/mautic-ldap-auth-bundle` in the main directory of the mautic installation.\n\n## Installation via .zip\n1. Download the [master.zip](https://github.com/Monogramm/MauticLdapAuthBundle/archive/master.zip), extract it into the `plugins/` directory and rename the new directory to `MauticLdapAuthBundle`.\n2. Install `symfony/ldap` requirements with composer: `composer require symfony/ldap:~2.8`\n3. Clear the cache via console command `php app/console cache:clear --env=prod` (might take a while) *OR* manually delete the `app/cache/prod` directory.\n\n## Configuration\nNavigate to the Plugins page and click \"Install/Upgrade Plugins\". You should now see a \"LDAP Auth\" plugin.\n\n-   ![LDAP Auth Plugin](docs/mautic_ldap_plugins_01.png)\n-   ![LDAP Auth Plugin - Published](docs/mautic_ldap_plugins_02.png)\n-   ![LDAP Auth Plugin - Features](docs/mautic_ldap_plugins_03.png)\n\nAfter activating the plugin, you can now go to \"Configuration \u003e LDAP Settings\" to edit the parameters:\n\n![LDAP Settings](docs/mautic_ldap_settings_02.png)\n\nYou can also edit manually your parameters in `local.php` (adapt to your LDAP configuration):\n```php\n    //'parameters' =\u003e array(\n    // ...\n        'ldap_auth_host' =\u003e 'ldap.mysupercompany.com',\n        'ldap_auth_port' =\u003e 389,\n        'ldap_auth_version' =\u003e 3,\n        'ldap_auth_ssl' =\u003e false,\n        'ldap_auth_starttls' =\u003e true,\n        'ldap_auth_base_dn' =\u003e 'ou=People,dc=ldap,dc=mysupercompany,dc=com',\n        'ldap_auth_user_query' =\u003e '(objectclass=inetOrgPerson)',\n        'ldap_auth_username_attribute' =\u003e 'uid',\n        'ldap_auth_email_attribute' =\u003e 'mail',\n        'ldap_auth_firstname_attribute' =\u003e 'givenname',\n        'ldap_auth_lastname_attribute' =\u003e 'sn',\n        'ldap_auth_fullname_attribute' =\u003e 'displayname',\n        'ldap_auth_isactivedirectory' =\u003e false,\n    // ...\n```\n\nA sample configuration for Active Directory is \n```php\n    //'parameters' =\u003e array(\n    // ...\n        'ldap_auth_host' =\u003e 'ad.mysupercompany.com',\n        'ldap_auth_port' =\u003e 389,\n        'ldap_auth_version' =\u003e 3,\n        'ldap_auth_ssl' =\u003e false,\n        'ldap_auth_starttls' =\u003e false,\n        'ldap_auth_base_dn' =\u003e 'cn=Users,dc=ad,dc=mysupercompany,dc=com',\n        'ldap_auth_user_query' =\u003e '(objectclass=user)(memberof=marketing)',     // careful this can be case sensitive!\n        'ldap_auth_username_attribute' =\u003e 'samaccountname',                     // this is case sensitive!\n        'ldap_auth_email_attribute' =\u003e 'mail',\n        'ldap_auth_firstname_attribute' =\u003e 'givenname',\n        'ldap_auth_lastname_attribute' =\u003e 'sn',\n        'ldap_auth_fullname_attribute' =\u003e 'displayname',\n        'ldap_auth_isactivedirectory' =\u003e true,\n        'ldap_auth_activedirectory_domain' =\u003e 'ad.mysupercompany.com',\n    // ...\n```\n\nOnce the parameters are set, open a new browser and check connection through LDAP. **Do not log out until LDAP configuration is valid!**\n\n## Developments in progress\n\n* Test LDAP Authentication settings\n* LDAP bind account and Group management\n\n## Contributing\n\nIdeas and suggestions are welcome. Feel free to create an issue or PR on Github using our [CONTRIBUTING](CONTRIBUTING.md) guidelines.\n\n## License\n\nSee [LICENSE](LICENSE) file.\n\n## Author(s)\n\n* [Monogramm](https://github.com/Monogramm)\n\n## Awesome contributor(s)\n\n* [terdinatore](https://github.com/terdinatore)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogramm%2Fmauticldapauthbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonogramm%2Fmauticldapauthbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonogramm%2Fmauticldapauthbundle/lists"}