[krbdev.mit.edu #8806] kdb5_util errors on command arguments matching command names

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue May 21 13:40:04 EDT 2019


kdb5_util's top-level argv loop continues parsing command-line 
arguments after it finds the command name.  This is probably 
intentional, so that global options like "-r realm" can appear before 
or after the command name.  However, if any of the command arguments 
happen to match a command name, usage() is called with no explanation.

I ran into this when running trying to load a dump file named "dump" 
with "kdb5_util load dump".



More information about the krb5-bugs mailing list