git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb0b54d
)
rpcclient: Remove domain sid check
author
Volker Lendecke
<vl@samba.org>
Sat, 28 Sep 2019 02:22:55 +0000
(19:22 -0700)
committer
Jeremy Allison
<jra@samba.org>
Thu, 3 Oct 2019 16:39:31 +0000
(16:39 +0000)
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>
source3/rpcclient/rpcclient.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/rpcclient.c
b/source3/rpcclient/rpcclient.c
index 952b2d3be7af415ac778884d4714edafd1a5ca06..0ef41433314fb35d362df7a1eeaeaa57f4f7f93d 100644
(file)
--- 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())) {