This file is indexed.

/usr/share/dirsrv/data/asmigrate.ldif.tmpl 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
58
59
60
61
62
63
64
65
66
67
68
# BEGIN COPYRIGHT BLOCK
# Copyright (C) 2007 Red Hat, Inc.
# All rights reserved.
#
# 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
#
# END COPYRIGHT BLOCK

# this form of LDIF change record format is wrong, wrong, wrong
# but were stuck with it because Mozilla perldap LDIF is braindead
# the operation lines must all be adjacent - perldap LDIF will throw
# away values that are not adjacent - so you must have all of the replace:
# lines next to each other, all of the add: lines, delete: lines, etc.

dn: cn=%brand% Administration Server,cn=Server Group,cn=%fqdn%,ou=%domain%,o=NetscapeRoot
changetype: modify
replace: nsVendor
replace: nsProductVersion
replace: nsBuildNumber
replace: installationTimeStamp
replace: nsServerMigrationClassname
nsVendor: %vendor%
nsProductVersion: %as_version%
nsBuildNumber: %as_buildnum%
installationTimeStamp: %timestamp%
nsServerMigrationClassname: com.netscape.management.admserv.AdminServerProduct@%as_console_jar%
delete: nsInstalledLocation

dn: cn=admin-serv-%asid%,cn=%brand% Administration Server,cn=Server Group,cn=%fqdn%,ou=%domain%,o=NetscapeRoot
changetype: modify
replace: installationTimeStamp
installationTimeStamp: %timestamp%
delete: userPassword
delete: serverRoot

dn: cn=configuration,cn=admin-serv-%asid%,cn=%brand% Administration Server,cn=Server Group,cn=%fqdn%,ou=%domain%,o=NetscapeRoot
changetype: modify
replace: nsSuiteSpotUser
replace: nsAdminUsers
replace: nsErrorLog
replace: nsPidLog
replace: nsAccessLog
replace: nsClassName
nsSuiteSpotUser: %as_user%
nsAdminUsers: %admpw%
nsErrorLog: %as_error%
nsPidLog: %as_pid%
nsAccessLog: %as_access%
nsClassname: com.netscape.management.admserv.AdminServer@%as_console_jar%@cn=admin-serv-%asid%,cn=%brand% Administration Server,cn=Server Group,cn=%fqdn%,ou=%domain%,o=NetscapeRoot

dn: cn=encryption,cn=configuration,cn=admin-serv-%asid%,cn=%brand% Administration Server,cn=Server Group,cn=%fqdn%,ou=%domain%,o=NetscapeRoot
changetype: modify
delete: nsCertFile
delete: nsKeyFile
delete: nsSSL2
delete: nsSSL2Ciphers