I was trying this command in my network. It worked for both w2k and Nt4 -> Both machines shutdown properly ( using net rpc shutdown ). However, when I tried to abort the shutdown -> only the NT 4 machine aborted it. The w2k machine continued with the shutdown sequence, and it didn't abort. Here is the debug = 4 output for both NT 4 ( abortshutdown ) [2003/09/29 11:31:19, 3] libsmb/cliconnect.c:cli_start_connection(1290) Connecting to host=10.5.0.235 [2003/09/29 11:31:19, 3] lib/util_sock.c:open_socket_out(690) Connecting to 10.5.0.235 at port 445 [2003/09/29 11:31:19, 2] lib/util_sock.c:open_socket_out(726) error connecting to 10.5.0.235:445 (Connection refused) [2003/09/29 11:31:19, 3] lib/util_sock.c:open_socket_out(690) Connecting to 10.5.0.235 at port 139 [2003/09/29 11:31:19, 1] libsmb/cliconnect.c:cli_start_connection(1305) session request to 10.5.0.235 failed (Called name not present) [2003/09/29 11:31:19, 3] libsmb/cliconnect.c:cli_start_connection(1290) Connecting to host=10.5.0.235 [2003/09/29 11:31:19, 3] lib/util_sock.c:open_socket_out(690) Connecting to 10.5.0.235 at port 139 [2003/09/29 11:31:19, 4] lib/time.c:get_serverzone(122) Serverzone is 14400 [2003/09/29 11:31:19, 2] utils/net.c:main(758) return code = 0 W2K ( abortshutdown ) [2003/09/29 11:34:15, 3] libsmb/cliconnect.c:cli_start_connection(1290) Connecting to host=10.5.0.16 [2003/09/29 11:34:15, 3] lib/util_sock.c:open_socket_out(690) Connecting to 10.5.0.16 at port 445 [2003/09/29 11:34:15, 4] lib/time.c:get_serverzone(122) Serverzone is 14400 [2003/09/29 11:34:15, 2] libsmb/cliconnect.c:cli_session_setup_spnego(635) Doing spnego session setup (blob length=16) [2003/09/29 11:34:15, 3] libsmb/cliconnect.c:cli_session_setup_spnego(639) server didn't supply a full spnego negprot [2003/09/29 11:34:15, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(469) Got challenge flags: [2003/09/29 11:34:15, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(33) Got NTLMSSP neg_flags=0x60890215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_CHAL_TARGET_INFO NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2003/09/29 11:34:15, 3] libsmb/ntlmssp.c:ntlmssp_client_challenge(518) NTLMSSP: Set final flags: [2003/09/29 11:34:15, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(33) Got NTLMSSP neg_flags=0x60080215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH [2003/09/29 11:34:15, 2] utils/net.c:main(758) return code = 0 Hope these logs are useful to somebody ....
Can you post debug logs at level 10? They show a lot more useful information.
Latest CVS should fix this. This is definitely bad behavior by win2k, but we now try out the new initshutdown interface that win2k support and fall back to the winreg pipe if needed (for older systems).
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
database cleanup