1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

451 Commits

Author SHA1 Message Date
Jelmer Vernooij
d891c0c74a r26429: Avoid use of global_smb_iconv_convenience.
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
a5b8999f23 r26427: Avoid global_smb_iconv_convenience.
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)
2007-12-21 05:49:53 +01:00
Jelmer Vernooij
39ee38d9c1 r26316: Use contexts for conversion functions.
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
a84863372c r26261: Use enum type.
(This used to be commit 06233de54bc14d52e329d8eca2468b329b69593a)
2007-12-21 05:47:35 +01:00
Stefan Metzmacher
e399a606f5 r26054: ndr: remove ndr_push/pull_save
Using a uint32_t offset is all we need

metze
(This used to be commit 2c06b48a858016f9329dcd73231fb3c7b711a918)
2007-12-21 05:45:49 +01:00
Stefan Metzmacher
f102173f2e r26052: ndr_krb5pac: don't use ndr_pull_save anymore
metze
(This used to be commit dee44c03208699f6dd3b05a9ba914d6f55eb6278)
2007-12-21 05:45:48 +01:00
Stefan Metzmacher
7dcaee5503 r26051: ndr_string: don't use ndr_pull_save anymore
metze
(This used to be commit adda63122e0afd5e10c834cbab8baee1ef1a3a24)
2007-12-21 05:45:48 +01:00
Stefan Metzmacher
cc9c53320d r26050: ndr: don't use ndr_push_save anymore
metze
(This used to be commit a682fbb5af1ca02068fdef9ed9a4dd7b0201d88c)
2007-12-21 05:45:47 +01:00
Stefan Metzmacher
910ab408af r25918: ndr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)
ndr_sec_helper.c
ndr_spoolss_buf.c
ndr_compression.c
ndr_drsuapi.[ch]
ndr_krb5pac.c
ndr_orpc.c

metze
(This used to be commit 356e027bf883c8fc36fa4759eff56e364daf9fce)
2007-12-21 05:44:56 +01:00
Stefan Metzmacher
0ce646d49a r25917: ndr: move ndr_map_error2ntstatus to errormap.c
metze
(This used to be commit 8fc2e7737fc15f7265816f077e2a48a7a98f75b8)
2007-12-21 05:44:55 +01:00
Stefan Metzmacher
afa5f256e9 r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/

metze
(This used to be commit 7e157bbcfd416c3d5c32c1e9fdc746bbee5967bb)
2007-12-21 05:44:55 +01:00
Stefan Metzmacher
b5f7841a51 r25907: use DEBUGADD() to match samba3
metze
(This used to be commit d2deefb551ffed5134e31473a3140ec7416cf389)
2007-12-21 05:44:48 +01:00
Stefan Metzmacher
f3efa1e5ff r25905: use data_blob_const() to set the DATA_BLOB
metze
(This used to be commit f3393a731683be3f8664f715dceee0c9fcef4ede)
2007-12-21 05:44:47 +01:00
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