Joe-
In Server 2003, lastKnownParent is reliably populated with the last
known home of the deleted object. However, I've not tried Win2K and its
quite possibly not.

Darren

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of joe
Sent: Tuesday, January 20, 2004 2:03 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] How to track object deletion?

Hey Darren have you ever seen that attribute populated? I don't recall
ever seeing it on any objects. I never looked deeply into it though to
see what it was legally linked to. 

  Joe
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren Mar-Elia
Sent: Monday, January 19, 2004 3:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] How to track object deletion?

Check the lastKnownParent attribute on the deleted object.
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 7:37 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] How to track object deletion?

Hello, AD gurus.
I' ve been developing a DirSync program that tracks for object changes
in AD.
Everything is fine except for object deletion.
When AD object is deleted, as everybody knows here, it is tombstoned. As
I figured out that means that the object is moved to the hidden
container called 'Deleted Objects'. So when I delete an object DirSync
returns me the following

CN=user1\DEL:5fce35d1-42dc-4d42-b4d6-fd4a5c773acd,CN=Deleted
Objects,DC=sbhbd1,DC=local

as the DN of changed object.

In the example above I deleted object with DN: CN=user1,CN=Users,
DC=sbhbd1,DC=local.
But I've lost some part of original object DN like: * ,CN=Users, *

The question is: How to track AD objects deletion? I need to know object
original DN, but AD hides it from me.
I don't want to keep a copy of original AD or whatever similar to it.

Thanks in advance! 



--
Best regards,
   (mailto:[EMAIL PROTECTED])    19.01.2004, 18:27
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to