https://github.com/akeyless-community/akeyless-openldap-ldif-star-trek
Repo to store a configured OpenLDAP LDIF file to use to demonstrate LDAP importing
https://github.com/akeyless-community/akeyless-openldap-ldif-star-trek
Last synced: 2 months ago
JSON representation
Repo to store a configured OpenLDAP LDIF file to use to demonstrate LDAP importing
- Host: GitHub
- URL: https://github.com/akeyless-community/akeyless-openldap-ldif-star-trek
- Owner: akeyless-community
- License: mit
- Created: 2025-01-14T15:45:53.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-14T17:34:14.000Z (5 months ago)
- Last Synced: 2025-01-25T17:16:57.368Z (4 months ago)
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Akeyless OpenLDAP LDIF of Star Trek
Repo to store a configured OpenLDAP LDIF file to use to demonstrate LDAP importing## Admin User
The admin user password should be `live long and prosper`
## Deployment Example
Setup the directory structure and download the
```bash
mkdir -p ldap/data
mkdir -p ldap/config
mkdir -p ldif && curl -f -L -o ldif/startrek.ldif --create-dirs --retry 3 --retry-delay 2 --retry-max-time 30 -H "Accept: application/vnd.github.raw" "https://raw.githubusercontent.com/akeyless-community/akeyless-openldap-ldif-star-trek/refs/heads/main/star-trek.ldif"
```Here is an exmaple Docker Compose file
```yaml
services:
openldap:
image: bitnami/openldap:latest
container_name: openldap
environment:
LDAP_ORGANISATION: "Starfleet Command"
LDAP_DOMAIN: "starfleet.federation.org"
LDAP_ADMIN_USERNAME: "admin"
LDAP_ADMIN_PASSWORD: "live long and prosper"
LDAP_CUSTOM_LDIF_DIR: /ldifs
LDAP_ROOT: dc=starfleet,dc=federation,dc=org
BITNAMI_DEBUG: "true"
ports:
- "1389:1389"
- "1636:1636"
volumes:
- ./ldif/startrek.ldif:/ldifs/startrek.ldifphpldapadmin:
image: osixia/phpldapadmin:latest
container_name: phpldapadmin
environment:
PHPLDAPADMIN_LDAP_HOSTS: "openldap"
PHPLDAPADMIN_HTTPS: "false"
ports:
- "8080:80"
depends_on:
- openldap
```