ldb: added ldb_dn_replace_components()
authorAndrew Tridgell <tridge@samba.org>
Mon, 1 Aug 2011 02:24:13 +0000 (12:24 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 4 Aug 2011 06:17:24 +0000 (16:17 +1000)
commit4ba8069e3d33dca53780521026c972425c1d66c5
treef05854d1aa7fd48d3f9601dca4b4154ad5856134
parented59f21f65bf9c16422a01068535bf4a862372d7
ldb: added ldb_dn_replace_components()

this allows you to replace the string part of a DN with the string
part from another DN. This is useful when you want to fix a DN that
has the right GUID but the wrong string part, because the target
object has moved.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
lib/ldb/common/ldb_dn.c
lib/ldb/include/ldb_module.h