summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-10-03 04:29:08 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-10-10 10:40:38 +0000
commitf827fcd0e0f91b6aca113ec94e09e293f119cba8 (patch)
treee38321ca4b99ff2ad02711c4fa56c667c975d8df /source4
parentb44135ac737499052f54e72b4076ef5561852d35 (diff)
downloadsamba-f827fcd0e0f91b6aca113ec94e09e293f119cba8.tar.gz
samba-f827fcd0e0f91b6aca113ec94e09e293f119cba8.tar.bz2
samba-f827fcd0e0f91b6aca113ec94e09e293f119cba8.zip
s4-libnet_vampire: Remove unused self_corrected_schema
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Oct 10 10:40:38 UTC 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_vampire.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c
index a668bb5c5d..6a94f076e5 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)) {