s4-dsdb: catch duplicate matches in extended_dn_in
authorAndrew Tridgell <tridge@samba.org>
Wed, 22 Jun 2011 07:05:08 +0000 (17:05 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 22 Jun 2011 09:16:26 +0000 (11:16 +0200)
commitd9ee7aebcb26c6115e0caeacb90f3f916a5af600
tree28a8e6a32e0fc1443e1a00ca53638c901d4d2a2d
parent21af0af4e4a498bc676125507fdb96fa5b0e5cd5
s4-dsdb: catch duplicate matches in extended_dn_in

When searching using extended DNs, if there are multiple matches then
return an object not found error. This is needed for the case of a
duplicate objectSid, which happens for S-1-5-17

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/extended_dn_in.c