/usr/share/dirsrv/inf/configdsroot.map is in 389-admin 1.1.35-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | # BEGIN COPYRIGHT BLOCK
# This Program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; version 2 of the License.
#
# This Program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
# Place, Suite 330, Boston, MA 02111-1307 USA.
#
# Copyright (C) 2007 Red Hat, Inc.
# All rights reserved.
# END COPYRIGHT BLOCK
#
# Use this map with 01nsroot.ldif.tmpl and 02globalpreferences.ldif.tmpl, to
# set up a directory server to be a Configuration Directory Server. This map
# tells how to replace %...% tokens in those ldif.tmpl files.
#
# [Parameter resolution rules]
# * If the right-hand value is in ` (backquote), the value is eval'ed by perl.
# The output should be stored in $returnvalue to pass to the internal hash.
# * If the right-hand value is in " (doublequote), the value is passed as is.
# * If the right-hand value is not in any quote, the value should be found
# in either of the setup inf file (static) or the install inf file (dynamic).
# * The right-hand value could have the format Key:"default_value".
# In this case, Key is searched in the inf files first.
# If the Key is not found, the default_value is set.
# * Variables surrounded by @ (e.g., /etc/dirsrv/admin-serv) are replaced with the
# system path at the compile time.
# * The right-hand value can contain variables surrounded by % (e.g., %asid%)
# which refers the right-hand value (key) of this map file.
#
fqdn = FullMachineName
domain = AdminDomain
brand = Brand
normbrand = NormBrand
uname_a = `open(UNAMEA, "uname -a |"); $returnvalue = <UNAMEA>; chomp $returnvalue; close(UNAMEA);`
uname_m = `open(UNAMEM, "uname -m |"); $returnvalue = <UNAMEM>; chomp $returnvalue; close(UNAMEM);`
as_uid = ServerAdminID
as_passwd = ServerAdminPwd
asid = `$returnvalue = $mapper->{fqdn}; $returnvalue =~ s/\..*$//;`
as_version = Version
as_baseversion = BaseVersion
ds_version = Version
ds_baseversion = BaseVersion
ds_port = ServerPort
ds_secure_port = SecureServerPort:"636"
ds_suffix = Suffix
dsid = ServerIdentifier
console_version = ConsoleVersion
ds_console_jar = "%normbrand%-ds-%ds_baseversion%.jar"
|