]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Warn about dump -recurse nonfunctionality 502/head
authorTom Yu <tlyu@mit.edu>
Wed, 3 Aug 2016 21:00:05 +0000 (17:00 -0400)
committerTom Yu <tlyu@mit.edu>
Thu, 4 Aug 2016 15:45:59 +0000 (11:45 -0400)
kdb5_util dump -recurse hasn't behaved as documented since krb5-1.5,
when the DAL was integrated.  Restoring it is a nontrivial amount of
work, so just document it for now.

ticket: 8470 (new)
target_version: 1.14-next
target_version: 1.13-next
tags: pullup

doc/admin/admin_commands/kdb5_util.rst
src/kadmin/dbutil/dump.c

index c21bf62baaf38a42527d72c5f37e9d5250408463..f43bcf1f9da7544c5cbd4525f259a18f373d4534 100644 (file)
@@ -182,6 +182,12 @@ load_dump version 7".  If filename is not specified, or is the string
     corruption, this option will probably retrieve more principals
     than the **-rev** option will.
 
+    .. note::
+        The **-recurse** option currently doesn't modify the dump
+        functionality as described above; it does a normal dump.
+
+    .. deprecated:: 1.5
+
 .. _kdb5_util_dump_end:
 
 load
index e3b0f7ca7827e276fba4eed1cb7c254181fe1be4..90fa87f940ae3ff55c8e44469578d53bc5ec3dc0 100644 (file)
@@ -1303,6 +1303,9 @@ dump_db(int argc, char **argv)
         } else if (!strcmp(argv[aindex], "-recurse")) {
             /* Accept this for compatibility, but do nothing since
              * krb5_db_iterate doesn't support it. */
+            fprintf(stderr,
+                    _("%s: WARNING: the -recurse option is currently "
+                      "unimplemented\n"), progname);
         } else {
             break;
         }