summaryrefslogtreecommitdiffstats
path: root/source4/libnet/libnet_vampire.c
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-10-26 03:47:41 +0200
committerStefan Metzmacher <metze@samba.org>2009-11-06 14:05:43 +0100
commitba4d87f81790d5773c033a79ea0b9cd37debd19d (patch)
tree371b6f0fee972f5667598ea484f537ef5ab4488f /source4/libnet/libnet_vampire.c
parent01302b8202cadcacf245b9f68ca765f03bf38a0b (diff)
downloadsamba-ba4d87f81790d5773c033a79ea0b9cd37debd19d.tar.gz
samba-ba4d87f81790d5773c033a79ea0b9cd37debd19d.tar.xz
samba-ba4d87f81790d5773c033a79ea0b9cd37debd19d.zip
s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libnet/libnet_vampire.c')
-rw-r--r--source4/libnet/libnet_vampire.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index 7120d61eedb..f7131c1d022 100644
--- a/source4/libnet/libnet_vampire.c
+++ b/source4/libnet/libnet_vampire.c
@@ -226,7 +226,8 @@ static NTSTATUS vampire_apply_schema(struct vampire_state *s,
const char *oid = NULL;
a = &cur->object.attribute_ctr.attributes[i];
- status = dsdb_map_int2oid(s->self_made_schema, a->attid, s, &oid);
+ status = dsdb_schema_pfm_oid_from_attid(s->self_made_schema->prefixmap,
+ a->attid, s, &oid);
if (!W_ERROR_IS_OK(status)) {
return werror_to_ntstatus(status);
}