{"id":20961733,"url":"https://github.com/heimrichhannot/contao-ldap","last_synced_at":"2025-05-14T07:30:59.113Z","repository":{"id":62515502,"uuid":"60589931","full_name":"heimrichhannot/contao-ldap","owner":"heimrichhannot","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-09T10:42:03.000Z","size":177,"stargazers_count":2,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T15:01:53.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heimrichhannot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-07T06:59:57.000Z","updated_at":"2021-07-09T10:42:06.000Z","dependencies_parsed_at":"2022-11-02T10:17:22.968Z","dependency_job_id":null,"html_url":"https://github.com/heimrichhannot/contao-ldap","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-ldap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-ldap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-ldap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heimrichhannot%2Fcontao-ldap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heimrichhannot","download_url":"https://codeload.github.com/heimrichhannot/contao-ldap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254094830,"owners_count":22013648,"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":[],"created_at":"2024-11-19T02:16:08.928Z","updated_at":"2025-05-14T07:30:57.583Z","avatar_url":"https://github.com/heimrichhannot.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e This module is abandoned. Please use [https://github.com/heimrichhannot/contao-ldap-bundle](https://github.com/heimrichhannot/contao-ldap-bundle) instead.\n\n# LDAP\n\nAdds LDAP support for frontend and backend.\n\n![alt Archive](docs/screenshot.png)\n\n*Configuration*\n\n## Technical instructions\n\n- The module defines a \"Person\" as a contao \"Member\" or a \"User\". Both Member and User inherit from Person. This way all relevant functionality is defined in Person superclasses.\n- When configuring and saving an LDAP access in tl_settings, all found members (or users) are imported as configured. One could redo this again in order to update all existing local ldap members (or users).\n- Local existing members (or users) remotely non existing are disabled, not deleted.\n- If LDAP groups have been selected in tl_settings, they're imported and assigned to the appropriate members (or users).\n- So local copies of remotely existing members (or users) and groups are created.\n- If a member (or user) tries to login with invalid credentials (i.e. credentials are really invalid or a local ldap member (or user) has not been created, yet) a local ldap copy is created on the fly.\n- In the frontend \"ModuleLdapLogin\" has to be used for LDAP support\n- The checkCredentials Hook is run everytime a LDAP member (or user) tries to login since after a successful login the password is set to some random value. This is necessary in order to keep local and remote member (or user) up to date.\n\n### Modules\n\nName | Description\n---- | -----------\nModuleLdapLogin | An ldap-extended login module\n\n### Hooks\n\nName | Arguments | Description\n---- | --------- | -----------\nldapAddPerson | $objPerson (instanceof MemberModel or UserModel), $arrSelectedGroups | Triggered after a new person has been added\nldapUpdatePerson | $objPerson (instanceof MemberModel or UserModel), $arrSelectedGroups | Triggered after a person has been updated\n\n### Registered Contao Hooks\n\nName | Description\n---- | -----------\nimportUser | Called after login credentials have been detected wrong since no local LDAP member (or user) is existing, yet\ncheckCredentials | Called everytime a LDAP member (or user) is detected -\u003e used for updating local LDAP members (or users) on the fly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-ldap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheimrichhannot%2Fcontao-ldap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheimrichhannot%2Fcontao-ldap/lists"}