aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBen Kaduk <kaduk@mit.edu>2016-08-03 10:23:56 -0500
committerBen Kaduk <kaduk@mit.edu>2016-08-10 23:19:43 -0500
commit3e319b1f93f75a3bab86425221f2bcbf5603f3f9 (patch)
tree41f965fa4dc1d9f0aa1a7a2a5e8bd8741fcf4afe /doc
parent0a203b8720f2514569e46ad51755b43a38346113 (diff)
downloadkrb5-3e319b1f93f75a3bab86425221f2bcbf5603f3f9.zip
krb5-3e319b1f93f75a3bab86425221f2bcbf5603f3f9.tar.gz
krb5-3e319b1f93f75a3bab86425221f2bcbf5603f3f9.tar.bz2
Properly escape quotes for otp set_string example
The libss parser will consume paired double quotes, but within a double-quoted region, repeated double quotes will be treated as an escape and passed through as a single double quote. (The new kadmin(1) parser in 1.14 that lets commands be specified on the command line without -q does not go through the libss parser, so standard shell methods for escaping quotes function as usual.) ticket: 8469 (new) target_version: 1.14-next tags: pullup
Diffstat (limited to 'doc')
-rw-r--r--doc/admin/admin_commands/kadmin_local.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/admin/admin_commands/kadmin_local.rst b/doc/admin/admin_commands/kadmin_local.rst
index a91aa06..50c3b99 100644
--- a/doc/admin/admin_commands/kadmin_local.rst
+++ b/doc/admin/admin_commands/kadmin_local.rst
@@ -668,7 +668,7 @@ Alias: **setstr**
Example::
set_string host/foo.mit.edu session_enctypes aes128-cts
- set_string user@FOO.COM otp [{"type":"hotp","username":"custom"}]
+ set_string user@FOO.COM otp "[{""type"":""hotp"",""username"":""al""}]"
.. _set_string_end: