Created
August 26, 2021 19:16
-
-
Save gustawho/1fdff3d5c0964d2267aa880c40d4b06e to your computer and use it in GitHub Desktop.
config.ldif
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The root config entry | |
dn: cn=config | |
objectClass: olcGlobal | |
cn: config | |
olcArgsFile: /run/openldap/slapd.args | |
olcPidFile: /run/openldap/slapd.pid | |
# Schemas | |
dn: cn=schema,cn=config | |
objectClass: olcSchemaConfig | |
cn: schema | |
# TODO: Include further schemas as necessary | |
include: file:///etc/openldap/schema/core.ldif | |
# The config database | |
dn: olcDatabase=config,cn=config | |
objectClass: olcDatabaseConfig | |
olcDatabase: config | |
olcRootDN: cn=Manager,$BASEDN | |
# The database for our entries | |
dn: olcDatabase=mdb,cn=config | |
objectClass: olcDatabaseConfig | |
objectClass: olcMdbConfig | |
olcDatabase: mdb | |
olcSuffix: $BASEDN | |
olcRootDN: cn=Manager,$BASEDN | |
olcRootPW: $PASSWD | |
olcDbDirectory: /var/lib/openldap/openldap-data | |
# TODO: Create further indexes | |
olcDbIndex: objectClass eq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment