summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-08-23 13:12:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:26 -0500
commit838597393580aea0dcc8f461e30928bddd6f87c9 (patch)
tree558e4d0154aedffe412b3271a3ba58afa432b46a /source4/librpc/ndr
parente987658582b4c726c461bfb0230ec2db53a032d2 (diff)
downloadsamba-838597393580aea0dcc8f461e30928bddd6f87c9.tar.gz
samba-838597393580aea0dcc8f461e30928bddd6f87c9.tar.bz2
samba-838597393580aea0dcc8f461e30928bddd6f87c9.zip
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)
Diffstat (limited to 'source4/librpc/ndr')
-rw-r--r--source4/librpc/ndr/ndr_drsuapi.c15
1 files changed, 0 insertions, 15 deletions
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;
-}