Stefan Metzmacher
b98e9002e0
r25818: remove useless '\' chars at the end of lines
...
(they were copied from the macros by mistake)
metze
(This used to be commit 1c9975bccf1fbe697ae83e6dee25c176de65061f)
2007-12-21 05:44:11 +01:00
Stefan Metzmacher
ecbc2cdd7a
r25806: let libndr.h include needed stuff and remove pidl magic
...
for choosing common required headers
metze
(This used to be commit c97fe5b54c0da68c7e71ea79678fa6348ecdaab9)
2007-12-21 05:44:07 +01:00
Stefan Metzmacher
602461bfa6
r25798: - check return value of ndr_push_set_switch_value()
...
- fix memory leaks in error pathes
metze
(This used to be commit 667e83fd78293942c61d141dfe0d90e662768380)
2007-12-21 05:44:03 +01:00
Stefan Metzmacher
131fc3a192
r25797: use error and out logic
...
metze
(This used to be commit d03965d36e18dd524076e48e5a315747a00b807b)
2007-12-21 05:44:03 +01:00
Stefan Metzmacher
08994d4482
r25796: use NT_STATUS_HAVE_NO_MEMORY()
...
metze
(This used to be commit 43ef3d9dac5db1865b863c8c4a24c39167e7d2bc)
2007-12-21 05:44:02 +01:00
Stefan Metzmacher
fb4032a470
r25794: use NDR_CHECK()
...
metze
(This used to be commit 614e812bb01ebaa39db10c25cd011bef7f1279b2)
2007-12-21 05:44:02 +01:00
Stefan Metzmacher
2a9e674442
r25793: check the return value of ndr_push_set_switch_value()
...
metze
(This used to be commit a85e687e588a7c7e2abb7416631b8815fbae1f58)
2007-12-21 05:44:01 +01:00
Stefan Metzmacher
520dcd4a87
r25792: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()
...
metze
(This used to be commit eebc17b27a6d6467546a1f070d5233f6c1755f47)
2007-12-21 05:44:01 +01:00
Stefan Metzmacher
73eb2e3b4d
r25784: fix compiler warning
...
metze
(This used to be commit 9345933e1bb96170724db2534df7584fdddf0b49)
2007-12-21 05:43:57 +01:00
Stefan Metzmacher
b869a08661
r25782: use NT_STATUS_HAVE_NO_MEMORY()
...
metze
(This used to be commit 37da0940f47665c8d2c09b3649fecd93970b5d6f)
2007-12-21 05:43:57 +01:00
Stefan Metzmacher
ad9efe8edd
r25779: the return value of ndr_pull_set_switch_value() should be checked
...
metze
(This used to be commit 30a829a3596eacc126704904aedbdc1732011411)
2007-12-21 05:43:55 +01:00
Stefan Metzmacher
d933f396e8
r25778: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macros
...
metze
(This used to be commit 99dc12079762ab5b8ceea989cc8fa48ccf084863)
2007-12-21 05:43:55 +01:00
Stefan Metzmacher
5885662475
r25777: add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directly
...
metze
(This used to be commit 757d547696b1f2903429cfa831c2b0922ab6d2fc)
2007-12-21 05:43:54 +01:00
Stefan Metzmacher
5ef00987cb
r25776: ndr compression: make use of NDR_CHECK() and not use NTSTATUS directly
...
metze
(This used to be commit 52d83561e510e7e5bc406b699a251713dbd0ea91)
2007-12-21 05:43:54 +01:00
Stefan Metzmacher
4881d6b7e5
r25774: create ndr_pull_union_blob_all() and match the logic of the struct fns
...
metze
(This used to be commit 987deeff55236e2800f8690a5584ff8f7589114e)
2007-12-21 05:43:53 +01:00
Stefan Metzmacher
7d72ade608
r25744: add NDR_ERR_INVALID_POINTER
...
metze
(This used to be commit a75a59370814c02efffbb89e014df75f5a32c04b)
2007-12-21 05:43:40 +01:00
Jelmer Vernooij
b09047b78e
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
...
(This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-12-21 05:43:00 +01:00
Michael Adam
20480a7953
r25516: Sorry, I reverted too much of r25448 in r25515.
...
These two fixes should have remained! Thanks to
Metze for pointing this out.
Michael
(This used to be commit 294b2bf593445a79c500f02569f10ff72e1d6933)
2007-10-10 15:07:46 -05:00
Michael Adam
3b07f6aeb1
r25515: Revert r25448:
...
Immediate structures are *not* supportet by the native C compiler
at least on Solaris, Tru64 and HP-UX.
Michael
(This used to be commit 6d07e29de2a7e535139622fa688b407da232c816)
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
a8f264eb2f
r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer versions of splint support immediate structures just fine.
...
(This used to be commit d54a47ecdc418ee07c9479f519bd1a207e6ba3eb)
2007-10-10 15:07:35 -05:00
Jelmer Vernooij
7c30312c17
r25316: Remove last few instances of old BOOL type in librpc/.
...
(This used to be commit 80d1dd41d4b224c46ad545f0afd97a847b99860b)
2007-10-10 15:07:13 -05:00
Jelmer Vernooij
9b009c9009
r25301: Merge my includes.h cleanups.
...
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10 15:07:09 -05:00
Jeremy Allison
9a012df08e
r25175: Change to talloc_asprintf_append_buffer().
...
Jeremy.
(This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
98b57d5eb6
r25035: Fix some more warnings, use service pointer rather than service number in more places.
...
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
dccf3f99e4
r25027: Fix more warnings.
...
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
cd962355ab
r25000: Fix some more C++ compatibility warnings.
...
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
82037a75ea
r24814: Fix headers, trim core.h even more.
...
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
61ffa08f4c
r24712: No longer expose the 'BOOL' data type in any interfaces.
...
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10 15:02:54 -05:00
Stefan Metzmacher
bd93ed4680
r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.c
...
and rename the containing functions to have a ndr_
prefix
metze
(This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)
2007-10-10 15:02:23 -05:00
Stefan Metzmacher
b8cdadced4
r24551: rename dcerpc_interface_table -> ndr_interface_table
...
rename dcerpc_interface_list -> ndr_interface_list
and move them to libndr.h
metze
(This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
6b62f15ce7
r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
...
into ndr_interface_string_array and move it to libndr.h
metze
(This used to be commit 473bca74dc9d9dc54a239c9b5d3dc5fcf5a117a9)
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
698e7c5f2a
r24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
...
and move it to librpc/ndr/libndr.h
metze
(This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
ce84ab9a83
r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_id
...
and move it into misc.idl
The goal is to get rid a all dcerpc specific stuff in the
generated ndr layer.
metze
(This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
2007-10-10 15:02:11 -05:00
Andrew Tridgell
0479a2f1cb
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Andrew Tridgell
7bb939b1cb
r23030: finally fixed up our asn1 code to use better memory allocation. This
...
should allow us to fix some long standing memory leaks.
(This used to be commit 3db49c2ec9968221c1361785b94061046ecd159d)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
c8cfbfdc8b
r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failure
...
(This used to be commit 37aa32e2fe4829ec467c606cfcc7485508a2682c)
2007-10-10 14:49:31 -05:00
Andrew Tridgell
dd0b2572eb
r21812: fixed an integer overflow error in the ndr push code.
...
This needs to be fixed in Samba3 as well. It might be exploitable (I
haven't confirmed one way or the other), so I think this should be
fixed for 3.0.25
(This used to be commit 4766175ff2d0de8af92046e29280c7893ac8fe1f)
2007-10-10 14:49:31 -05:00
Stefan Metzmacher
3847155cc4
r21405: add support for [flag(STR_NOTERM|NDR_REMAINING)] string_array foo;
...
this is handles the content of the 'Packages' element in the supplementalCredetials
metze
(This used to be commit 07fe22f82ebe66464ef73274a109d1e21a0d7f0f)
2007-10-10 14:48:26 -05:00
Stefan Metzmacher
03e0d675cf
r21391: add supporting for
...
uint16 size;
[relative,subcontext(0),subcontext_size(size),flag(STR_NOTERM|NDR_REMAINING)] string *string;
as
uint16 size;
[relative,charset(UTF16)] uint8 *string[size];
isn't supported by pidl yet...
metze
(This used to be commit 9fcfa658430f04658c692eb26db9280fda6e4e25)
2007-10-10 14:48:25 -05:00
Stefan Metzmacher
b3d0836eac
r21389: give a better error when our parser hasn't consumed all data
...
metze
(This used to be commit 03b06398a405e491ce4e2bc91513a57e0d59466f)
2007-10-10 14:48:24 -05:00
Jelmer Vernooij
c471abbcfe
r20963: remove unused functions, run LOCAL-TDR by default
...
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)
2007-10-10 14:44:04 -05:00
Stefan Metzmacher
d6fafdb237
r20800: fix compiler warnings
...
metze
(This used to be commit 6ce994720cdd8b7dd0b789460b5ae7da19261696)
2007-10-10 14:43:31 -05:00
Stefan Metzmacher
beb955758b
r20798: fix ndr_size_security_ace() it should include the optional sub object
...
for ADS style ace's
metze
(This used to be commit 161fea1a141de085eb6c84efc5b120e00cf95943)
2007-10-10 14:43:30 -05:00
Stefan Metzmacher
cf5f76bf66
r20712: add a function to compare GUID's
...
metze
(This used to be commit 6237d9f0b575ccb739b96d2a9f4c3643a727c4b7)
2007-10-10 14:40:30 -05:00
Andrew Bartlett
5ba31394c1
r20493: Add support for the 'Netscape' varient of GUID formatting, used in the
...
Fedora DS.
Andrew Bartlett
(This used to be commit 918e52fa5f527c427b46c1e1794131bcddab38f1)
2007-10-10 14:36:00 -05:00
Stefan Metzmacher
bb75710d40
r20417: - fix pushing of drsuapi_DsAttributeValueDataBlob
...
- make drsuapi_DsReplicaAttribute public so that the ndr_print_*
function can be used from the outside
metze
(This used to be commit f12776b9a9de55d5c67335d5e59c0d83a74ac939)
2007-10-10 14:30:32 -05:00
Stefan Metzmacher
02b65d5453
r20288: fix a mem leak and remove useless code
...
metze
(This used to be commit 6d0c788f3dffb7a553464404ebd9c0487d668bc5)
2007-10-10 14:29:32 -05:00
Stefan Metzmacher
089eda9585
r20286: handle the non oid string cases for pushing too
...
metze
(This used to be commit 0777a8e749e8df88dd1b9f7be9e4f3012559243b)
2007-10-10 14:29:32 -05:00
Simo Sorce
52455cb922
r20284: Simplify OID primitive BER parsing.
...
Do not require an artificial ASN.1 context to be setup.
Simo.
(This used to be commit 14b3b9861ae47498c74a6643e6979b3d85260a61)
2007-10-10 14:29:31 -05:00
Stefan Metzmacher
89a94feef9
r20281: remove debug statement
...
metze
(This used to be commit ebbd6263bbc30001e25603c5e4f45393b5fadb3d)
2007-10-10 14:29:30 -05:00