{"id":19096646,"url":"https://github.com/sapcc/ldap2slack-user-sync","last_synced_at":"2026-06-04T16:31:54.893Z","repository":{"id":41954533,"uuid":"160538505","full_name":"sapcc/ldap2slack-user-sync","owner":"sapcc","description":"Sync AD users from LDAP group to Slack group","archived":false,"fork":false,"pushed_at":"2023-12-15T05:29:56.000Z","size":24,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":53,"default_branch":"master","last_synced_at":"2025-02-19T18:47:24.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/sapcc.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":"2018-12-05T15:26:35.000Z","updated_at":"2023-02-24T09:36:54.000Z","dependencies_parsed_at":"2024-11-09T03:37:28.423Z","dependency_job_id":"062c7ad1-96c5-472c-8867-42951be38401","html_url":"https://github.com/sapcc/ldap2slack-user-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fldap2slack-user-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fldap2slack-user-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fldap2slack-user-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fldap2slack-user-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapcc","download_url":"https://codeload.github.com/sapcc/ldap2slack-user-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240149812,"owners_count":19755752,"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-09T03:37:24.066Z","updated_at":"2026-05-26T20:30:19.047Z","avatar_url":"https://github.com/sapcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# ldap2slack-user-sync\n\n## purpose\n\nAdds User from a specific LDAP Group to a specific Slack Group. \nYeah - more flexibility would be good #later - it's a simple script.\n\nIt does not add Users to Slack.\nIt just adds exsisting Slack User, which map to a LDAP User, to the group.\nIf deleted in the LDAP group than this causes a remove from the SLACK group, too.\n\n\n## debug hints\n\nYou can use either Enviroment or command line attributes - but this must be set.\n\n| Environment Var | sample |  \n|---|---|\n| LDAP_REGION |  e.g. development |   \n| LDAP_BIND_USER_CN  |  e.g. CN=user_cn_dummy,OU=Users,DC=%s,DC=COMPANY,DC=com (%s will be filled with LDAP_REGION)|   \n| LDAP_BIND_PWD |  well password for LDAP_BIND_USER_CN for Read Request |   \n| LDAP_HOST | e.g. ldap host, e.g. ldap.%s.company.com  |   \n| LDAP_PORT | 636 |   \n| LDAP_SEARCH_CN | LDAP search string  e.g CN=USER_CN,OU=Identities,DC=%s,DC=COMPANY,DC=COM |   \n| LDAP_BASE_CN | LDAP entry layer e.g. DC=%s,DC=COMPANY,DC=COM |   \n| SLACK_TOKEN | SLACK access token, e.g. xoxp-........-............-..............-50235a12bf60f31c0CCcec5ac72d93F68 |   \n\n## Visual Studio Code launch.json\n\nIf you use Visual Studio Code, you could use this .launch.json\n```\n{\n    \"version\": \"0.2.0\",\n    \"configurations\": [\n        {\n            \"name\": \"Launch\",\n            \"type\": \"go\",\n            \"request\": \"launch\",\n            \"mode\": \"debug\",\n            \"showLog\": false,\n            \"program\": \"${file}\",\n            \"env\": { \n                \"LDAP_BIND_USER_CN\":\"CN=USER_CN,OU=Identities,DC=%s,DC=COMPANY,DC=com\", \n                \"LDAP_HOST\":\"ldap.%s.company.com\",\n                \"LDAP_BIND_USER_CN\":\"CN=user_cn_dummy,OU=Users,DC=%s,DC=COMPANY,DC=com\",\n                \"LDAP_BIND_PWD\":\"whateverIsSecret\" \n                \"LDAP_SEARCH_CN\":\"CN=USER_CN,OU=Identities,DC=%s,DC=COMPANY,DC=COM\",\n                \"LDAP_BASE_CN\":\"DC=%s,DC=COMPANY,DC=COM\",\n                \"SLACK_TOKEN\":\"xoxp-........-............-..............-50235a12bf60f31c0CCcec5ac72d93F68\"\n            }\n        }\n    ]\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fldap2slack-user-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapcc%2Fldap2slack-user-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fldap2slack-user-sync/lists"}