return WERR_DS_DRA_INTERNAL_ERROR;
}
-// /* Force a reload */
-// schema->last_refresh = 0;
+ /* Force a reload */
+ schema->last_refresh = 0;
// //schema->metadata_usn = 0;
-// talloc_unlink(mem_ctx, schema);
-//
-// schema = dsdb_get_schema(sam_ctx, mem_ctx);
-// if (!schema) {
-// DEBUG(0,("No schema in sam_ctx\n"));
-// return WERR_DS_DRA_INTERNAL_ERROR;
-// }
+ talloc_unlink(mem_ctx, schema);
+
+ schema = dsdb_get_schema(sam_ctx, mem_ctx);
+ if (!schema) {
+ DEBUG(0,("No schema in sam_ctx\n"));
+ return WERR_DS_DRA_INTERNAL_ERROR;
+ }
r->out.ctr->ctr6.naming_context = talloc(mem_ctx, struct drsuapi_DsReplicaObjectIdentifier);
*r->out.ctr->ctr6.naming_context = *ncRoot;