Maintenance Commands                                 samcheck(1m)

NAME
     samcheck - checks, repairs, or dumps the PC NetLink  account
     database.

SYNOPSIS
     samcheck -s | -r [ -v ] [-I instance ]
     samcheck -c | -a | -b | -l [ -v ] [ -F filename ] [-I instance ]

OPTIONS
  -s
     Checks the current account database.

  -r
     Checks and repairs the current account database.

  -v
     Verbose.

  -c
     Dumps the change log.

  -a
     Dumps the account file.

  -b
     Dumps the Builtin file

  -l
     Dumps the lsa file.

  -F
     Uses the filename specified rather than the default file.

  -I instance
     Specifies the PCNL instance name  or  number.  In  a  multi-
     instance environment instance may be specified either on the
     command line or by the environment  variable  PCNL_INSTANCE.
     If  there  is only one instance configured, it is not neces-
     sary to specify this argument.

EXAMPLES
     To dump the PC NetLink account file, type the following com-
     mand at the UNIX system console:

          samcheck -a
     To dump the PC NetLink account file including  its  internal
     control  structures,  type the following command at the UNIX
     system console:

          samcheck -a -v
     To dump a copy of the  PC  NetLink  account  file  found  in
     /tmp/pier3_dom,  type  the  following  command  at  the UNIX
     system console:

          samcheck -a -F /tmp/pier3_dom

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.