September 2003
Intermediate to advanced
624 pages
15h 49m
English
This recipe requires a Windows Server 2003 domain controller.
You want to change the relative weight of tombstone objects in quota calculations.
Open ADSI Edit.
Connect to the partition on which you want to modify this setting (has to be done on a per partition basis).
In the left pane, expand the root of the partition.
Right-click on cn=NTDS Quotas and select
Properties.
Set the msDS-TombstoneQuotaFactor attribute to a
value between 0 and 100.
Click OK.
Create an LDIF file called change_tombstone_quota.ldf with the following contents:
dn: cn=NTDS Quotas,<PartitionDN>changetype: modify replace: msDs-TombstoneQuotaFactor msDs-TombstoneQuotaFactor:<0-100>-
then run the following command:
> ldifde -v -i -f change_tombstone_quota.ldf
' This code modifies the tombstone quota factor for the specified partition ' ------ SCRIPT CONFIGURATION ------ strPartitionDN = "<PartitionDN>" ' e.g. dc=rallencorp,dc=com intTombstoneFactor = <0-100> ' e.g. 50 ' ------ END CONFIGURATION --------- set objPart = GetObject("LDAP://cn=NTDS Quotas," & strPartitionDN ) objPart.Put "msDs-TombstoneQuotaFactor", intTombstoneLifetime objPart.SetInfo WScript.Echo "Set the tombstone quota factor for " & _ strPartitionDN & " to " & intTombstoneFactor
The tombstone quota factor is a percentage that determines how much each tombstone object counts against a ...