diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-01-14 15:22:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:40:49 -0500 |
commit | 9f876c9fae1078b71138f6b5bc8b2152b0c64d7b (patch) | |
tree | 2f71f73d9bee1a391c32996cd986e1336e0744e7 /source4/torture/ldap | |
parent | 15f6cf2449898432112140aea9f3f9445ca2ea68 (diff) | |
download | samba-9f876c9fae1078b71138f6b5bc8b2152b0c64d7b.tar.gz samba-9f876c9fae1078b71138f6b5bc8b2152b0c64d7b.tar.bz2 samba-9f876c9fae1078b71138f6b5bc8b2152b0c64d7b.zip |
r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached
metze
(This used to be commit 6ecd1342ded63b99b51250714127344a5304c47f)
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r-- | source4/torture/ldap/schema.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/ldap/schema.c b/source4/torture/ldap/schema.c index e80b5b0233..32f9e613f2 100644 --- a/source4/torture/ldap/schema.c +++ b/source4/torture/ldap/schema.c @@ -210,7 +210,7 @@ static int test_add_attribute(void *ptr, struct ldb_context *ldb, struct ldb_mes goto failed; } - status = dsdb_attribute_from_ldb(msg, attr, attr); + status = dsdb_attribute_from_ldb(schema, msg, attr, attr); if (!W_ERROR_IS_OK(status)) { goto failed; } @@ -233,7 +233,7 @@ static int test_add_class(void *ptr, struct ldb_context *ldb, struct ldb_message goto failed; } - status = dsdb_class_from_ldb(msg, obj, obj); + status = dsdb_class_from_ldb(schema, msg, obj, obj); if (!W_ERROR_IS_OK(status)) { goto failed; } |