summaryrefslogtreecommitdiffstats
path: root/doc/admin/otp.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/admin/otp.rst')
-rw-r--r--doc/admin/otp.rst11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/admin/otp.rst b/doc/admin/otp.rst
index 9c634d6acb..9baf7a7bcf 100644
--- a/doc/admin/otp.rst
+++ b/doc/admin/otp.rst
@@ -20,8 +20,8 @@ details of authentication.
Defining token types
--------------------
-Token types are defined in either krb5.conf or kdc.conf according to
-the following format::
+Token types are defined in either :ref:`krb5.conf(5)` or
+:ref:`kdc.conf(5)` according to the following format::
[otp]
<name> = {
@@ -63,8 +63,11 @@ Token instance configuration
----------------------------
To enable OTP for a client principal, the administrator must define
-the **otp** string attribute for that principal. The **otp** user
-string is a JSON string of the format::
+the **otp** string attribute for that principal. (See
+:ref:`set_string`.) The **otp** user string is a JSON string of the
+format:
+
+.. code-block:: xml
[{
"type": <string>,