This file is indexed.

/usr/share/doc/libjcifs-java/examples/GetLocalGroupsMap.java is in libjcifs-java-doc 1.3.19-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
import java.util.*;
import jcifs.smb.*;

public class GetLocalGroupsMap {

    public static void main( String[] argv ) throws Exception {

        SmbFile file = new SmbFile(argv[0]);
        String server = file.getServer();
        NtlmPasswordAuthentication auth = (NtlmPasswordAuthentication)file.getPrincipal();
        Map map = SID.getLocalGroupsMap(server,
                    auth,
                    SID.SID_FLAG_RESOLVE_SIDS);


        Iterator kiter = map.keySet().iterator();
        while (kiter.hasNext()) {
            SID userSid = (SID)kiter.next();

            System.out.println(userSid.getType() + " " + userSid.toDisplayString() + ":");

            ArrayList groupSids = (ArrayList)map.get(userSid);
            Iterator giter = groupSids.iterator();
            while (giter.hasNext()) {
                SID group = (SID)giter.next();
                System.out.println("  " + group.getType() + " " + group.toDisplayString());
            }
        }
    }
}