Browse Prior Art Database

FIXACC - A Utility to Repair NET.ACC

IP.com Disclosure Number: IPCOM000104165D
Original Publication Date: 1993-Mar-01
Included in the Prior Art Database: 2005-Mar-18
Document File: 2 page(s) / 68K

Publishing Venue

IBM

Related People

Kells, TR: AUTHOR

Abstract

In Lan Server 1.2, the User Access Subsystem database, net.acc, would occasionally become corrupt for no apparent reason. This caused difficulties for network administrators, who would have to restore an older net.acc and then attempt to determine what changes had been made. It would be much easier if the corrupted net.acc could be repaired.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 52% of the total text.

FIXACC - A Utility to Repair NET.ACC

      In Lan Server 1.2, the User Access Subsystem database, net.acc,
would occasionally become corrupt for no apparent reason.  This
caused difficulties for network administrators, who would have to
restore an older net.acc and then attempt to determine what changes
had been made.  It would be much easier if the corrupted net.acc
could be repaired.

      Corruption of the net.acc file is determined by an integrity
bit.  It would be easy to turn the integrity bit on to uncorrupt
net.acc.  This solution works in many cases, but not all.  There is
no error information stored as to what the exact cause of failure
was,  so the entire net.acc must be rebuilt.  Fixacc is a utility to
rebuild a new net.acc using information from the corrupted net.acc.

      Net.acc is comprised of four sections, the first three are of
fixed length and the fourth section is grown dynamically.  The first
section is the header, or modals, and it contains miscellaneous
information and statistics.  The second section is an array of group
names,  the indices are used to set group membership for individual
users.  The third section is a user hash table that is not referenced
by fixacc.  The final section contains user and access control
objects.  Access control objects contain resource names and a list of
user and group ids and their specific access rights.  User objects
contain all the information specific to a user, including a unique
user id.

      In designing fixacc, it was decided to use the existing network
API's to write information into the new net.acc.  The information
from the corrupted net.acc cannot be read using the APIs, so fixacc
must interpret the information read from the corrupt net.acc into
valid data for the APIs.  The interpretation of data requires fixacc
to work in three passes.

o   The first pass performs several operations.  It first renames the
    corrupted net.acc and creates a new net.acc that is equivalent to
    the initial net.acc shipped with Lan Server.  Next...