s4-dsdb: added dsdb_find_nc_root()
authorAndrew Tridgell <tridge@samba.org>
Wed, 16 Dec 2009 02:36:17 +0000 (13:36 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 16 Dec 2009 09:56:22 +0000 (20:56 +1100)
commit3c1f18c5e2c3f56d512aa9a8cfab2f5698bafbb0
tree3878e189f1c02032bbb619bf524f0b06a57b88bd
parent7d0fdcae1e68f24a642e1b0fb0069ec54502fbb9
s4-dsdb: added dsdb_find_nc_root()

This is based on the function of the same name from Eduardo Lima
<eduardoll@gmail.com>, but using ldb_dn_compare, to give us
comparisons consistent with what the rest of the code uses.

We will use this function in combination with dsdb_wellknown_dn() to
find the Deleted Objects container for any object.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c