summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-22 09:17:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:21 -0500
commitca33b7e675fb054cdd5cdb7c938c1c05cecc231e (patch)
tree183a10cd2d63438aeef043730683cfacdacbe68c
parentd8e01cb9bd582c9f585c5d36831e215ca92c736c (diff)
downloadsamba-ca33b7e675fb054cdd5cdb7c938c1c05cecc231e.tar.gz
samba-ca33b7e675fb054cdd5cdb7c938c1c05cecc231e.tar.bz2
samba-ca33b7e675fb054cdd5cdb7c938c1c05cecc231e.zip
r22443: It isn't fatal to get the case wrong on this stuff.
Andrew Bartlett (This used to be commit 55639277b2be2f249173f64d51ac87d176e53449)
-rw-r--r--source4/torture/rpc/drsuapi_cracknames.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c
index 9d231be0e1..bfca02c99d 100644
--- a/source4/torture/rpc/drsuapi_cracknames.c
+++ b/source4/torture/rpc/drsuapi_cracknames.c
@@ -930,10 +930,17 @@ BOOL test_DsCrackNames(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
} else if (crack[i].expected_str
&& (strcmp(r.out.ctr.ctr1->array[0].result_name,
crack[i].expected_str) != 0)) {
- printf("DsCrackNames failed - got %s, expected %s on %s\n",
- r.out.ctr.ctr1->array[0].result_name,
- crack[i].expected_str, comment);
- ret = False;
+ if (strcasecmp(r.out.ctr.ctr1->array[0].result_name,
+ crack[i].expected_str) != 0) {
+ printf("DsCrackNames failed - got %s, expected %s on %s\n",
+ r.out.ctr.ctr1->array[0].result_name,
+ crack[i].expected_str, comment);
+ ret = False;
+ } else {
+ printf("(warning) DsCrackNames returned different case - got %s, expected %s on %s\n",
+ r.out.ctr.ctr1->array[0].result_name,
+ crack[i].expected_str, comment);
+ }
} else if (crack[i].expected_dns
&& (strcmp(r.out.ctr.ctr1->array[0].dns_domain_name,
crack[i].expected_dns) != 0)) {