From 5e108fc5f94e6a08083f8852a59fc4b79b198af8 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Fri, 22 Oct 2010 16:22:08 +0300 Subject: s4-prefixmap: Use WERR_NOT_FOUND when OID is not found in current prefixMap rather than WERR_DS_NO_MSDS_INTID. WERR_DS_NO_MSDS_INTID is intended to be used for msDsIntId attribute values handling --- source4/dsdb/schema/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/schema/schema_init.c') diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index d80f2092ac..4e1c14d019 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -233,7 +233,7 @@ WERROR dsdb_create_prefix_mapping(struct ldb_context *ldb, struct dsdb_schema *s /* prefix found*/ talloc_free(mem_ctx); return status; - } else if (!W_ERROR_EQUAL(WERR_DS_NO_MSDS_INTID, status)) { + } else if (!W_ERROR_EQUAL(status, WERR_NOT_FOUND)) { /* error */ DEBUG(0,("dsdb_create_prefix_mapping: dsdb_find_prefix_for_oid: %s\n", win_errstr(status))); -- cgit