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

195 Commits

Author SHA1 Message Date
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
Tim Prouty
44ae09b82e librpc: Re-run make idl_full 2009-01-17 19:38:21 -08:00
Tim Prouty
4a40857836 librpc: Remove usage of max and replace with improved range. 2009-01-17 19:38:20 -08:00
Günther Deschner
b9d9832cc3 s3: re-run make samba3-idl.
Guenther
2009-01-16 00:28:46 +01:00
Günther Deschner
c3ac9a2977 winreg: fix winreg_EnumValue by re-adding winreg_ValNameBuf from 3.3/3.2.
This fixes viewing samba registry with windows tools like regedit and eventviewer.

Michael, Jelmer, please check.

Guenther
2009-01-16 00:28:46 +01:00
Tim Prouty
efc487b80a librpc: Re-run make idl_full 2009-01-15 14:53:10 -08:00
Tim Prouty
c59ec17ddd librpc: Change a uint16 to use the max property instead of range
This fixes a "comparison is always false due to limited range of data
type" warning
2009-01-15 14:52:35 -08:00
Günther Deschner
8721ad5f60 s3: re-run make samba3-idl.
Guenther
2009-01-14 10:19:31 +01:00
Günther Deschner
76f137b908 eventlog: more eventlog record idl fixes.
- treat eventlogEventTypes as an enum.
- do not align the full eventlog entry.
- set range on number of strings according to docs.
- make a little more obvious what the reserved field stands for.

Guenther
2009-01-14 10:18:51 +01:00
Günther Deschner
03f3c65ce4 s3: re-run make samba3-idl.
Guenther
2009-01-12 18:04:04 +01:00
Günther Deschner
6b80e9be64 eventlog: some fixes for eventlog_Record struct.
* make reserved field always have value 0x654c664C ("eLfL").
* add missing sid entry
* add padding and 2nd size counter.
* use time_t in eventlog_Record.

Guenther
2009-01-12 18:02:46 +01:00
Günther Deschner
9df76c4efb eventlog: make out pointer a ref pointer in eventlog_GetNumRecords.
Guenther
2009-01-12 17:59:29 +01:00
Volker Lendecke
125696b73d Pass the full ndr_interface_table into the s3 rpcserver when registering 2009-01-09 23:17:57 +01:00
Volker Lendecke
f8f878285d Add derpc_transport_string_by_transport(), apply some const 2009-01-09 23:08:16 +01:00
Volker Lendecke
9176cfe065 Fix some nonempty blank lines 2009-01-09 22:48:09 +01:00
Günther Deschner
86b1b82d9e s3: re-run make samba3-idl.
Guenther
2009-01-09 16:52:54 +01:00
Günther Deschner
413cb33fd5 svcctl: include hand marshalling helper in idl.
Guenther
2009-01-09 16:52:47 +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
Günther Deschner
9119ed3101 s3: re-run make samba3-idl.
Guenther
2009-01-09 16:32:06 +01:00
Günther Deschner
c60569c9b8 svcctl: add SERVICE_TYPE_INTERACTIVE_PROCESS define.
Guenther
2009-01-09 16:32:05 +01:00
Günther Deschner
6bed89fa49 s3: re-run make samba3-idl.
Guenther
2009-01-08 17:32:36 +01:00
Günther Deschner
2e5b581a5e svcctl: use svcctl_ServiceState in some other places.
Guenther
2009-01-08 17:32:35 +01:00
Günther Deschner
f01f8103be svcctl: use hex range format in IDL.
Guenther
2009-01-08 17:32:35 +01:00
Günther Deschner
9832a5e593 svcctl: add ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUSA.
Guenther
2009-01-08 17:32:34 +01:00
Günther Deschner
c9f6a58109 svcctl: remove redundant SERVICE_STATE_* defines.
Guenther
2009-01-08 16:56:59 +01:00
Günther Deschner
490a14068e s3: re-run make samba3-idl.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
378ef22069 svcctl: add svcctl_ServiceStatus and svcctl_ControlsAccepted.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
2a4f1ae1fb s3: re-run make samba3-idl.
Guenther
2009-01-08 11:19:15 +01:00
Günther Deschner
979c82ab43 svcctl: add svcctl_ServiceState.
Guenther
2009-01-08 11:19:13 +01:00
Günther Deschner
ea7fa77bb2 svcctl: add SERVICE_FAILURE_ACTIONS and SERVICE_DESCRIPTION to IDL.
Guenther
2009-01-08 11:19:13 +01:00
Günther Deschner
60c10a153a svcctl: add SERVICE_STATUS_PROCESS to idl.
Guenther
2009-01-08 11:19:12 +01:00
Günther Deschner
55da3807d7 svcctl: add svcctl_ErrorControl and svcctl_Type (based on samba3) to IDL.
Guenther
2009-01-08 11:19:12 +01:00
Günther Deschner
176bbcf90c svcctl: add svcctl_ConfigLevel from samba 3.
Guenther
2009-01-08 11:18:57 +01:00
Günther Deschner
550c64bef9 svcctl: move SVC_STATUS_ to idl.
Guenther
2009-01-08 10:58:10 +01:00
Volker Lendecke
1d427dcee0 Add some const to dcerpc_binding_build_tower() 2009-01-06 21:57:01 +01:00
Volker Lendecke
e92b7abca0 Add a NULL check and some const to dcerpc_floor_get_lhs_data() 2009-01-06 21:25:18 +01:00
Tim Prouty
ed5e1e5bd6 s3 merged build: Remove redundant #defines that are in idl generated headers
This fixes a series of samba3 build warnings in the merged build with
--enable-picky-developer=yes. 'error: "X" redefined', where X is one
of the redundant #defines.

This required committing a static version of spoolss.h for it to be
included by non-merged s3 builds.
2009-01-05 22:40:04 -08:00
Jelmer Vernooij
af744e0954 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-01-04 22:48:23 +01:00
Stefan Metzmacher
ec1e831bd8 librpc/gen_ndr: rerun make idl_full after pidl changes
metze
2009-01-02 16:32:56 +01:00
Jelmer Vernooij
ce47b69d8e Fix syntax errors. 2009-01-01 06:33:25 +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
Tim Prouty
a66c034c8e librpc: Re-run make idl-full from source3 2008-12-30 16:19:43 -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
Günther Deschner
eefb0dd03a s3: re-run make samba3-idl.
Guenther
2008-12-17 23:23:52 +01:00
Günther Deschner
ab082b9749 netlogon: remove netr_BinaryString (duplicate of lsa_BinaryString).
Guenther
2008-12-17 23:23:51 +01:00
Günther Deschner
7148c0daff netlogon: fill in remaining levels in netr_CONTROL_DATA_INFORMATION.
Guenther
2008-12-17 23:06:48 +01:00
Günther Deschner
7317bc1eba netlogon: fix IDL for netr_LogonControl2Ex.
Guenther
2008-12-17 23:06:48 +01:00