Retrieving deleted items from directory

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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top