git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3e86d
)
s4-torture cope with servers earlier than Windows 2008
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 10 Dec 2011 04:02:52 +0000
(15:02 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 12 Dec 2011 11:57:08 +0000
(12:57 +0100)
Only Win2008 started to support new encryption types.
Andrew Bartlett
source4/torture/rpc/forest_trust.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/forest_trust.c
b/source4/torture/rpc/forest_trust.c
index 397661ed8ac197da2e0f6758a9d8f4d2d9e1854b..b7fdd2a4b8112dbce4f16d101e95b3946541581a 100644
(file)
--- a/
source4/torture/rpc/forest_trust.c
+++ b/
source4/torture/rpc/forest_trust.c
@@
-309,6
+309,11
@@
static bool get_and_set_info(struct dcerpc_pipe *p,
"%s but %s\n",
nt_errstr(il[c].get_result),
nt_errstr(qr.out.result));
+
+ /* We may be testing a server without support for this level */
+ if (qr.in.level == LSA_TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES && NT_STATUS_EQUAL(qr.out.result, NT_STATUS_INVALID_PARAMETER)) {
+ return true;
+ }
return false;
}