Retrieving deleted items from directory

  • Thread starter Thread starter Nick
  • Start date Start date
N

Nick

I'm attempting to use ADSI to enumerate deleted items in my (test) directory
(in order to sync with a foreign directory). However first I'm just trying
to get the same results using LDP.EXE.

I seem to be able to locate the Deleted Objects container using the WKGUID
(see results below), but no objects within it are returned even though I
have just deleted an object.

A thought has occurred to me: As this is just a single test DC, with no
other DCs in the forest, is it possible that AD doesn't tombstone the
object, but just removes it immediately? That would account for what I'm
seeing. Otherwise I'm running out of ideas ...

Any help appreciated.

Cheers, Nick.

***Searching...
ldap_search_ext_s(ld,
"<WKGUID=18e2ea80684f11d2b9aa00c04f79f805,dc=london,dc=dev>", 2,
"(objectclass=*)", attrList, 0, svrCtrls, ClntCtrls, 10, 0 ,&msg)
Result <0>: (null)
Matched DNs:
Getting 1 entries:
 
Back
Top