volserver: Restore -allow-dotted-principals
authorAndrew Deason <adeason@sinenomine.net>
Thu, 31 Oct 2013 04:28:16 +0000 (23:28 -0500)
committerDerrick Brashear <shadow@your-file-system.com>
Thu, 7 Nov 2013 12:19:33 +0000 (04:19 -0800)
Commit cd3492d0 converted volserver command-line parsing to use
libcmd. However, it accidentally also changed the
-allow-dotted-principals option to -dotted. Change it back to
-allow-dotted-principals for consistency with previous versions, as
well as other server processes.

Note that currently there are no public releases of OpenAFS containing
cd3492d0, so no public release has contained the -dotted option.

Change-Id: Ied07f0eb867a13591656daae00bc9e85a2c7f6c8
Reviewed-on: http://gerrit.openafs.org/10423
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>

src/volser/volmain.c

index 3b7dfc6..05e358c 100644 (file)
@@ -292,7 +292,7 @@ ParseArgs(int argc, char **argv) {
           "log vos users");
     cmd_AddParmAtOffset(opts, OPT_rxbind, "-rxbind", CMD_FLAG, CMD_OPTIONAL,
           "bind only to the primary interface");
-    cmd_AddParmAtOffset(opts, OPT_dotted, "-dotted", CMD_FLAG, CMD_OPTIONAL,
+    cmd_AddParmAtOffset(opts, OPT_dotted, "-allow-dotted-principals", CMD_FLAG, CMD_OPTIONAL,
           "permit Kerberos 5 principals with dots");
     cmd_AddParmAtOffset(opts, OPT_debug, "-d", CMD_SINGLE, CMD_OPTIONAL,
           "debug level");