Initial euclide.org release
This commit is contained in:
58
fixtures/openldap/default.startup.yaml
Normal file
58
fixtures/openldap/default.startup.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
# This is the default image startup configuration file
|
||||
# this file define environment variables used during the container **first start** in **startup files**.
|
||||
|
||||
# General container configuration
|
||||
# see table 5.1 in http://www.openldap.org/doc/admin24/slapdconf2.html for the available log levels.
|
||||
LDAP_LOG_LEVEL: 256
|
||||
|
||||
# Ulimit
|
||||
LDAP_NOFILE: 1024
|
||||
|
||||
# Do not perform any chown to fix file ownership
|
||||
DISABLE_CHOWN: false
|
||||
|
||||
# Required and used for new ldap server only
|
||||
LDAP_ORGANISATION: Example Inc.
|
||||
LDAP_DOMAIN: example.org
|
||||
LDAP_BASE_DN: #if empty automatically set from LDAP_DOMAIN
|
||||
|
||||
LDAP_ADMIN_PASSWORD: admin
|
||||
LDAP_CONFIG_PASSWORD: config
|
||||
|
||||
LDAP_READONLY_USER: false
|
||||
LDAP_READONLY_USER_USERNAME: readonly
|
||||
LDAP_READONLY_USER_PASSWORD: readonly
|
||||
|
||||
LDAP_RFC2307BIS_SCHEMA: false
|
||||
|
||||
# Backend
|
||||
LDAP_BACKEND: mdb
|
||||
|
||||
# Tls
|
||||
LDAP_TLS: true
|
||||
LDAP_TLS_CRT_FILENAME: ldap.crt
|
||||
LDAP_TLS_KEY_FILENAME: ldap.key
|
||||
LDAP_TLS_DH_PARAM_FILENAME: dhparam.pem
|
||||
LDAP_TLS_CA_CRT_FILENAME: ca.crt
|
||||
|
||||
LDAP_TLS_ENFORCE: false
|
||||
LDAP_TLS_CIPHER_SUITE: SECURE256:+SECURE128:-VERS-TLS-ALL:+VERS-TLS1.2:-RSA:-DHE-DSS:-CAMELLIA-128-CBC:-CAMELLIA-256-CBC
|
||||
LDAP_TLS_VERIFY_CLIENT: demand
|
||||
|
||||
# Replication
|
||||
LDAP_REPLICATION: false
|
||||
|
||||
|
||||
# Do not change the ldap config
|
||||
# - If set to true with an existing database, config will remain unchanged. Image tls and replication config will not be run.
|
||||
# The container can be started with LDAP_ADMIN_PASSWORD and LDAP_CONFIG_PASSWORD empty or filled with fake data.
|
||||
# - If set to true when bootstrapping a new database, bootstap ldif and schema will not be added and tls and replication config will not be run.
|
||||
KEEP_EXISTING_CONFIG: false
|
||||
|
||||
# Remove config after setup
|
||||
LDAP_REMOVE_CONFIG_AFTER_SETUP: true
|
||||
|
||||
# ssl-helper environment variables prefix
|
||||
LDAP_SSL_HELPER_PREFIX: ldap # ssl-helper first search config from LDAP_SSL_HELPER_* variables, before SSL_HELPER_* variables.
|
||||
|
||||
SSL_HELPER_AUTO_RENEW_SERVICES_IMPACTED: slapd
|
||||
109
fixtures/openldap/test.ldif
Normal file
109
fixtures/openldap/test.ldif
Normal file
@@ -0,0 +1,109 @@
|
||||
# LDIF Export for ou=users,dc=example,dc=org
|
||||
|
||||
version: 1
|
||||
|
||||
dn: dc=example,dc=org
|
||||
o: example
|
||||
objectClass: dcObject
|
||||
objectClass: organization
|
||||
description: Example Directory
|
||||
|
||||
# Entry 1: ou=users,dc=example,dc=org
|
||||
dn: ou=users,dc=example,dc=org
|
||||
changetype: add
|
||||
description: Utilisateurs
|
||||
objectclass: organizationalUnit
|
||||
ou: users
|
||||
|
||||
# Entry 2: uid=jdoe,ou=users,dc=example,dc=org
|
||||
dn: uid=jdoe,ou=users,dc=example,dc=org
|
||||
changetype: add
|
||||
cn: Jane Doe
|
||||
description: jdoe
|
||||
description: infra
|
||||
gidnumber: 0
|
||||
homedirectory: /root
|
||||
sshPublicKey: ""
|
||||
loginshell: /bin/bash
|
||||
mail: karin.aitsiamer@example.org
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: posixAccount
|
||||
objectclass: ldapPublicKey
|
||||
objectclass: person
|
||||
objectclass: top
|
||||
sn: Jane Doe
|
||||
uid: jdoe
|
||||
uidnumber: 0
|
||||
|
||||
# Entry 3: uid=jdo,ou=users,dc=example,dc=org
|
||||
dn: uid=jdo,ou=users,dc=example,dc=org
|
||||
changetype: add
|
||||
cn: John DO
|
||||
sshPublicKey: ""
|
||||
description: jdo
|
||||
description: dev
|
||||
description: api-01.dev
|
||||
description: api-02.dev
|
||||
description: bbxlogs
|
||||
description: graphdb
|
||||
description: inspect-02
|
||||
description: ejobs
|
||||
description: eseblook
|
||||
description: esebworker
|
||||
description: esebed
|
||||
description: esebed.dev
|
||||
description: ebworker.dev
|
||||
description: eseblook.dev
|
||||
description: searchprov
|
||||
description: syslog-01
|
||||
description: cronjobs
|
||||
description: staging
|
||||
description: pebprov
|
||||
description: bodyguard
|
||||
description: webed
|
||||
description: pebed
|
||||
description: mebed
|
||||
description: ebworker
|
||||
description: prov
|
||||
description: web-01.dev
|
||||
description: web-02.dev
|
||||
description: releaseslave
|
||||
description: release
|
||||
description: inspectslave
|
||||
description: statyle
|
||||
description: inspect
|
||||
description: orscale-03
|
||||
description: dock-001
|
||||
description: npmrepo
|
||||
gidnumber: 0
|
||||
homedirectory: /home/jdo
|
||||
loginshell: /bin/bash
|
||||
mail: klemen.sever@example.org
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: posixAccount
|
||||
objectclass: ldapPublicKey
|
||||
objectclass: person
|
||||
objectclass: top
|
||||
sn: John Do
|
||||
uid: jdo
|
||||
uidnumber: 0
|
||||
|
||||
# Entry 4: uid=xavier,ou=users,dc=example,dc=org
|
||||
dn: uid=xavier,ou=users,dc=example,dc=org
|
||||
changetype: add
|
||||
cn: Xavier Henner
|
||||
sshPublicKey: ""
|
||||
description: infra
|
||||
employeenumber: 1005
|
||||
gidnumber: 0
|
||||
homedirectory: /root
|
||||
loginshell: /bin/bash
|
||||
mail: xavier.henner@example.org
|
||||
objectclass: inetOrgPerson
|
||||
objectclass: posixAccount
|
||||
objectclass: ldapPublicKey
|
||||
objectclass: person
|
||||
objectclass: top
|
||||
sn: Xavier Henner
|
||||
uid: xavier
|
||||
uidnumber: 0
|
||||
Reference in New Issue
Block a user