2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#2353] Proposed fixes for doc

This commit is contained in:
Francis Dupont
2022-04-01 16:59:24 +02:00
committed by Andrei Pavel
parent 1fcb2f563e
commit 3a8449789f
2 changed files with 18 additions and 0 deletions

View File

@@ -1220,6 +1220,9 @@ ssl_key = {cert_dir}/kea-client.key
cmd += "GRANT ALL ON keatest.* TO 'keatest'@'localhost';\n"
cmd += "GRANT SELECT ON keatest.* TO 'keatest_readonly'@'localhost';\n"
if 'tls' in features:
# ALTER USER is the best place to put the REQUIRE but it is not
# supported by old versions so downgrade to GRANT.
# X509 is weak too but enough for testing purpose.
cmd += "GRANT ALL ON keatest.* TO 'keatest_secure'@'localhost' REQUIRE X509;\n"
cmd += "SET @@global.log_bin_trust_function_creators = 1;\n"
cmd += "EOF\n\""