summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-10 15:02:52 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-12 12:57:08 +0100
commit29635c93d7a3e7d6297c065b56ece9650f6e4ee8 (patch)
tree7342027c8f9614850ce41779d124d4a1cb56ee1b /source4/torture
parent8d3e86d6ae6300ae427cc9104edbcc1193b5e892 (diff)
downloadsamba-29635c93d7a3e7d6297c065b56ece9650f6e4ee8.tar.gz
samba-29635c93d7a3e7d6297c065b56ece9650f6e4ee8.tar.bz2
samba-29635c93d7a3e7d6297c065b56ece9650f6e4ee8.zip
s4-torture cope with servers earlier than Windows 2008
Only Win2008 started to support new encryption types. Andrew Bartlett
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/forest_trust.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/rpc/forest_trust.c b/source4/torture/rpc/forest_trust.c
index 397661ed8a..b7fdd2a4b8 100644
--- 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;
}