This file is indexed.

/usr/share/dirsrv/inf/dirserver.map is in 389-admin 1.1.46-2.

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
58
59
60
61
62
63
64
# 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
#
# register_param.map: 
# This file is used by the register_server.pl script to register the server
# info to the Configuration Directory Server.  The server info is stored in
# the (template) ldif files located in /usr/share/dirsrv/data. In case a server entry has
# %...% format parameters, this map table is used to resolve it and replace
# the parameter with the value defined in this file.
#
# [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
vendor =		Vendor
timestamp = 	`use Time::gmtime; my $gm = gmtime; $returnvalue = sprintf ("%04d%02d%02d%02d%02d%02dZ", 1900+$gm->year, 1+$gm->mon, $gm->mday, $gm->hour, $gm->min, $gm->sec);`

uname_a =        `open(UNAMEA, "uname -a |"); $returnvalue = <UNAMEA>; chomp $returnvalue; close(UNAMEA);`
uname_m =        `open(UNAMEM, "uname -m |"); $returnvalue = <UNAMEM>; chomp $returnvalue; close(UNAMEM);`
asid =		    `$returnvalue = $mapper->{fqdn}; $returnvalue =~ s/\..*$//;`
as_uid =        ServerAdminID
as_sie =		"cn=admin-serv-%asid%, cn=%brand% Administration Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot"
ds_version =	Version
ds_baseversion =	BaseVersion
dsid =			ServerIdentifier
ds_user =		SuiteSpotUserID
ds_port =		ServerPort
ds_secure_port = SecureServerPort:"636"
rootdn =		RootDN
escapedrootdn = `$returnvalue = dnEscape($mapper->{rootdn});`
ds_suffix =		Suffix
ds_buildnum =	BuildNumber
ds_console_jar ="%normbrand%-ds-%ds_baseversion%.jar"
ds_sie =		"cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%, ou=%domain%, o=NetscapeRoot"
config_ds_url = ConfigDirectoryLdapURL
console_version = ConsoleVersion