{"id":18708600,"url":"https://github.com/va1da5/ldap-dev-server","last_synced_at":"2025-09-09T15:42:09.304Z","repository":{"id":106645552,"uuid":"295025276","full_name":"va1da5/ldap-dev-server","owner":"va1da5","description":"LDAP server for development and integration testing","archived":false,"fork":false,"pushed_at":"2020-09-12T21:41:22.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-11T13:50:44.677Z","etag":null,"topics":["development","integration","ldap","ldap-server","ldaps","ldif","poc","testing"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/va1da5.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":"2020-09-12T20:59:13.000Z","updated_at":"2021-04-23T16:46:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f791c824-3825-43fe-805f-ea1c5c172ac9","html_url":"https://github.com/va1da5/ldap-dev-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/va1da5/ldap-dev-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va1da5%2Fldap-dev-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va1da5%2Fldap-dev-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va1da5%2Fldap-dev-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va1da5%2Fldap-dev-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/va1da5","download_url":"https://codeload.github.com/va1da5/ldap-dev-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/va1da5%2Fldap-dev-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274319854,"owners_count":25263370,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["development","integration","ldap","ldap-server","ldaps","ldif","poc","testing"],"created_at":"2024-11-07T12:24:08.692Z","updated_at":"2025-09-09T15:42:09.254Z","avatar_url":"https://github.com/va1da5.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LDAP Server for DEV/PoC Testing\n\nStruggle free LDAP server meant for simulating MS AD. It could be used for development purpose and/or testing integrations with other tools. Out-of-the-box it contains an organization directory with few well known [characters](\u003chttps://en.wikipedia.org/wiki/Silicon_Valley_(TV_series)#Cast_and_characters\u003e).\n\nThis is mostly an updated version of [dwimberger/ldap-ad-it](https://github.com/dwimberger/ldap-ad-it) project.\n\n## Features\n\n- Relevant organization directory schema;\n- Directory management with embedded [phpLDAPAdmin](https://github.com/osixia/docker-phpLDAPadmin);\n- LDAP over TLS enabled. Root CA certificate is available;\n- Server customizable using environment variables.\n\n## Requirements\n\n- [Docker container environment](https://www.docker.com/get-started)\n- [docker-compose](https://docs.docker.com/compose/install/)\n\n## Installation\n\n```bash\n# Clone repository\ngit clone https://github.com/va1da5/ldap-dev-server.git\ncd ldap-dev-server\n\n# Pull and build required images\ndocker-compose pull\ndocker-compose build\n```\n\n## Usage\n\n- The server is started using one of the following commands:\n\n  ```bash\n  # Starts containers in an interactive mode\n  docker-compose up\n\n  # Starts containers in a detached mode\n  docker-compose up -d\n  ```\n\n  The server is going to bind to the default LDAP ports (`389/TCP` \u0026 `636/TCP`). If any of these ports are occupied by some other processes, those need to be updated to something else, like `10389/TCP` \u0026 `10636/TCP`. This can be achieved in [docker-compose.yml](./docker-compose.yml) file.\n\n- Once containers are started the phpLDAPAdmin server is going to be available on [https://localhost:6443](https://localhost:6443).\n\n  ```bash\n  # Credentials\n  User DN:  uid=admin,ou=system\n  Password: secret\n  ```\n\n- The server can also be queried using `ldapsearch`. Please find the examples below.\n\n  ```bash\n  # Plain text connection\n  ldapsearch -x -LLL -H \"ldap://localhost\" \\\n      -D \"uid=admin,ou=system\" -w \"secret\" \\\n      -b \"ou=users,dc=ad,dc=piedpiper,dc=com\" \"(cn=*)\" dn givenName\n\n  dn: cn=pp0001,ou=users,dc=ad,dc=piedpiper,dc=com\n  givenname: Richard\n\n  dn: cn=pp0003,ou=users,dc=ad,dc=piedpiper,dc=com\n  givenname: Dinesh\n  ...\n\n  # TLS connection\n  export LDAPTLS_REQCERT=never\n  ldapsearch -x -LLL -v -H \"ldaps://localhost:636\" \\\n      -D \"uid=admin,ou=system\" -w \"secret\" \\\n      -b \"ou=users,dc=ad,dc=piedpiper,dc=com\" \"(cn=*)\" dn givenName\n\n  ```\n\n## References\n\n- [Multi-stage Java build setup](https://github.com/miguno/java-docker-build-tutorial/blob/master/Dockerfile)\n- [dwimberger/**ldap-ad-it**](https://github.com/dwimberger/ldap-ad-it)\n- [kwart/**ldap-server**](https://github.com/kwart/ldap-server)\n- [Active Directory Schema (AD Schema) Reference](https://docs.microsoft.com/en-us/windows/win32/adschema/active-directory-schema)\n- [Twizzlerific/**sokoviaProject**](https://github.com/Twizzlerific/sokoviaProject)\n- [AD Schema](https://github.com/daidd2019/ranger-hdp/blob/65a72b0882c5cf44529d964095e4c6aaab29f34a/ugsync/src/test/resources/ADSchema.ldif)\n- [How to setup your own CA with OpenSSL](https://gist.github.com/Soarez/9688998)\n- [Create Root CA](https://gist.github.com/fntlnz/cf14feb5a46b2eda428e000157447309)\n- [Creating a KeyStore in JKS Format](https://docs.oracle.com/cd/E19509-01/820-3503/ggfen/index.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fva1da5%2Fldap-dev-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fva1da5%2Fldap-dev-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fva1da5%2Fldap-dev-server/lists"}