summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
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/torture/libnet
parent01302b8202cadcacf245b9f68ca765f03bf38a0b (diff)
downloadsamba-ba4d87f81790d5773c033a79ea0b9cd37debd19d.tar.gz
samba-ba4d87f81790d5773c033a79ea0b9cd37debd19d.tar.bz2
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/torture/libnet')
-rw-r--r--source4/torture/libnet/libnet_BecomeDC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c
index 319dd0aecd..342463875d 100644
--- a/source4/torture/libnet/libnet_BecomeDC.c
+++ b/source4/torture/libnet/libnet_BecomeDC.c
@@ -190,7 +190,8 @@ static NTSTATUS test_apply_schema(struct test_become_dc_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);
}