/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to clients.conf

  • Committer: Teddy Hogeborn
  • Date: 2009-01-10 02:39:56 UTC
  • mfrom: (257.1.2 mandos)
  • Revision ID: teddy@fukt.bsnet.se-20090110023956-o7f5r8af28fmgahw
Fixed warnings on AMD64, thanks to Mooie <mooie@cow.se> for the patch.

* plugins.d/askpass-fifo.c (main): Cast value from TEMP_FAILURE_RETRY
                                   to int, the value the inner
                                   function returns.
* plugins.d/mandos-client.c (init_gpgme): - '' -
  (start_mandos_communication): New variable "ssize_t sret"; used to
                                store return value from
                                "gnutls_record_recv".  Also cast value
                                from TEMP_FAILURE_RETRY as above.
* plugins.d/usplash.c (usplash_write): New variable "ssize_t sret";
                                       used to store return value from
                                       "write".

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# How often to run the checker to confirm that a client is still up.
10
10
# Note: a new checker will not be started if an old one is still
11
11
# running.  The server will wait for a checker to complete until the
12
 
# "timeout" above occurs, at which time the client will be marked
 
12
# above "timeout" occurs, at which time the client will be marked
13
13
# invalid, and any running checker killed.
14
14
;interval = 5m
15
15
 
18
18
 
19
19
 
20
20
;####
21
 
;# Example client named "foo"
 
21
;# Example client
22
22
;[foo]
23
23
;
24
 
;# OpenPGP key fingerprint for "foo"
 
24
;# OpenPGP key fingerprint
25
25
;fingerprint =  7788 2722 5BA7 DE53 9C5A  7CFA 59CF F7CD BD9A 5920
26
26
;
27
27
;# This is base64-encoded binary data.  It will be decoded and sent to
43
43
;        5MHdW9AYsNJZAQSOpirE4Xi31CSlWAi9KV+cUCmWF5zOFy1x23P6PjdaRm
44
44
;        4T2zw4dxS5NswXWU0sVEXxjs6PYxuIiCTL7vdpx8QjBkrPWDrAbcMyBr2O
45
45
;        QlnHIvPzEArRQLo=
46
 
;        =iHhv
47
46
;
48
47
;# Host name; used only by the checker, not used by the server itself.
49
48
;host = foo.example.org
56
55
;fingerprint = 3e393aeaefb84c7e89e2f547b3a107558fca3a27
57
56
;
58
57
;# If "secret" is not specified, a file can be read for the data.
59
 
;;secfile = /etc/mandos/bar-secret.txt.asc
 
58
;secfile = /etc/mandos/bar-secret.bin
60
59
;
61
60
;# An IP address for host is also fine, if the checker accepts it.
62
61
;host = 192.0.2.3