| 1 | #!/bin/bash -e |
| 2 | |
| 3 | # |
| 4 | # It is important that admins receieve notification of any errors that |
| 5 | # occur when running this; please don't indiscriminately send logs to |
| 6 | # /dev/null. |
| 7 | # |
| 8 | |
| 9 | export PATH=$PATH:/usr/sbin:/sbin |
| 10 | |
| 11 | kdb5_util dump /var/lib/krb5kdc/slave_datatrans |
| 12 | |
| 13 | kprop hopper.hcoop.net \ |
| 14 | 2>&1 | (! grep -v 'Database propagation to hopper.hcoop.net: SUCCEEDED') |
| 15 | |
| 16 | # disabled because the kdc is too old and can't load dumps from fritz --clinton |
| 17 | #kprop deleuze.hcoop.net \ |
| 18 | # 2>&1 | grep -v 'Database propagation to fritz.hcoop.net: SUCCEEDED' |
| 19 | |
| 20 | |