[Samba] rpc trust gives NT_STATUS_INVALID_HANDLE with 3.0.11

Thorkil Olesen thorkil at pip.dknet.dk
Wed Feb 16 17:11:16 GMT 2005

When I try to establish a trust from SAMBA 3.0.11 to Windows 2003 I get the 
error: NT_STATUS_INVALID_HANDLE. I have no problem the other way. I had no 
problem either, when I ran SAMBA 3.0.9, and the problem disappeared when I 
down-graded to 3.0.9.

Here is what happens ('CALYPSO' is the Windows-server and 'KONTOR' is its 

[root at linux /root]# net rpc trustdom establish kontor
Could not connect to server CALYPSO
[2005/02/16 17:20:27, 0] rpc_client/cli_pipe.c:rpc_api_pipe(435)
  cli_pipe: return critical error. Error was NT_STATUS_INVALID_HANDLE
[2005/02/16 17:20:27, 0] utils/net_rpc.c:rpc_trustdom_establish(4560)
  WksQueryInfo call failed.

When run with SAMBA 3.0.9 the sentence 'Could not connect to server CALYPSO' 
is also given, but the trust is established anyway.

SAMBA is compiled from the SRPM-package on Redhat 7.1. Windows 2003 is 
upgraded with all current security-updates.

More information about the samba mailing list