diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-11-04 17:42:53 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-11-12 16:34:01 +1100 |
commit | fd5174e88ca1727a91d6dc9bf9bd898ff9087fe8 (patch) | |
tree | 7f1511fcea311f2ef637ca23dee8699ba00adfb6 /source4/torture/ldap | |
parent | a8769e667514f83a45ee3e825d21a351987d0210 (diff) | |
download | samba-fd5174e88ca1727a91d6dc9bf9bd898ff9087fe8.tar.gz samba-fd5174e88ca1727a91d6dc9bf9bd898ff9087fe8.tar.bz2 samba-fd5174e88ca1727a91d6dc9bf9bd898ff9087fe8.zip |
lib/util Split data_blob_hex_string() into upper and lower
Rather than have a repeat of the bugs we found at the plugfest where
hexidecimal strings must be in upper or lower case in particular
places, ensure that each caller chooses which case they want.
This reverts most of the callers back to upper case, as things were
before tridge's patch. The critical call in the extended DN code is
of course handled in lower case.
Andrew Bartlett
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r-- | source4/torture/ldap/schema.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/ldap/schema.c b/source4/torture/ldap/schema.c index 7fe171691a..b0a4892d7a 100644 --- a/source4/torture/ldap/schema.c +++ b/source4/torture/ldap/schema.c @@ -356,7 +356,7 @@ static bool test_dump_sorted_syntax(struct ldb_context *ldb, struct test_rootDSE if (strcmp(syntaxes[i], a->attributeSyntax_oid) != 0) continue; - om_hex = data_blob_hex_string(ldb, &a->oMObjectClass); + om_hex = data_blob_hex_string_upper(ldb, &a->oMObjectClass); if (!om_hex) { return false; } |