summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-09-27 19:22:55 -0700
committerJeremy Allison <jra@samba.org>2019-10-03 16:39:31 +0000
commit8a094672212eb49291ff6c8c9441a0a6c71c1561 (patch)
tree9590202f6c6f71d10caba8e0d26822b1e2b26cbf /source3/rpcclient
parentcb0b54d9acb4a0021a09f90299fec1bad3b63107 (diff)
downloadsamba-8a094672212eb49291ff6c8c9441a0a6c71c1561.tar.gz
rpcclient: Remove domain sid check
The samr calls can take care of this on their own Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c6
1 files changed, 0 insertions, 6 deletions
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())) {