From: Volker Lendecke Date: Sat, 28 Sep 2019 02:22:55 +0000 (-0700) Subject: rpcclient: Remove domain sid check X-Git-Tag: talloc-2.3.1~503 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a094672212eb49291ff6c8c9441a0a6c71c1561;p=thirdparty%2Fsamba.git rpcclient: Remove domain sid check The samr calls can take care of this on their own Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 952b2d3be7a..0ef41433314 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -855,12 +855,6 @@ static NTSTATUS do_cmd(struct cli_state *cli, TALLOC_CTX *mem_ctx; - if (cmd_entry->table == &ndr_table_samr && - !dom_sid_is_valid_account_domain(&domain_sid)) - { - return NT_STATUS_INVALID_DOMAIN_STATE; - } - /* Create mem_ctx */ if (!(mem_ctx = talloc_stackframe())) {