[PATCH] s4-drs: replmd_delete with recyclebin

tridge at samba.org tridge at samba.org
Thu Mar 25 00:22:31 MDT 2010


Hi Eduardo,

 > 1 - On Samba it's not necessary to give the "--show-deleted" or
 > "--show-recycled" in the bin/ldbdel command.

ok, that probably means we should have the DSDB_SEARCH_SHOW_DELETED
flag in the first dsdb_module_search_dn() call in replmd_delete().

Can you test and see if removing that makes us match?

 > 2 - If I'm not missing any flag, Windows does not allow the deletion of a
 > tombstone or recycled object to be performed by command line.

That is not too surprising. We can do it on the command line as when
we attach with ldbdel directly to a ldb then we attach as
"SYSTEM". That is what allows us to force the moving of a object to
the next deletion stage. 

I don't think that is something we should change.

 > Now I'm planning to complete the test cases.

Thanks!

I will push what you've done so far once I've done a few tests.

Cheers, Tridge


More information about the samba-technical mailing list