mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Clean kerberos keytab between running
This commit is contained in:
parent
23546ab825
commit
9340aab154
@ -90,6 +90,7 @@ create_admin_user() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_keytabs() {
|
create_keytabs() {
|
||||||
|
rm /tmp/keytab/*.keytab
|
||||||
|
|
||||||
kadmin.local -q "addprinc -randkey zookeeper/kafka_kerberized_zookeeper@${REALM}"
|
kadmin.local -q "addprinc -randkey zookeeper/kafka_kerberized_zookeeper@${REALM}"
|
||||||
kadmin.local -q "ktadd -norandkey -k /tmp/keytab/kafka_kerberized_zookeeper.keytab zookeeper/kafka_kerberized_zookeeper@${REALM}"
|
kadmin.local -q "ktadd -norandkey -k /tmp/keytab/kafka_kerberized_zookeeper.keytab zookeeper/kafka_kerberized_zookeeper@${REALM}"
|
||||||
|
Loading…
Reference in New Issue
Block a user