Fixed kerberos path again. Default Ubuntu installs do indeed use /var/lib/krb5kdc. Really should try to autodetect that.
#!/bin/bash
mkdir -p /usr/local/share/ssoinabox/htdocs/includes/templates/compiled
chown www-data:www-data /usr/local/share/ssoinabox/htdocs/includes/templates/compiled