]> 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)
committerDerrick Brashear <shadow@dementia.org>
Wed, 17 Feb 2010 13:09:13 +0000 (05:09 -0800)
commitfa2536c02cf26f7db30bf623e95f42be88138d14
tree3afb910ce4fbad93d7d07423cb83c4e956f249f4
parent4bc04a79e75ffa5ad852dfb475bfcb3b263b4e57
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>
src/ptserver/db_verify.c