s4:dsdb/extended_dn_in: don't force DSDB_SEARCH_SHOW_RECYCLED
commit9e6349f81edb3914d18bc50473d65c0c1f5bc113
authorStefan Metzmacher <metze@samba.org>
Mon, 7 Jul 2014 10:00:14 +0000 (7 12:00 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 9 Jul 2014 06:42:07 +0000 (9 08:42 +0200)
tree082c647c7ebe095e01069c3d945173cfbe7f9926
parentfa177273b87d980f81f19acb2f1a9154f8c6bfd9
s4:dsdb/extended_dn_in: don't force DSDB_SEARCH_SHOW_RECYCLED

We should take the controls the caller provided when we search
for existing objects.

A search with a basedn of '<GUID=....>' should result in LDB_ERR_NO_SUCH_OBJECT
is the object has isDeleted=TRUE.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10694

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/extended_dn_in.c