Skip to content

Repo to store a configured OpenLDAP LDIF file to use to demonstrate LDAP importing

License

Notifications You must be signed in to change notification settings

akeyless-community/akeyless-openldap-ldif-star-trek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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

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

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.ldif

  phpldapadmin:
    image: osixia/phpldapadmin:latest
    container_name: phpldapadmin
    environment:
      PHPLDAPADMIN_LDAP_HOSTS: "openldap"
      PHPLDAPADMIN_HTTPS: "false"
    ports:
      - "8080:80"
    depends_on:
      - openldap

About

Repo to store a configured OpenLDAP LDIF file to use to demonstrate LDAP importing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published