s4-ldb: allow for unescaped '=' in a index DN
authorAndrew Tridgell <tridge@samba.org>
Sun, 25 Oct 2009 11:02:31 +0000 (22:02 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sun, 25 Oct 2009 11:02:31 +0000 (22:02 +1100)
commit12c9af78179b71721e30b03ae9fc0edd7cda940b
treeb17ce216dbd3a58e2d263f843774964015d0bda5
parent54bd30f70632b8fcbe164133d2479092b7262a29
s4-ldb: allow for unescaped '=' in a index DN

The ldb_dn_explode code normally enforces all special characters,
including a '=', must be escaped. Unfortunately this conflicts with
the ltdb index DNs, which for binary attributes may be base64
encoded. This allows a unescaped '=' as a special case for index DNs.
source4/lib/ldb/common/ldb_dn.c
source4/lib/ldb/ldb_tdb/ldb_index.c