s4:util.c - Corrected the location of the "Directory Service" object
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sat, 13 Feb 2010 17:20:54 +0000 (18:20 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sat, 13 Feb 2010 17:24:45 +0000 (18:24 +0100)
I wonder why nobody noticed this since for sure this "tombstone" functionality
was broken till now.

source4/dsdb/common/util.c

index a26ffc26f5a4d737a20e69210e16b803073816ed..d659767138f8bed4ade8a28670418eac9297aec5 100644 (file)
@@ -3213,7 +3213,7 @@ int dsdb_tombstone_lifetime(struct ldb_context *ldb, uint32_t *lifetime)
        }
        /* see MS-ADTS section 7.1.1.2.4.1.1. There doesn't appear to
         be a wellknown GUID for this */
-       if (!ldb_dn_add_child_fmt(dn, "CN=Directory Service,CN=Windows NT")) {
+       if (!ldb_dn_add_child_fmt(dn, "CN=Directory Service,CN=Windows NT,CN=Services")) {
                talloc_free(dn);
                return LDB_ERR_OPERATIONS_ERROR;
        }