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
Günther Deschner
ef6bf7f385
netlogon: add netr_NETLOGON_INFO_4.
...
Guenther
2008-12-17 23:06:48 +01:00
Günther Deschner
e01026cd4b
netlogon: add all documented netlogon control codes.
...
Guenther
2008-12-17 23:06:48 +01:00
Tim Prouty
735b3e1c0c
s3/s4: Fix DCOM idl bug
...
A build warning uncovered a bug where a pointer was being passed in
instead of the dereferenced value of the pointer.
2008-12-16 23:24:13 -08:00
Jelmer Vernooij
97f3720038
Don't write out forward declarations for enums, as some compilers don't
...
seem to like it.
2008-12-16 22:58:10 +01:00
Jelmer Vernooij
d59a79e5bb
Use py_* files to check whether generated files are out of date / not
...
present.
ndr_*.c files are in git (required for Samba 3), py_*.c files are not.
2008-12-16 19:46:43 +01:00
Jelmer Vernooij
b5a0c4cefe
Share object files for gen_ndr.
2008-12-16 18:56:21 +01:00
Jelmer Vernooij
327218f1cf
Fix [out] pointers in DCOM-related IDL files.
2008-12-16 17:42:23 +01:00
Jelmer Vernooij
5317dd50c0
Add new script for building IDL files in librpc/idl, generating both
...
Samba 3 and Samba 4 output.
2008-12-16 16:32:18 +01:00
Jelmer Vernooij
ca7e4ce97a
Move shared gen_ndr files to librpc/gen_ndr in the root.
...
At the moment these files are used just by Samba 3, but the next step
will be using them from Samba 4 as well.
2008-12-16 15:59:06 +01:00
Jelmer Vernooij
b2a01ef5dd
Consider shared IDL files and Samba3-specific IDL files separately, allow overriding output directory.
2008-12-16 15:42:47 +01:00
Jelmer Vernooij
0f04beff33
Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl.
2008-12-16 15:36:18 +01:00
Jelmer Vernooij
530758dc2a
Add python extensions for dom_sid.
2008-12-16 00:16:02 +01: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
d1101dba79
Remove noejs property, which is no longer used.
2008-12-12 11:48:42 +01:00
Günther Deschner
5903206bab
netlogon: fill in netr_ServerGetTrustInfo IDL.
...
Guenther
2008-12-10 11:58:27 +01:00
Stefan Metzmacher
3e1cd3dda7
s4:brwoser.idl: add idl for BrowserrQueryOtherDomains()
...
metze
2008-12-06 14:56:44 +01:00
Günther Deschner
9bb1f4ca0e
samr: fix samr_UserInfo18, lm/nt pwd mixup.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
1e90c5773c
samr: fix samr_UserInfo18. It also contains password_expired, thanks metze.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
b0e813d28c
samr: make more explicit what SAMR_FIELD_PASSWORD{2} means.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
8210177ea4
samr: fill in two unknowns in samr_UserInfo21.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
809d44e3db
samr: fill in two unknowns in samr_DomInfo13.
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
de443a4240
samr: fix samr_UserInfo21 (order of lm_password_set and nt_password_set).
...
Guenther
2008-12-05 14:27:02 +01:00
Günther Deschner
c379820852
samr: add samr_DomainServerState.
...
Guenther
2008-12-02 00:37:39 +01:00
Günther Deschner
1be5be5b83
samr: fix samr_UserInfo24 and samr_UserInfo26.
...
Guenther
2008-11-28 13:55:20 +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
Günther Deschner
2736650f0c
eventlog: fill in some unknowns and use flags bitmap in IDL.
...
Guenther
2008-11-20 17:15:47 +01:00
Jelmer Vernooij
15c629181a
Move wireshark conformance file to top-level.
2008-11-19 00:10:15 +01:00
Günther Deschner
5b4140a997
svcctl: fill in SERVICE_CONTROL from s3.
...
Guenther
2008-11-17 13:18:00 +01:00
Günther Deschner
738d066768
svcctl: fix idl for svcctl_EnumServicesStatusW.
...
Guenther
2008-11-17 13:17:31 +01:00
Günther Deschner
abbd539082
svcctl: fix idl for svcctl_QueryServiceConfig2W.
...
Guenther
2008-11-17 13:16:44 +01:00
Günther Deschner
4e0bbb6e79
svcctl: fix idl for EnumServicesStatusExW.
...
Guenther
2008-11-17 13:16:34 +01:00
Günther Deschner
880e232e7e
svcctl: fix idl for svcctl_QueryServiceStatusEx.
...
Guenther
2008-11-17 13:15:31 +01:00
Günther Deschner
7d5f3f51b0
ntsvcs: remove todo from PNP_GetDeviceList.
...
Guenther
2008-11-17 13:13:01 +01:00
Andrew Bartlett
8e1934a384
Use new GUID_from_data_blob
...
This avoid the problem that GUID_from_string now strictly requires no
trailing data after the string-form GUID.
Andrew Bartlett
2008-11-17 10:06:27 +11: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
Jeremy Allison
4c7033df5d
Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is fixed.
...
Jeremy.
2008-11-13 17:18:41 -08:00
Günther Deschner
663c1d52f6
ntsvcs: fill in some more formerly unknowns in PNP_GetHwProfInfo.
...
Guenther
2008-11-12 10:19:32 +01:00
Günther Deschner
1f87fc798d
ntsvcs: use both named-pipe endpoints.
...
Guenther
2008-11-12 10:19:25 +01:00
Günther Deschner
0afcf4d8f7
ntsvcs: fill in more unknowns in PNP_HwProfFlags IDL.
...
Guenther
2008-11-12 10:19:02 +01:00
Günther Deschner
8d8386cc4d
ntsvcs: some corrections for the PNP_GetDeviceRegProp IDL.
...
Guenther
2008-11-12 10:18:39 +01:00
Günther Deschner
09998ab89d
s4-samr: merge samr_QueryUserInfo{2} from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:31 +01:00
Günther Deschner
15e011564a
s4-samr: merge samr_QueryGroupInfo from s3 idl. (fixme python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
0548642e5b
s4-samr: merge samr_QueryAliasInfo from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
99c2fac6b2
s4-samr: merge samr_EnumDomainGroups from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
1ea97d76ed
s4-samr: merge samr_EnumDomainUsers from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
d4d9a73ad1
s4-samr: merge samr_EnumDomains from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
bb1d7684d2
s4-samr: merge samr_LookupDomain from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
61391d0ade
s4-samr: merge samr_LookupNames from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:30 +01:00
Günther Deschner
2efec54b8d
s4-samr: merge samr_EnumDomainAliases from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:29 +01:00