From: Matthias Dieter Wallnöfer Date: Sat, 13 Feb 2010 17:20:54 +0000 (+0100) Subject: s4:util.c - Corrected the location of the "Directory Service" object X-Git-Tag: samba-3.6.0pre1~5329 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=415c615dbf50e810e26d40169c78bbaf9de88e3e s4:util.c - Corrected the location of the "Directory Service" object I wonder why nobody noticed this since for sure this "tombstone" functionality was broken till now. --- diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index a26ffc26f5a..d659767138f 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -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; }