summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-10-26 03:35:29 +0200
committerStefan Metzmacher <metze@samba.org>2009-11-06 14:05:43 +0100
commit01302b8202cadcacf245b9f68ca765f03bf38a0b (patch)
tree0f67a59215673308dc5b449985acac02eff900d6 /source4/dsdb/samdb/ldb_modules
parentddab9d1fe74c90b2b05cd1712931930e82380913 (diff)
downloadsamba-01302b8202cadcacf245b9f68ca765f03bf38a0b.tar.gz
samba-01302b8202cadcacf245b9f68ca765f03bf38a0b.tar.bz2
samba-01302b8202cadcacf245b9f68ca765f03bf38a0b.zip
s4/drs: dsdb_map_oid2int() replaced by dsdb_schema_pfm_make_attid()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_data.c b/source4/dsdb/samdb/ldb_modules/schema_data.c
index bf80c01b0f..9951bd6da2 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_data.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_data.c
@@ -140,7 +140,7 @@ static int schema_data_add(struct ldb_module *module, struct ldb_request *req)
const struct ldb_val *governsID = NULL;
const char *oid_attr = NULL;
const char *oid = NULL;
- uint32_t id32;
+ uint32_t attid;
WERROR status;
ldb = ldb_module_get_ctx(module);
@@ -184,7 +184,7 @@ static int schema_data_add(struct ldb_module *module, struct ldb_request *req)
return LDB_ERR_OPERATIONS_ERROR;
}
- status = dsdb_map_oid2int(schema, oid, &id32);
+ status = dsdb_schema_pfm_make_attid(schema->prefixmap, oid, &attid);
if (W_ERROR_IS_OK(status)) {
return ldb_next_request(module, req);
} else if (!W_ERROR_EQUAL(WERR_DS_NO_MSDS_INTID, status)) {