git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21bfc4
)
s4-smbtorture: avoid secdesc test on connect handle in RPC-SAMR-USERS for Samba3.
author
Günther Deschner
<gd@samba.org>
Fri, 8 May 2009 22:46:17 +0000
(
00:46
+0200)
committer
Günther Deschner
<gd@samba.org>
Fri, 8 May 2009 22:51:04 +0000
(
00:51
+0200)
With this, I think, we pass RPC-SAMR-USERS.
Guenther
source4/torture/rpc/samr.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index aa13acf444d88509d8558b7f6a33c943d7f25363..6327985b411354bd400ea51b80a53b25520d6622 100644
(file)
--- a/
source4/torture/rpc/samr.c
+++ b/
source4/torture/rpc/samr.c
@@
-6012,7
+6012,9
@@
bool torture_rpc_samr_users(struct torture_context *torture)
ret &= test_Connect(p, torture, &handle);
- ret &= test_QuerySecurity(p, torture, &handle);
+ if (!torture_setting_bool(torture, "samba3", false)) {
+ ret &= test_QuerySecurity(p, torture, &handle);
+ }
ret &= test_EnumDomains(p, torture, &handle, TORTURE_SAMR_USER_ATTRIBUTES, NULL);