DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering ID mapping

Checking files and fixing file inconsistencies

Periodically you should run a check on the attribute map files and correct any problems that might exist. attradmin provides options that allow you to check a file, correct entries with syntax errors, and sort entries that are out of order.


NOTE: attradmin does not check the validity of the attributes it maps.

To check the consistency of the file, enter:

attradmin -A attrname -c

where attrname is the name of the attribute.

If the file contains errors, the command displays output similar to the output shown below:

   Error on line number 2: Mandatory field missing
   Error on line number 4: Duplicate entry
   Error on line number 5: Line out of order
   Error on line number 7: Mandatory field missing
   Error on line number 8: Line out of order
   Error on line number 9: Bad transparent mapping
   Error on line number 10: Bad transparent mapping
   Error on line number 15: Line out of order
   8 error(s) found in attribute map
To correct the problems in the file, use the -f option, as follows:

attradmin -A attrname -f

When the -f option is entered, attradmin gives you the opportunity to replace entries that contain syntax errors. It then sorts entries that are out of order.

Entering attradmin with the -c option again will verify that all errors were fixed correctly.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004