'\" .\" @(#)samcheck.1m 1.2 01 Oct 1998 SMI .\" Copyright (c) 1999, Sun Microsystems, Inc. .\" All Rights Reserved .\" Copyright (c) AT&T 1997. All rights reserved. .\" @(#)samcheck.rof 1.2 12/16/96 .TH samcheck 1m "24 Sept 1998" .if n .tr \-- .SH "NAME" samcheck - checks, repairs, or dumps the SunLink Server account database. .SH SYNOPSIS .ft4 .nf samcheck -s | -r [ -v ] samcheck -c | -a | -b | -l [ -v ] [ -F filename ] .SH OPTIONS .SS -s Checks the current account database. .SS -r Checks and repairs the current account database. .SS -v Verbose. .SS -c Dumps the change log. .SS -a Dumps the account file. .SS -b Dumps the Builtin file .SS -l Dumps the lsa file. .SS -F Uses the filename specified rather than the default file. .SH EXAMPLES To dump the SunLink Server account file, type the following command at the UNIX system console: .sp.5 samcheck -a .sp.5 To dump the SunLink Server account file including its internal control structures, type the following command at the UNIX system console: .sp.5 samcheck -a -v .sp.5 To dump a copy of the SunLink Server account file found in /tmp/pier3_dom, type the following command at the UNIX system console: .sp.5 samcheck -a -F /tmp/pier3_dom .SH NOTES You must stop the server if you use the -s or -r options. If the account database on a backup domain controller is reported as corrupt, use the joindomain command to re-initialize it.