diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-10-22 16:22:08 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-10-26 22:17:40 +0300 |
commit | 5e108fc5f94e6a08083f8852a59fc4b79b198af8 (patch) | |
tree | 551b203feacb189c3e6ea7c98de935065ccef6fc /source4/dsdb/schema | |
parent | d8e246cf8a4569baaa49359ceb3e21c7aa4af1f6 (diff) | |
download | samba-5e108fc5f94e6a08083f8852a59fc4b79b198af8.tar.gz samba-5e108fc5f94e6a08083f8852a59fc4b79b198af8.tar.bz2 samba-5e108fc5f94e6a08083f8852a59fc4b79b198af8.zip |
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
Diffstat (limited to 'source4/dsdb/schema')
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 2 | ||||
-rw-r--r-- | source4/dsdb/schema/schema_prefixmap.c | 2 |
2 files changed, 2 insertions, 2 deletions
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))); diff --git a/source4/dsdb/schema/schema_prefixmap.c b/source4/dsdb/schema/schema_prefixmap.c index 79894fe272..86c6b8df8d 100644 --- a/source4/dsdb/schema/schema_prefixmap.c +++ b/source4/dsdb/schema/schema_prefixmap.c @@ -229,7 +229,7 @@ WERROR dsdb_schema_pfm_find_binary_oid(const struct dsdb_schema_prefixmap *pfm, } } - return WERR_DS_NO_MSDS_INTID; + return WERR_NOT_FOUND; } /** |