s4:dsdb/extended_dn_in: don't force DSDB_SEARCH_SHOW_RECYCLED
commitb23e9d5598c16990ec26f7aea3637760255e1633
authorStefan Metzmacher <metze@samba.org>
Mon, 7 Jul 2014 10:00:14 +0000 (7 12:00 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Jul 2014 10:46:16 +0000 (15 12:46 +0200)
tree147c5736988bcb484faa7ab7e06e35b732937306
parentf23869c4f263337429af2b20b9120b10c2a747f9
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>
(cherry picked from commit 9e6349f81edb3914d18bc50473d65c0c1f5bc113)
source4/dsdb/samdb/ldb_modules/extended_dn_in.c