]> git.michaelhowe.org Git - packages/o/openafs.git/commit
prdb_verify -rebuild with supergroups fix
authorJason Rogers <jrogers@sinenomine.net>
Mon, 15 Feb 2010 23:19:12 +0000 (17:19 -0600)
committerRuss Allbery <rra@debian.org>
Wed, 26 May 2010 15:24:14 +0000 (08:24 -0700)
commitc53316118d01f62457cc19a12d8e51ba6fe0fb61
treef57ff76f674944098a1ed626f17950440f81df9e
parent27c181a7ff19e05d0b10882917bf38c4759550da
prdb_verify -rebuild with supergroups fix

This change eliminates the redundant iteration over the
supergroup[] array in DumpRecreate. By iterating over both
this array and entries[], duplicate au lines are created
and the count variable becomes incorrect. Furthermore,
the au lines created in the supergroups[] section were
incorrectly in the form of au <group> <member> instead
of au <member> <group>.

FIXES 126500

Change-Id: I087772b63934406273f153f4b8a581d965f1e4d5
Reviewed-on: http://gerrit.openafs.org/1316
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Alistair Ferguson <alistair.ferguson@mac.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit fa2536c02cf26f7db30bf623e95f42be88138d14)
(cherry picked from commit dfa356732fd10073c3b777ccf48f753fcd528c93)
Reviewed-on: http://gerrit.openafs.org/1945
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 3fc5c5311fc4bfe5586818fa26bdccd846d4c8cc)
src/ptserver/db_verify.c