diff options
author | Simo Sorce <idra@samba.org> | 2006-11-01 23:31:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:24:44 -0500 |
commit | b7774527faf095f612eb1de48efacec6bd710a87 (patch) | |
tree | 0fb414c1c07d45504d04818dccd6918444ceedb8 /source4/lib/ldb/ldb_ildap | |
parent | d046e8d0ccdcd5c288b42e8ecb7ab2394a5841d7 (diff) | |
download | samba-b7774527faf095f612eb1de48efacec6bd710a87.tar.gz samba-b7774527faf095f612eb1de48efacec6bd710a87.tar.bz2 samba-b7774527faf095f612eb1de48efacec6bd710a87.zip |
r19531: Make struct ldb_dn opaque and local to ldb_dn.c
(This used to be commit 889fb983ba1cf8a11424a8b3dc3a5ef76e780082)
Diffstat (limited to 'source4/lib/ldb/ldb_ildap')
-rw-r--r-- | source4/lib/ldb/ldb_ildap/ldb_ildap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/ldb_ildap/ldb_ildap.c b/source4/lib/ldb/ldb_ildap/ldb_ildap.c index 3843d2b825..5a3ccd6977 100644 --- a/source4/lib/ldb/ldb_ildap/ldb_ildap.c +++ b/source4/lib/ldb/ldb_ildap/ldb_ildap.c @@ -639,8 +639,8 @@ static int ildb_rename(struct ldb_module *module, struct ldb_request *req) msg->r.ModifyDNRequest.newrdn = talloc_asprintf(msg, "%s=%s", - req->op.rename.newdn->components[0].name, - ldb_dn_escape_value(msg, req->op.rename.newdn->components[0].value)); + ldb_dn_get_rdn_name(req->op.rename.newdn), + ldb_dn_escape_value(msg, *ldb_dn_get_rdn_val(req->op.rename.newdn))); if (msg->r.ModifyDNRequest.newrdn == NULL) { talloc_free(msg); return LDB_ERR_OPERATIONS_ERROR; |