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
22 lines
565 B
Plaintext
22 lines
565 B
Plaintext
dn: cn=config
|
|
objectClass: olcGlobal
|
|
cn: config
|
|
olcArgsFile: /var/run/slapd/slapd.args
|
|
olcAuthzRegexp: {0}gidNumber=0\+uidNumber=0,cn=peercred,cn=external,cn=auth dn
|
|
:cn=config
|
|
olcPidFile: /var/run/slapd/slapd.pid
|
|
olcSizeLimit: 10000
|
|
|
|
dn: cn=schema,cn=config
|
|
objectClass: olcSchemaConfig
|
|
cn: schema
|
|
|
|
include: file:///etc/openldap/schema/core.ldif
|
|
include: file:///etc/openldap/schema/cosine.ldif
|
|
include: file:///etc/openldap/schema/inetorgperson.ldif
|
|
|
|
dn: olcDatabase={1}hdb,cn=config
|
|
objectClass: olcHdbConfig
|
|
olcDbDirectory: /var/lib/ldap
|
|
olcSuffix: ${BASE_DN}
|