b9e25135c5
* Build the base DN from a given domain name * Remove all hard-coded names to allow configuration of base DN * Fix manager DN (cn=Manager,dc=...) * Add ldap init_ldap() * Add support for clean.sh Change-Id: Ieb69be9740653645b8e000574ad3fe59a0f97540
16 lines
325 B
Plaintext
16 lines
325 B
Plaintext
dn: olcDatabase={${LDAP_OLCDB_NUMBER}}hdb,cn=config
|
|
changetype: modify
|
|
replace: olcSuffix
|
|
olcSuffix: ${BASE_DN}
|
|
-
|
|
replace: olcRootDN
|
|
olcRootDN: ${MANAGER_DN}
|
|
-
|
|
${LDAP_ROOTPW_COMMAND}: olcRootPW
|
|
olcRootPW: ${SLAPPASS}
|
|
-
|
|
replace: olcDbIndex
|
|
olcDbIndex: objectClass eq
|
|
olcDbIndex: default pres,eq
|
|
olcDbIndex: cn,sn,givenName,co
|