diff options
author | Derrell Lipman <derrell@samba.org> | 2005-06-15 02:43:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:13 -0500 |
commit | f021dffb6991138213967521c743f03f474f9af9 (patch) | |
tree | f29843de72640cc3c449b785a3ff18852991a81f /source4/lib/ldb/common/ldb_explode_dn.c | |
parent | ec4a99ffe89656c4ef89e21109c4136d491952d5 (diff) | |
download | samba-f021dffb6991138213967521c743f03f474f9af9.tar.gz samba-f021dffb6991138213967521c743f03f474f9af9.tar.bz2 samba-f021dffb6991138213967521c743f03f474f9af9.zip |
r7601: ldb_sqlite3 work in progress
(This used to be commit 0a64948152a446b5e127578d49b1ed8a90a1a222)
Diffstat (limited to 'source4/lib/ldb/common/ldb_explode_dn.c')
-rw-r--r-- | source4/lib/ldb/common/ldb_explode_dn.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_explode_dn.c b/source4/lib/ldb/common/ldb_explode_dn.c index 5cea4424b0..79cbe12d61 100644 --- a/source4/lib/ldb/common/ldb_explode_dn.c +++ b/source4/lib/ldb/common/ldb_explode_dn.c @@ -138,10 +138,13 @@ ldb_explode_dn(void * mem_ctx, } /* Copy the provided DN so we can manipulate it */ - if ((dn_copy = p = talloc_strdup(mem_ctx, orig_dn)) == NULL) { + if ((p = ldb_dn_fold(mem_ctx, orig_dn, + hUserData, case_fold_attr_fn)) == NULL) { goto failed; } + dn_copy = p; + /* Our copy may end shorter than the original as we unescape chars */ dn_end = dn_copy + orig_len + 1; |