From 838597393580aea0dcc8f461e30928bddd6f87c9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 23 Aug 2005 13:12:07 +0000 Subject: r9518: - remove the subcontext_size() hack from rev 9509 as it isn't needed - parse some more DsAddEntry() errors - add some more attid constands so that all attribute that are needed for a DsAddEntry in the DC Domain Join are mapped - add value() for __ndr_size, to more attribute container, so that the caller doesn't need to fill them in, that was the reason for getting an NDR_FAULT metze (This used to be commit a9a1a6f861c8db626b3232f057ef0b9c3d0ad1b0) --- source4/librpc/ndr/ndr_drsuapi.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'source4/librpc/ndr') diff --git a/source4/librpc/ndr/ndr_drsuapi.c b/source4/librpc/ndr/ndr_drsuapi.c index f220966b9d..6f6dd74ea4 100644 --- a/source4/librpc/ndr/ndr_drsuapi.c +++ b/source4/librpc/ndr/ndr_drsuapi.c @@ -61,18 +61,3 @@ void ndr_print_drsuapi_DsReplicaObjectListItemEx(struct ndr_print *ndr, const ch ndr_print_drsuapi_DsReplicaObjectListItemEx(ndr, "next_object", r->next_object); } } - -uint32_t _ndr_size_drsuapi_DsReplicaObjectIdentifier3(const void *ndr, - const struct drsuapi_DsAttributeValueDNString *dn, - const struct drsuapi_DsReplicaObjectIdentifier3 *id, - uint32_t flags) -{ - if (talloc_get_type(ndr, struct ndr_pull)) { - return dn->__ndr_size; - } else if (talloc_get_type(ndr, struct ndr_push)) { - return ndr_size_drsuapi_DsReplicaObjectIdentifier3(id, flags) + 2; - } else if (talloc_get_type(ndr, struct ndr_print)) { - return ndr_size_drsuapi_DsReplicaObjectIdentifier3(id, flags) + 2; - } - return 0; -} -- cgit