ncRoot_dn = ldb_dn_new(mem_ctx, sam_ctx, ncRoot->dn);
ret = drsuapi_search_with_extended_dn(sam_ctx, mem_ctx, &site_res,
ncRoot_dn, LDB_SCOPE_SUBTREE, attrs,
- "(&(uSNChanged>=%llu)(objectClass=*))",
+ "uSNChanged>=%llu",
(unsigned long long)r->in.req->req8.highwatermark.highest_usn);
if (ret != LDB_SUCCESS) {
return WERR_DS_DRA_INTERNAL_ERROR;
}
- DEBUG(4,("DsGetNSChanges with uSNChanged >= %llu on %s gave %u objects\n",
+ DEBUG(4,("DsGetNCChanges with uSNChanged >= %llu on %s gave %u objects\n",
(unsigned long long)r->in.req->req8.highwatermark.highest_usn,
ncRoot->dn, r->out.ctr->ctr6.object_count));