From: Kamen Mazdrashki Date: Sun, 3 Oct 2010 01:29:08 +0000 (+0300) Subject: s4-libnet_vampire: Remove unused self_corrected_schema X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=f827fcd0e0f91b6aca113ec94e09e293f119cba8;p=abartlet%2Fsamba.git%2F.git s4-libnet_vampire: Remove unused self_corrected_schema Autobuild-User: Kamen Mazdrashki Autobuild-Date: Sun Oct 10 10:40:38 UTC 2010 on sn-devel-104 --- diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index a668bb5c5d4..6a94f076e56 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -68,9 +68,6 @@ struct libnet_vampire_cb_state { * converted, because we may not know them yet */ struct dsdb_schema *self_made_schema; - /* 2nd pass, with full ID->OID->name table */ - struct dsdb_schema *self_corrected_schema; - /* prefixMap in LDB format, from the remote DRS server */ DATA_BLOB prefixmap_blob; const struct dsdb_schema *schema; @@ -565,18 +562,11 @@ NTSTATUS libnet_vampire_cb_schema_chunk(void *private_data, * other. */ s->self_made_schema = dsdb_new_schema(s); NT_STATUS_HAVE_NO_MEMORY(s->self_made_schema); - s->self_corrected_schema = dsdb_new_schema(s); - NT_STATUS_HAVE_NO_MEMORY(s->self_corrected_schema); status = dsdb_load_prefixmap_from_drsuapi(s->self_made_schema, mapping_ctr); if (!W_ERROR_IS_OK(status)) { return werror_to_ntstatus(status); } - - status = dsdb_load_prefixmap_from_drsuapi(s->self_corrected_schema, mapping_ctr); - if (!W_ERROR_IS_OK(status)) { - return werror_to_ntstatus(status); - } } else { status = dsdb_schema_pfm_contains_drsuapi_pfm(s->self_made_schema->prefixmap, mapping_ctr); if (!W_ERROR_IS_OK(status)) {