From 5b5ad1848dca6bfa7b14f639a29e7c3063bca63a Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Tue, 18 Feb 2020 10:29:53 -0600 Subject: problem is, that there is no hostname resolution --- scripts/kerberos | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/kerberos') diff --git a/scripts/kerberos b/scripts/kerberos index 8948b22..f1e16ed 100755 --- a/scripts/kerberos +++ b/scripts/kerberos @@ -16,10 +16,9 @@ scp configs/kerberos/kdc.conf root@$IP:/etc/krb5kdc/ scp configs/kerberos/kadm5.acl root@$IP:/etc/krb5kdc/ lxc-attach -n kerberos -- bash -c 'echo -e "'$KRB5_PASS'\n'$KRB5_PASS'" | krb5_newrealm' +lxc-attach -n kerberos -- bash -c 'echo -e "'$KRB5_ADMIN_PASS'\n'$KRB5_ADMIN_PASS'" | kadmin.local addprinc root/admin' lxc-attach -n kerberos -- systemctl restart krb5-admin-server lxc-attach -n kerberos -- systemctl restart krb5-kdc -lxc-attach -n kerberos -- bash -c 'echo -e "'$KRB5_ADMIN_PASS'\n'$KRB5_ADMIN_PASS'" | kadmin.local addprinc root/admin' - # should be able to now use kadmin, but cannot ? -- cgit v1.2.3