1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00
Kamen Mazdrashki fb0df534f4 s4-ldb_ldif: Don't check for LDB_FLG_SHOW_BINARY in ldb_should_b64_encode
LDB_FLG_SHOW_BINARY is data representation flag and should
not modify behavior of data checking functions.

This lead to a bug in lib/ldb/ldb_tdb/ldb_index.c as ltdb_index_key()
function relies on ldb_should_b64_encode function to determine
how to process index keys.

Found using following test search:
bin/ldbsearch -H st/dc/private/sam.ldb -b "CN=Deleted Objects,DC=samba,DC=example,DC=com" \
 "(objectGUID=97b52eac-6d89-434d-b935-1e5f2e086ffc)" replPropertyMetaData --show-deleted --show-binary
2011-01-18 00:57:05 +02:00
..
2011-01-03 01:48:04 +01:00
2010-11-07 01:57:34 +01:00
2011-01-17 00:25:29 +01:00
2010-12-24 02:01:09 +01:00
2011-01-02 18:42:12 +01:00
2010-11-07 01:52:13 +01:00
2010-12-24 12:59:49 +01:00