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/samdb/ldb_modules | |
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/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/schema_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_data.c b/source4/dsdb/samdb/ldb_modules/schema_data.c index 7b7d7d09ff..4818a54dcf 100644 --- a/source4/dsdb/samdb/ldb_modules/schema_data.c +++ b/source4/dsdb/samdb/ldb_modules/schema_data.c @@ -191,7 +191,7 @@ static int schema_data_add(struct ldb_module *module, struct ldb_request *req) status = dsdb_schema_pfm_find_oid(schema->prefixmap, oid, NULL); if (!W_ERROR_IS_OK(status)) { /* check for internal errors */ - if (!W_ERROR_EQUAL(WERR_DS_NO_MSDS_INTID, status)) { + if (!W_ERROR_EQUAL(status, WERR_NOT_FOUND)) { ldb_debug_set(ldb, LDB_DEBUG_ERROR, "schema_data_add: failed to map %s[%s]: %s\n", oid_attr, oid, win_errstr(status)); |