[General]
FullMachineName         = <%= node[:fqdn] %>
SuiteSpotGroup          = dirsrv
SuiteSpotUserID         = dirsrv
<% if @has_cfgdir -%>
  <% if @cfgdir_domain %>
AdminDomain             = <%= @cfgdir_domain %>
  <% end -%>
ConfigDirectoryAdminID  = <%= @admin_username %>
ConfigDirectoryAdminPwd = <%= @admin_password %>
ConfigDirectoryLdapURL  = ldap://<%= @cfgdir_addr %>:<%= @cfgdir_ldap_port %>/o=NetscapeRoot
<% end -%>

<% if @is_cfgdir -%>
[admin]
Port            = <%= @cfgdir_http_port %>
ServerAdminID   = <%= @admin_username %>
ServerAdminPwd  = <%= @admin_password %>
ServerIpAddress = <%= @cfgdir_addr %>
SysUser         = dirsrv
<% end -%>

[slapd]
AddOrgEntries    = <%= @add_org_entries %>
AddSampleEntries = <%= @add_sample_entries %>
InstallLdifFile  = <%= @preseed_ldif %>
RootDN           = <%= @bind_dn %>
RootDNPwd        = <%= @admin_password %>
ServerIdentifier = <%= @instance_name %>
ServerPort       = <%= @port %>
Suffix           = <%= @suffix %>
cert_dir         = <%= @conf_dir %>/slapd-<%= @instance_name %>
config_dir       = <%= @conf_dir %>/slapd-<%= @instance_name %>
bak_dir          = <%= @base_dir %>/slapd-<%= @instance_name %>/bak
db_dir           = <%= @base_dir %>/slapd-<%= @instance_name %>/db
ldif_dir         = <%= @base_dir %>/slapd-<%= @instance_name %>/ldif
schema_dir       = <%= @conf_dir %>/slapd-<%= @instance_name %>/schema
