s4-dsdb: fixed behaviour of show_deleted and show_recycled control
authorAndrew Tridgell <tridge@samba.org>
Fri, 7 Oct 2011 00:46:59 +0000 (11:46 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 7 Oct 2011 02:20:44 +0000 (13:20 +1100)
commita5f311d4690f6b76e6bd304b1fad98811488ed1f
tree5b955c6ba73d14ba20ed93c92d6aaf6a8db1d2e1
parent365f705345be02915fafedc83ec3c610285f6f81
s4-dsdb: fixed behaviour of show_deleted and show_recycled control

to correctly implement the show_deleted and show_recycled control we
need to know if the recyclebin is enabled. When not enabled, the
isRecycled attribute is ignored, and only isDeleted is used.

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