This file is indexed.

/usr/share/zentyal/stubs/dhcp/shared-network.mas is in zentyal-dhcp 2.3.8+quantal1.

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
<%args>
	$iface
	%ifaces
	@vifaces
</%args>
shared-network <% $iface %> {
<& includes.mas,
   iface => $iface
&>

%# TODO: Remove this when more than one config per interface is possible
<& .thin_client_options, options => $ifaces{$iface}->{'options'} &>

<& subnet.mas, info => $ifaces{$iface} &>
% foreach my $viface (@vifaces) {
<& includes.mas,
   iface => $viface
&>
<& subnet.mas, info => $ifaces{$viface} &>
% }
}

<%doc>
  Print out the thin client options
# TODO: Restore this when more than one config per interface is possible
</%doc>
<%def .thin_client_options>
<%args>
  %options
</%args>
% if (values(%options) > 0) {
%   if ($options{nextServerIsZentyal}) {
%       if ($options{nextServer}) {
                next-server <% $options{nextServer} %>;
                option tftp-server-name "<% $options{nextServer} %>";
%       }
                option root-path "/opt/ltsp/<% ($options{fat}?'fat-':'') %><% $options{architecture} %>";
                if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" {
                    filename "/ltsp/<% ($options{fat}?'fat-':'') %><% $options{architecture} %>/pxelinux.0";
                } else {
                    filename "/ltsp/<% ($options{fat}?'fat-':'') %><% $options{architecture} %>/nbi.img";
                }
%   }
%   else {
%       if ($options{nextServer}) {
                next-server <% $options{nextServer} %>;
                option tftp-server-name "<% $options{nextServer} %>";
%       }
%       if ( $options{filename} ) {
                filename    "<% $options{filename} %>";
%       }
%   }
% }
</%def>