nis2ad.exe -y NIS_Domain -a AD_domain[options]mapfile
DESCRIPTION
The nis2ad Windows command-line utility transfers the
entries in the Network Information Service (NIS) map source file
specified by mapfile located in the UNIX NIS domain
specified by NIS_domain to the Active Directory domain
specified by AD_domain. NIS map source files are the plain
text files from which the NIS map databases are compiled.
The -m option must be specified to perform the actual
migration; otherwise, nis2ad performs the actions it would
perform in an actual migration without actually changing Active
Directory, including logging any conflicting entries.
The nis2ad utility accepts the following options and
arguments:
-ddirectoryname
Specifies the name of the directory that contains NIS map
source files.
-sserver
Specifies the domain controller server hosting Active
Directory; otherwise, uses the current server.
-uuser
Specifies the name of a user having administrator permissions
on this computer; otherwise, uses the current user.
-ppassword
If a password is needed but is not specified, nis2ad
prompts the user for the password.
-flogfile
Specifies the name of the log file. The log file must be on
your local computer. The default is %temp%\nis2ad.log.
-cconflictfile
Specifies the file where conflict details are written. The
default is %temp%\conflicts.log.
-r {yes|no}
Replaces the object in Active Directory with the object being
migrated. The default is no.
-ttargetContainer
Specifies the target container name. Applicable only when
creating a new NIS domain. If not specified, uses default or uses
the container of the target domain.
-m
Performs the migration. If this option is omitted, the program
finds and reports conflicts, but does not actually perform the
migration.