1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

294 Commits

Author SHA1 Message Date
Günther Deschner
2f44170836 spoolss: fix ndr_pull_spoolss_GetPrinterData.
Guenther
2009-02-07 01:51:35 +01:00
Günther Deschner
1ebd35e872 spoolss: fix ndr_pull/push_spoolss_GetPrinterData.
Guenther
2009-02-06 18:36:47 +01:00
Günther Deschner
9ad6b94339 spoolss: fix spoolss helper functions and macros w.r.t. needed pointer.
Guenther
2009-02-06 17:35:56 +01:00
Günther Deschner
c9e64100d4 spoolss: fix samba4 dependency of spoolss helper.
Guenther
2009-02-05 16:04:36 +01:00
Günther Deschner
b03913cbc6 spoolss: move ndr spoolss helper to main librpc dir.
Guenther
2009-02-05 16:04:36 +01:00
Günther Deschner
a0c4fbdb3c librpc: add header file for drsblobs helper functions.
Guenther
2009-02-04 12:38:21 +01:00
Günther Deschner
35f1e02ca4 librpc: add ndr_size_string_array().
Guenther
2009-02-03 15:42:29 +01:00
Jelmer Vernooij
79255cec6a Add function for mapping NDR error codes to strings. 2009-01-26 17:31:22 +01:00
Tim Prouty
53293f2ccb librpc: Fix warning caused by some empty debug strings
It would probably be better to create a new macro such as DEBUGHDR to
allow empty strings for debug statements, but for the short term this
eliminates the warning with no negative consequences.
2009-01-20 17:30:28 -08:00
Stefan Metzmacher
bae593bb11 ndr_print: fix the output ndr debug messages only add header line once
metze
(from samba4wins tree e99531aae325e4443fcb917a75dfe4a86b892583)
2009-01-19 07:05:21 +01:00
Günther Deschner
a9b7695c24 svcctl: add ndr_push/pull_ENUM_SERVICE_STATUSW_array helper.
Thanks metze for helping here.

Guenther
2009-01-09 16:52:40 +01:00
Jelmer Vernooij
af744e0954 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-01-04 22:48:23 +01:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Jeremy Allison
9c92cb7636 Fix typo found by Volker. Thanks for the review.
Jeremy.
2008-12-31 18:34:52 -08:00
Jeremy Allison
07e0094365 Fix all warnings in source3 with gcc4.3.
Jeremy.
2008-12-31 18:06:57 -08:00
Andrew Bartlett
18c095e5d8 Don't trust sscanf not to run off the end of the string
The memory allocations here are wasteful, but they do nicely ensure we
cannot walk off the end of the DATA_BLOB that might be a string, or
might be binary and might not be NULL terminated.

Andrew Bartlett
2008-12-20 14:44:39 +11:00
Jelmer Vernooij
cd25b6245f Move dom_sid to the Samba 3 IDL file, remove the old definition. 2008-12-12 20:20:01 +01:00
Jelmer Vernooij
58db2befbd Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
2008-11-26 18:20:51 +01:00
Stefan Metzmacher
2cff27cefd librpc/ndr: add GUID_hexstring()
metze
2008-11-16 16:37:22 +01:00
Stefan Metzmacher
69af236e77 librpc/ndr: let GUID_from_data_blob() accept a ndr blob or a hex string too
metze
2008-11-16 16:24:34 +01:00
Andrew Bartlett
536de25fae Add a new function to parse a DATA_BLOB into a GUID
The reason for this new function is to ensure the length is not
discarded when the input is a ldb_val (aka DATA_BLOB) in ldb.

Andrew Bartlett
2008-11-16 16:24:33 +01:00
Stefan Metzmacher
1e80221b23 security.idl: sometimes ACEs have some padding at the end
metze
2008-11-08 08:02:27 +01:00
Stefan Metzmacher
ff5c58da55 librpc/ndr: move ndr_sec_helper.c to the toplevel
metze
2008-11-07 22:41:12 +01:00
Günther Deschner
c353c53692 netlogon: add 8bit varients of netr_SamDatabaseID8Bit and netr_DeltaEnum.
Guenther
2008-11-06 18:50:12 +01:00
Jelmer Vernooij
ff36c52d8c Remove another use of global_loadparm.
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
2008-11-02 16:07:28 +01:00
Jelmer Vernooij
09a63accb8 Move charset library to top level. 2008-10-24 00:06:35 +02:00
Tim Prouty
0b68762af7 Fix "parameter has incomplete type" build warning.
When libcli-util was moved to the top level
(3be0f6ea56) it introduced a build
warning.  Since ndr_map_error2ntstatus depends on the definition of
enum ndr_err_code and libndr.h can't be easily included in error.h, I
moved the definition of enum ndr_err_code to libndr.h.

This also eliminates the need for the duplicate definition in proto.h
2008-10-23 12:21:44 -07:00
Jelmer Vernooij
44b728958a Use common error definitions. 2008-10-23 15:35:21 +02:00
Jelmer Vernooij
41b02b7ac0 Move orpc to top-level directory. 2008-10-20 19:20:12 +02:00
Jelmer Vernooij
dc3828f06c Move WMI support code to top-level. 2008-10-20 19:14:47 +02:00
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
e0905c3090 Use tables in Samba 3 ndrdump. 2008-10-20 13:19:39 +02:00
Volker Lendecke
c4dc548171 Fix 64-bit printf warnings 2008-10-19 22:37:27 +02:00
Kai Blin
202affa511 rpc: Fix the merged build breaking on StrnCaseCmp. 2008-10-19 13:23:10 +02:00
Günther Deschner
f34b6bfe34 idl: share drsblobs idl.
Guenther
2008-10-18 23:54:49 +02:00
Günther Deschner
8105e5bf30 drsuapi: fix the drsuapi helper build for samba3.
Guenther
2008-10-18 23:26:11 +02:00
Günther Deschner
d413e1f40a drsuapi: share drsuapi idl and helper code.
Guenther
2008-10-18 23:25:48 +02:00
Jelmer Vernooij
0132423a09 Share libndr.h between Samba 3 and Samba 4. 2008-10-15 00:35:13 +02:00
Jelmer Vernooij
5198fb6e19 Share ndr_krb5pac implementation. 2008-10-14 23:52:20 +02:00
Jelmer Vernooij
f02a68a89f Share ndr_compression.c. 2008-10-14 23:46:34 +02:00
Jelmer Vernooij
2049cfe743 Share ndr.c implementation. 2008-10-13 16:09:48 +02:00
Jelmer Vernooij
58f844ab54 Share uuid implementations. 2008-10-13 15:23:35 +02:00
Jelmer Vernooij
8cae7a5bab Share ndr_misc implementations. 2008-10-13 15:22:27 +02:00
Jelmer Vernooij
390d37187a Share ndr_basic implementation. 2008-10-13 15:20:10 +02:00