This file is indexed.

/usr/share/dirsrv/updates/10delautodnsuffix.pl is in 389-ds-base 1.3.7.10-1ubuntu1.

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
use Mozilla::LDAP::Conn;
use Mozilla::LDAP::Utils qw(normalizeDN);
use Mozilla::LDAP::API qw(:constant ldap_url_parse ldap_explode_dn);

sub runinst {
    my ($inf, $inst, $dseldif, $conn) = @_;

    my @errs;

    # see if nsslapd-ldapiautodnsuffix is defined
    my $ent = $conn->search("cn=config", "base", "(objectclass=*)");
    if (!$ent) {
        return ('error_finding_config_entry', 'cn=config', $conn->getErrorString());
    }

    if ($ent->getValues('nsslapd-ldapiautodnsuffix')) {
        $ent->remove('nsslapd-ldapiautodnsuffix');
        $conn->update($ent);
        # ignore errors - cn=config attr deletion not allowed over ldap
    }

    return ();
}