{"id":20963391,"url":"https://github.com/thorsten-l/ldap2zammad","last_synced_at":"2025-06-20T18:36:31.577Z","repository":{"id":191619466,"uuid":"685030351","full_name":"thorsten-l/ldap2zammad","owner":"thorsten-l","description":"ldap2zammad synchronizer","archived":false,"fork":false,"pushed_at":"2025-06-13T10:55:44.000Z","size":177,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T11:44:14.348Z","etag":null,"topics":["ldap","zammad"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thorsten-l.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-30T11:15:41.000Z","updated_at":"2025-06-13T10:55:47.000Z","dependencies_parsed_at":"2023-10-24T12:34:41.860Z","dependency_job_id":"314396f2-ea76-49de-9398-893bb0bdf4ef","html_url":"https://github.com/thorsten-l/ldap2zammad","commit_stats":null,"previous_names":["thorsten-l/ldap2zammad"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thorsten-l/ldap2zammad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fldap2zammad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fldap2zammad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fldap2zammad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fldap2zammad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thorsten-l","download_url":"https://codeload.github.com/thorsten-l/ldap2zammad/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thorsten-l%2Fldap2zammad/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260997852,"owners_count":23094984,"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":["ldap","zammad"],"created_at":"2024-11-19T02:44:42.720Z","updated_at":"2025-06-20T18:36:26.563Z","avatar_url":"https://github.com/thorsten-l.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ldap2zammad\n\nCreate, update and delete zammad user entries from a selected LDAP directory server.\n\n## LDAP to Zammad attribute mapping\n\nThe mapping will be done within a JavaScript function.\nThis `function` will be executed for every entry in the LDAP resultset.\n \n```javascript\n(\n  function ldap2zammad( mode, zammadUser, ldapEntry, config )\n  {\n    // mode : \"test\", \"create, \"update\"\n    \n    zammadUser.setFirstname(ldapEntry.getAttributeValue(\"givenname\"));\n    zammadUser.setLastname(ldapEntry.getAttributeValue(\"sn\"));\n    zammadUser.setEmail(ldapEntry.getAttributeValue(\"mail\"));\n    zammadUser.setPhone(ldapEntry.getAttributeValue(\"telephoneNumber\"));\n    zammadUser.setFax(ldapEntry.getAttributeValue(\"facsimileTelephoneNumber\"));\n    zammadUser.setWeb(\"https://www.myorg.de\");\n    zammadUser.setOrganization(\"MyOrg\");\n    zammadUser.setVerified(true);\n\n    if ( \"create\" === mode || \"test\" === mode )\n    {\n      if ( ldapEntry.getAttributeValue(\"institute\") === \"CC\" )\n      {\n        zammadUser.setDepartment( \"CC\" );\n        zammadUser.setRoles( [ \"Agent\", \"Customer\" ] );\n      }\n      else\n      {\n        zammadUser.setRoles( [ \"Customer\" ] ); // array of String\n      }\n    }\n  }\n);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fldap2zammad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthorsten-l%2Fldap2zammad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthorsten-l%2Fldap2zammad/lists"}