fixed ldb rename now that we have unique indexes
authorAndrew Tridgell <tridge@samba.org>
Thu, 4 Jun 2009 03:52:40 +0000 (13:52 +1000)
committerAndrew Tridgell <tridge@samba.org>
Thu, 4 Jun 2009 04:10:11 +0000 (14:10 +1000)
commit0849c1ef77a0538d5d232016a51c002e2197e776
tree350735123a1815fd651113a3a25fd53c071c8879
parent8ca8dabe4615416153be9be7be16558e43d17381
fixed ldb rename now that we have unique indexes

With unique indexes, any rename of a record that has an attribute that
is uniquely indexed needs to be done as a delete followed by an add,
otherwse you'll get an error that the attribute value already exists.
source4/lib/ldb/ldb_tdb/ldb_tdb.c