summaryrefslogtreecommitdiff
path: root/server/keytab-backend
diff options
context:
space:
mode:
authorRuss Allbery <rra@stanford.edu>2008-02-01 02:17:22 +0000
committerRuss Allbery <rra@stanford.edu>2008-02-01 02:17:22 +0000
commit7aadbc3139ef9737421560ad3180218796bd7287 (patch)
treecb110280e1b52e6974a2066934f97315546f0477 /server/keytab-backend
parent8107104a98ac92d5334cea00aa82a1ea99b02c62 (diff)
keytab-backend now passes kadmin.local ktadd its options in a specific
order to satisfy the picky option parser.
Diffstat (limited to 'server/keytab-backend')
-rwxr-xr-xserver/keytab-backend2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/keytab-backend b/server/keytab-backend
index a06c717..2956730 100755
--- a/server/keytab-backend
+++ b/server/keytab-backend
@@ -135,7 +135,7 @@ sub download {
# Do the actual work.
my $filename = "$TMP/keytab$$";
- my $command = "ktadd -q -norandkey -k $filename $principal";
+ my $command = "ktadd -k $filename -q -norandkey $principal";
my $output = `$KADMIN -q '$command' 2>&1`;
if ($? != 0) {
my $status = ($? >> 8);