This file is indexed.

/usr/share/doc/dhis-client/examples/dhid.conf.sample is in dhis-client 5.5-4.

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
;
; DHIS Release 5
;
; A sample dhid.conf file with multiple servers and multiple clients
;
; Every client/server record must start with the { character and end with }
;

; The following entry updates record 1000 using password authentication
; on server server1.domain.com installed on port 58800 and keeps the connection
; with a refresh rate of 2 minutes
;
;
{
	HostID		1000
	HostPass	secret1
	ISAddr		server1.domain.com
	Refresh		120
}

; The following entry updates record 1001 using QRC authentication
; on server 193.1.1.1 or server 193.1.1.2 installed on port 58800 
; and keeps the connection with a refresh rate of 1 hour
; 
; Both servers should be running in redundant mode and should have
; the exact same knowledge of the client. Upon start the client sends
; ECHO_REQ packets to both servers and uses whichever replies (first)
;
{
	HostID		1001
        AuthP           48169083212014599459617612742008414959275858692195
        AuthP           08313031094427763164613335521316290005513593151551
        AuthQ           14765832632048637813514721869917149873166656392189
        AuthQ           34735854308571561542188783119733552142301913765627
	ISAddr		193.1.1.1
	ISAddr		193.1.1.2
	Refresh		3600
}

; The following entry updates record 1000 using password on server
; 193.2.2.2 installed on port 58801 and keeps the connection with
; the server's default refresh rate
; HostID 1000 in server 193.1.1.1 is different from HostID 
; 1000 in server 193.2.2.2
;
; In addition /etc/dhid-online.sh is executed when authentication is 
; successful and /etc/dhid-offline.sh is executed when the record 
; returns to offline mode.
; Argument 1 of both OnCmd and OffCmd is the hostid (1000 below). 
; Argument 2 is the local IPv4 dynamic address
; Arguments 3 and above are whatever is specified after the command
{
	HostID		1000
	HostPass	secret2
	ISAddr		193.2.2.2:58801
	OnCmd		/etc/dhid-online.sh <arguments 3,4, ... here>
	OffCmd		/etc/dhid-offline.sh <arguments 3,4, ... here>
}