Volker Lendecke
8f3a9b3c0f
Of course, s_addr is a #define somewhere else .... (Solaris...)
2009-05-02 23:35:30 +02:00
Volker Lendecke
eea114a856
Fix a warning on host "gwen"
...
cc: "../librpc/ndr/ndr_basic.c", line 572: warning 604: Pointers are not assignment-compatible.
Apparently in_addr.s_addr is not compatible to uint32_t, maybe a 32-bit signed
int.
2009-05-02 19:17:23 +02:00
Günther Deschner
9d1ab9a001
spoolss: add my copyright.
...
Guenther
2009-03-18 17:18:46 +01:00
Günther Deschner
65151077b3
spoolss: add custom ndr_print_spoolss_Field.
...
Guenther
2009-03-18 16:46:14 +01:00
Günther Deschner
2687d29f7c
spoolss: add ndr_size_spoolss_EnumPrinterDataEx_info in spoolss helper.
...
Guenther
2009-03-18 11:55:41 +01:00
Günther Deschner
ec47aac299
spoolss: rename NDR_SPOOLSS_SIZE_ENUM macro to NDR_SPOOLSS_SIZE_ENUM_LEVEL in
...
spoolss helper.
Guenther
2009-03-18 11:55:32 +01:00
Günther Deschner
048013ddaa
spoolss: fix ndr_push_spoolss_EnumPrinterDataEx.
...
Guenther
2009-03-18 10:35:13 +01:00
Günther Deschner
18a93e3e62
spoolss: add ndr_push/pull_spoolss_EnumPrinterDataEx helper.
...
Guenther
2009-03-18 01:19:46 +01:00
Günther Deschner
b560a99718
spoolss: fix ndr_push_spoolss_SetPrinterData.
...
Guenther
2009-03-17 11:14:49 +01:00
Günther Deschner
e56be5cf84
spoolss: fix GetPrinterData buffer helper.
...
Guenther
2009-03-17 10:58:14 +01:00
Günther Deschner
793247452e
spoolss: fix typo in spoolss_EnumPrintProcessors_info union helper fn.
...
Guenther
2009-03-11 15:31:09 +01:00
Günther Deschner
2c3d7449b4
spoolss: fix typo in spoolss_EnumJobs_info union helper fn.
...
Guenther
2009-03-11 15:30:57 +01:00
Volker Lendecke
8c41e0e5a6
Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog
...
I think we eventually need to pass down the debuglevel here.
2009-03-10 17:07:38 +01:00
Günther Deschner
f959aac745
spoolss: add spoolss_EnumPrintProcDataTypes to enum macro helper.
...
Guenther
2009-03-07 00:23:29 +01:00
Günther Deschner
c6aea64e92
spoolss: fix spoolss enum calls helper macro code after pointer changes.
...
Guenther
2009-03-06 14:27:57 +01:00
Günther Deschner
6532fea2c8
spoolss: add push,pull helper for spoolss_DriverInfo101.
...
Guenther
2009-02-24 01:02:37 +01:00
Jeremy Allison
0b62cdbed0
Quieten down a boatload of shadowed variable warnings on Solaris.
...
Makes real problems easier to spot.
Jeremy.
2009-02-23 15:03:29 -08:00
Günther Deschner
4f803502ef
spoolss: add ndr_size_spoolss_StringArray to spoolss helper.
...
Guenther
2009-02-19 18:00:36 +01:00
Günther Deschner
742270eb2d
spoolss: fix spoolss helper for out ref count pointer.
...
Guenther
2009-02-17 16:15:52 +01:00
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