s3-schannel: Fix Bug #6697. Interdomain trusts with Windows 2008 R2 DCs.
[obnox/samba-ctdb.git] / source / rpc_client / cli_pipe.c
index 35b5a8d9901fd275e8cd6facf66a4d75e1e8bc3e..297892588d617a41c8e4ad60ba62c9bb0dbd3cdc 100644 (file)
@@ -349,7 +349,7 @@ static NTSTATUS cli_pipe_verify_schannel(struct rpc_pipe_client *cli, RPC_HDR *p
                return NT_STATUS_OK;
        }
 
-       if (auth_len != RPC_AUTH_SCHANNEL_SIGN_OR_SEAL_CHK_LEN) {
+       if (auth_len < RPC_AUTH_SCHANNEL_SIGN_OR_SEAL_CHK_LEN) {
                DEBUG(0,("cli_pipe_verify_schannel: auth_len %u.\n", (unsigned int)auth_len ));
                return NT_STATUS_INVALID_PARAMETER;
        }