diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-04-22 09:17:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:51:21 -0500 |
commit | ca33b7e675fb054cdd5cdb7c938c1c05cecc231e (patch) | |
tree | 183a10cd2d63438aeef043730683cfacdacbe68c /source4 | |
parent | d8e01cb9bd582c9f585c5d36831e215ca92c736c (diff) | |
download | samba-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)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/drsuapi_cracknames.c | 15 |
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)) { |