{"id":18866312,"url":"https://github.com/adia-dev/centos8-openldap-krb5","last_synced_at":"2026-05-18T05:48:50.331Z","repository":{"id":234742178,"uuid":"775196347","full_name":"adia-dev/centos8-openldap-krb5","owner":"adia-dev","description":"CentOS 8 Docker setup with OpenLDAP \u0026 Kerberos for secure, containerized directory services and authentication management.","archived":false,"fork":false,"pushed_at":"2024-12-23T21:43:45.000Z","size":778,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T06:16:32.677Z","etag":null,"topics":["centos8","docker","kerberos","krb5","openldap","openldap-server"],"latest_commit_sha":null,"homepage":"","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/adia-dev.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":"2024-03-20T23:51:06.000Z","updated_at":"2024-12-23T21:43:52.000Z","dependencies_parsed_at":"2025-05-23T13:30:49.480Z","dependency_job_id":"d2137b32-f3a2-4b25-a61a-9fb051753908","html_url":"https://github.com/adia-dev/centos8-openldap-krb5","commit_stats":null,"previous_names":["adia-dev/centos8-openldap-krb5"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adia-dev/centos8-openldap-krb5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fcentos8-openldap-krb5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fcentos8-openldap-krb5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fcentos8-openldap-krb5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fcentos8-openldap-krb5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adia-dev","download_url":"https://codeload.github.com/adia-dev/centos8-openldap-krb5/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adia-dev%2Fcentos8-openldap-krb5/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281244037,"owners_count":26467805,"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-10-27T02:00:05.855Z","response_time":61,"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":["centos8","docker","kerberos","krb5","openldap","openldap-server"],"created_at":"2024-11-08T05:06:13.821Z","updated_at":"2025-10-27T09:20:38.884Z","avatar_url":"https://github.com/adia-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐳 CentOS8 OpenLDAP-Krb5 Docker Container\n\nThis Docker container is crafted on CentOS 8, integrating OpenLDAP and Kerberos 5. It's meticulously configured to enable access to systemd, facilitating the management of services like slapd through systemctl commands within the container's environment.\n\n## 📜 Description\n\nLeveraging the robustness of CentOS as its foundation, this project is aimed at simplifying the deployment and management of LDAP services within a containerized ecosystem. The inclusion of systemd within the Docker container streamlines service management, making it more efficient to administer slapd operations.\n\n## 🛠️ Build Instructions\n\nWhether you're building locally or pulling directly from Docker Hub, here's how you get started:\n\n- **Build Locally:**\n  ```\n  docker build -t centos-openldap-krb5 --platform=linux/amd64 .\n  ```\n- **Pull from Docker Hub:**\n  ```\n  docker pull adiadev/centos-openldap-krb5:latest\n  ```\n\n## ▶️ Running the Container\n\nTo run the container with systemd access:\n\n```\ndocker run -d -h example.com --platform=linux/amd64 --privileged=true centos-openldap-krb5\n```\n\nHere's what each parameter does:\n\n- `-d`: Detached mode, allowing the container to run in the background.\n- `-h example.com`: Sets the container's hostname (feel free to customize this).\n- `--platform=linux/amd64`: Specifies the container's architecture (adjust as needed, I had to specify this for my Mac with an Apple Silicon chip).\n- `--privileged=true`: Enables privileged access for interacting with systemd.\n\n## 🛠 Managing Services\n\nFor managing the OpenLDAP service within your container:\n\n```\ndocker exec -it \u003ccontainer_id\u003e systemctl enable slapd\ndocker exec -it \u003ccontainer_id\u003e systemctl start slapd\ndocker exec -it \u003ccontainer_id\u003e systemctl status slapd\n```\n\nAlternatively, for direct command line access within the container:\n\n```\ndocker exec -it \u003ccontainer_id\u003e /bin/bash\n\n# Then run the following commands within the container's shell\nsystemctl enable slapd\nsystemctl start slapd\nsystemctl status slapd\n```\n\n## 📝 Notes\n\nThis container setup is intended for development and testing environments, offering a sandbox for LDAP and Kerberos experiments and learning.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadia-dev%2Fcentos8-openldap-krb5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadia-dev%2Fcentos8-openldap-krb5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadia-dev%2Fcentos8-openldap-krb5/lists"}