AD recycle bin
When an object is deleted from AD, it is not permanently deleted. As soon as an object is deleted, the system will set the isDeleted
attribute value to True
and move the object to CN=Deleted Objects
:
Figure 7.29: Deleted AD object
Then, the deleted object will stay there until the system reaches the tombstone lifetime value. By default, this is 180 days, and it can be changed if required. As soon as the object passes the tombstone lifetime value, it can be permanently deleted.
An essential function of an AD database is online defragmentation. This process uses the garbage collector service to remove deleted objects from the AD database and release space back to the database. This service runs every 12 hours. Once the deleted object exceeds the tombstone lifetime value, the object will be permanently removed in the next garbage collector service cycle. The problem with this is that during the tombstone process, most of the object values are stripped...