summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/drsuapi.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-07 05:14:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:53 -0500
commitd0179f164a498f23b1acd726ba7e806afee4c15b (patch)
tree9a6284020acf64649a648ba0b45115b4d9a87aeb /source4/torture/rpc/drsuapi.c
parent1c7f70ded539fb750278792c05d05024f709ec76 (diff)
downloadsamba-d0179f164a498f23b1acd726ba7e806afee4c15b.tar.gz
samba-d0179f164a498f23b1acd726ba7e806afee4c15b.tar.bz2
samba-d0179f164a498f23b1acd726ba7e806afee4c15b.zip
r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Fix up our server side implementation to pass almost all the tests (a couple are skipped). Don't require the DsGetDomainControllerInfo calls to pass, just get some info from them. Andrew Bartlett (This used to be commit a29eb8f7e541d2021726601faf52355e312c916b)
Diffstat (limited to 'source4/torture/rpc/drsuapi.c')
-rw-r--r--source4/torture/rpc/drsuapi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index c0ed2953f2..0129fe9b63 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -686,8 +686,6 @@ BOOL torture_rpc_drsuapi(struct torture_context *torture)
mem_ctx = talloc_init("torture_rpc_drsuapi");
- printf("Connected to DRAUAPI pipe\n");
-
ZERO_STRUCT(priv);
priv.join = torture_join_domain(TEST_MACHINE_NAME, ACB_SVRTRUST,
@@ -768,7 +766,8 @@ BOOL torture_rpc_drsuapi_cracknames(struct torture_context *torture)
ret &= test_DsBind(p, mem_ctx, &priv);
if (ret) {
- ret &= test_DsGetDomainControllerInfo(p, mem_ctx, &priv);
+ /* We don't care if this fails, we just need some info from it */
+ test_DsGetDomainControllerInfo(p, mem_ctx, &priv);
ret &= test_DsCrackNames(p, mem_ctx, &priv);