diff options
Diffstat (limited to 'source4/lib/ldb/common/ldb_dn.c')
-rw-r--r-- | source4/lib/ldb/common/ldb_dn.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index 1b714c9427..180ff41ff4 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -288,8 +288,8 @@ char *ldb_dn_escape_value(TALLOC_CTX *mem_ctx, struct ldb_val value) static bool ldb_dn_explode(struct ldb_dn *dn) { char *p, *ex_name, *ex_value, *data, *d, *dt, *t; - bool trim = false; - bool in_extended = false; + bool trim = true; + bool in_extended = true; bool in_ex_name = false; bool in_ex_value = false; bool in_attr = false; @@ -352,10 +352,6 @@ static bool ldb_dn_explode(struct ldb_dn *dn) } p = parse_dn; - in_extended = true; - in_ex_name = false; - in_ex_value = false; - trim = true; t = NULL; d = dt = data; |