Article ID: 154760
Article Last Modified on 11/1/2006
dsmchk -d <domain> -u <username> [-n <Nwserver>]
[-r <retries>:<interval>]
where
-d <domain> Specifies the domain in which to verify
password synchronization.
-u <username> Specifies the user account.
-n <Nwserver> Specifies the name of a NetWare server with
which to verify password synchronization. If
you don't specify a server, the default is all
NetWare servers in the domain.
-r <retries>:<interval> Specifies a number of retries and the interval,
in seconds, between retries.
0 The password is synchronized across the specified NetWare server(s)
and the primary domain controller.
1 The password is not synchronized.
2 The NetWare server is unknown or not administered by DSMN.
3 The domain name is unknown.
4 The user account name is unknown or not administered by DSMN.
5 The user account name is not administered between the primary domain
controller and the NetWare server.
c:\Winnt\System32\Repl\Import\Scripts\I386
c:\Winnt\System32\Repl\Import\Scripts\Alpha
expand d:\Dsmn\Nt40\I386\Dsmchk.ex_
c:\Winnt\System32\Repl\Import\Scripts\I386\Dsmchk.exe
expand d:\Dsmn\Nt40\I386\Swclnt.dl_
c:\Winnt\System32\Repl\Import\Scripts\I386\Swclnt.dll
expand d:\Dsmn\Nt40\Alpha\Dsmchk.ex_
c:\Winnt\System32\Repl\Import\Scripts\Alpha\Dsmchk.exe
expand d:\Dsmn\Nt40\Alpha\Swclnt.dl_
c:\Winnt\System32\Repl\Import\Scripts\Alpha\Swclnt.dll
NOTE: Each of the indented lines in the example is a continuation of
the line above; you should type the entire command on one line.
copy c:\Winnt\System32\Msvcrt.dll
c:\Winnt\System32\Repl\Import\Scripts\I386
copy c:\Winnt\System32\Msvcrt.dll
c:\Winnt\System32\Repl\Import\Scripts\Alpha
NOTE: Each of the indented lines in the example is a continuation of
the line above; you should type the entire command on one line.
- Copy the Dsmchk.exe and Swclnt.dll files (and Msvcrt.dll if you are
using a Windows NT 3.51 client) for the client's processor type to
the client's %Systemroot%\System32 directory.
For example, from the client's command prompt, type:
copy \\server\netlogon\i386\*.* c:\winnt\system32
:TEST_USER \\DSMNsrvr\netlogon\i386\dsmchk -d domain2 -u myname -n NWserver -r 4:30 @ECHO OFF IF ERRORLEVEL 5 GOTO USER_NOT_PROPED IF ERRORLEVEL 4 GOTO USER_NOT_DSMN IF ERRORLEVEL 3 GOTO DOMAIN_NOT_DSMN IF ERRORLEVEL 2 GOTO SVR_NOT_IN_DSMN IF ERRORLEVEL 1 GOTO SVR_NOT_IN_SYNC IF ERRORLEVEL 0 GOTO ALL_IN_SYNC :ALL_IN_SYNC ECHO The servers are synchronized. GOTO DONE :SVR_NOT_IN_SYNC ECHO The servers are not synchronized. Rechecking . . . sleep 30 \\DSMNsrvr\netlogon\i386\dsmchk -d domain2 -u myname -n NWserver -r 1:30 IF ERRORLEVEL 1 GOTO TEST_USER GOTO DONE :SVR_NOT_IN_DSMN ECHO The NetWare server is unknown or not administered by DSMN. GOTO DONE :DOMAIN_NOT_DSMN ECHO The domain name is unknown. GOTO DONE :USER_NOT_DSMN ECHO The user account name is unknown or not administered by DSMN. GOTO DONE :USER_NOT_PROPED ECHO The user account name is not administered between the primary ECHO Domain controller and the NetWare server. GOTO DONE :DONE PAUSE
Additional query words: prodnt
Keywords: kb3rdparty kbhowto kbnetwork kbusage KB154760