{"id":15642864,"url":"https://github.com/nickstenning/docker-slapd","last_synced_at":"2025-04-30T11:13:49.398Z","repository":{"id":14753489,"uuid":"17474717","full_name":"nickstenning/docker-slapd","owner":"nickstenning","description":"A Docker image for slapd, the OpenLDAP standalone LDAP daemon","archived":false,"fork":false,"pushed_at":"2018-11-18T16:03:51.000Z","size":6,"stargazers_count":65,"open_issues_count":0,"forks_count":45,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T11:13:27.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/nickstenning.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}},"created_at":"2014-03-06T10:54:21.000Z","updated_at":"2025-04-29T13:43:53.000Z","dependencies_parsed_at":"2022-07-22T06:32:14.030Z","dependency_job_id":null,"html_url":"https://github.com/nickstenning/docker-slapd","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/nickstenning%2Fdocker-slapd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickstenning%2Fdocker-slapd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickstenning%2Fdocker-slapd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickstenning%2Fdocker-slapd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickstenning","download_url":"https://codeload.github.com/nickstenning/docker-slapd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251687140,"owners_count":21627531,"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-10-03T11:57:54.994Z","updated_at":"2025-04-30T11:13:49.096Z","avatar_url":"https://github.com/nickstenning.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## slapd\n\nA basic configuration of the OpenLDAP server, slapd, with support for data\nvolumes.\n\nThis image will initialize a basic configuration of slapd. Most common schemas\nare preloaded (all the schemas that come preloaded with the default Ubuntu\nPrecise install of slapd), but the only record added to the directory will be\nthe root organisational unit.\n\nYou can (and should) configure the following by providing environment variables\nto `docker run`:\n\n- `LDAP_DOMAIN` sets the LDAP root domain. (e.g. if you provide `foo.bar.com`\n  here, the root of your directory will be `dc=foo,dc=bar,dc=com`)\n- `LDAP_ORGANISATION` sets the human-readable name for your organisation (e.g.\n  `Acme Widgets Inc.`)\n- `LDAP_ROOTPASS` sets the LDAP admin user password (i.e. the password for\n  `cn=admin,dc=example,dc=com` if your domain was `example.com`)\n\nOptionally, you can configure the following options:\n\n- `SLAPD_NOFILE_SOFT` sets the open file softlimit to be (defaults to the system   limit or 16,384, whichever is smaller)\n\nFor example, to start a container running slapd for the `mycorp.com` domain,\nwith data stored in `/data/ldap` and config in `/data/ldapconfig` on the host,\nuse the following:\n\n    docker run -v /data/ldap:/var/lib/ldap \\\n               -v /data/ldapconfig:/etc/ldap/slapd.d \\\n               -e LDAP_DOMAIN=mycorp.com \\\n               -e LDAP_ORGANISATION=\"My Mega Corporation\" \\\n               -e LDAP_ROOTPASS=s3cr3tpassw0rd \\\n               -d nickstenning/slapd\n\nYou can find out which port the LDAP server is bound to on the host by running\n`docker ps` (or `docker port \u003ccontainer_id\u003e 389`). You could then load an LDIF\nfile (to set up your directory) like so:\n\n    ldapadd -h localhost -p \u003chost_port\u003e -c -x -D cn=admin,dc=mycorp,dc=com -W -f data.ldif\n\n**NB**: Please be aware that by default docker will make the LDAP port\naccessible from anywhere if the host firewall is unconfigured.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickstenning%2Fdocker-slapd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickstenning%2Fdocker-slapd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickstenning%2Fdocker-slapd/lists"}