s4-dsdb: Use controls provided during the request while searching for object to delete
commit72ca5c39c9a911791af3d0abb8a146093b5e3e67
authorMatthieu Patou <mat@matws.net>
Wed, 8 Jun 2011 08:20:32 +0000 (8 12:20 +0400)
committerAndrew Tridgell <tridge@samba.org>
Thu, 21 Jul 2011 01:44:35 +0000 (21 11:44 +1000)
tree88db0b835c4db90802b46dd49ac23d09619b5c3d
parent6362c9c30d213381c5b51783d4842bf83de5074b
s4-dsdb: Use controls provided during the request while searching for object to delete

If the parent request specify the show_deleted control we must use it in
order to be able to see the deleted objects.

Also we just allow to trusted connections with the system account to
remove deleted objects, others receive an unwilling to perform.
source4/dsdb/samdb/ldb_modules/objectclass.c