{"id":27304375,"url":"https://github.com/larsks/so-example-716344","last_synced_at":"2026-02-07T23:03:55.630Z","repository":{"id":66821305,"uuid":"533493159","full_name":"larsks/so-example-716344","owner":"larsks","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-12T11:28:09.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T09:06:30.294Z","etag":null,"topics":["example","stackoverflow"],"latest_commit_sha":null,"homepage":null,"language":null,"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/larsks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2022-09-06T20:32:43.000Z","updated_at":"2023-09-01T13:06:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"9df79afc-fa51-483a-88f0-c4607eb3cfae","html_url":"https://github.com/larsks/so-example-716344","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/larsks/so-example-716344","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsks%2Fso-example-716344","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsks%2Fso-example-716344/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsks%2Fso-example-716344/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsks%2Fso-example-716344/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsks","download_url":"https://codeload.github.com/larsks/so-example-716344/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsks%2Fso-example-716344/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29211595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T22:58:45.823Z","status":"ssl_error","status_checked_at":"2026-02-07T22:58:45.272Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["example","stackoverflow"],"created_at":"2025-04-12T03:24:33.492Z","updated_at":"2026-02-07T23:03:55.602Z","avatar_url":"https://github.com/larsks.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"This repository accompanies [this answer](https://unix.stackexchange.com/a/716379/4989) on unix.stackexchange.com.\n\nTo deploy the test environment using Podman:\n\n```\npodman run --replace --pull=always -d -p 127.0.0.1:3890:389 --name slapd \\\n  -v $PWD/config:/docker-entrypoint.d ghcr.io/larsks/docker-slapd-example:centos\n```\n\nOr Docker:\n\n```\ndocker run --pull=always -d -p 127.0.0.1:3890:389 --name slapd \\\n  -v $PWD/config:/docker-entrypoint.d ghcr.io/larsks/docker-slapd-example:centos\n```\n\nThis will give you a slapd server running on `localhost:3890`. You should be able to perform an `ldapsearch` like this:\n\n```\nldapsearch -LLL -H ldap://localhost:3890 -x -D cn=admin,dc=yln,dc=info -w secret -b dc=yln,dc=info\n```\n\nWhich will produce:\n\n```\ndn: dc=yln,dc=info\nobjectClass: organization\nobjectClass: dcObject\no: yln.info\ndc: yln\n\ndn: ou=users,dc=yln,dc=info\nobjectClass: organizationalUnit\nou: users\n\ndn: cn=alice,ou=users,dc=yln,dc=info\nobjectClass: organizationalPerson\nobjectClass: simpleSecurityObject\ncn: alice\nsn: user\nuserPassword:: c2VjcmV0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsks%2Fso-example-716344","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsks%2Fso-example-716344","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsks%2Fso-example-716344/lists"}