; --- BEGIN COPYRIGHT BLOCK ---
; Copyright (C) 2016 Red Hat, Inc.
; Copyright (C) 2019 William Brown <william@blackhats.net.au>
; All rights reserved.
;
; License: GPL (version 3 or any later version).
; See LICENSE for details.
; --- END COPYRIGHT BLOCK ---

; Author: wbrown at suse.de

; This is a set of default paths that tools consuming DS should search
; for paths. This is the foundation of the version 2 ds setup inf
;
; All format strings should be in python syntax IE {key}

[slapd]
; These values should NOT be altered in an installation.
; This is because the server itself depends on these locations and values
; being known, and are set at compilation time.
product = @capbrand@ Directory Server
version = @PACKAGE_VERSION@
asan_enabled = @enable_asan@
enable_rust = @enable_rust@
with_systemd = @with_systemd@
with_selinux = @with_selinux@
prefix = @prefixdir@
bin_dir = @bindir@
sbin_dir = @sbindir@
lib_dir = @libdir@
data_dir = @datadir@
tmp_dir = /tmp
sysconf_dir = @sysconfdir@
initconfig_dir = @initconfigdir@
config_dir = @instconfigdir@/slapd-{instance_name}
local_state_dir = @localstatedir@
run_dir = @localstatedir@/run/dirsrv
# This is the expected location of ldapi.
ldapi = @localstatedir@/run/slapd-{instance_name}.socket
ldapi_listen = on
ldapi_autobind = on
pid_file = @localstatedir@/run/dirsrv/slapd-{instance_name}.pid
inst_dir = @serverdir@/slapd-{instance_name}
plugin_dir = @serverplugindir@
system_schema_dir = @systemschemadir@
tmpfiles_d = @tmpfiles_d@

; These values can be altered in an installation of ds
user = dirsrv
group = dirsrv
root_dn = cn=Directory Manager

schema_dir = @instconfigdir@/slapd-{instance_name}/schema
cert_dir = @instconfigdir@/slapd-{instance_name}

lock_dir = @localstatedir@/lock/dirsrv/slapd-{instance_name}
log_dir = @localstatedir@/log/dirsrv/slapd-{instance_name}
access_log = @localstatedir@/log/dirsrv/slapd-{instance_name}/access
audit_log = @localstatedir@/log/dirsrv/slapd-{instance_name}/audit
error_log = @localstatedir@/log/dirsrv/slapd-{instance_name}/errors
db_dir = @localstatedir@/lib/dirsrv/slapd-{instance_name}/db
db_home_dir = @localstatedir@/lib/dirsrv/slapd-{instance_name}/db
backup_dir = @localstatedir@/lib/dirsrv/slapd-{instance_name}/bak
ldif_dir = @localstatedir@/lib/dirsrv/slapd-{instance_name}/ldif

