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

2403 Commits

Author SHA1 Message Date
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
Günther Deschner
aaca059a35 s4-samr: merge samr_QueryDisplayInfo from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:29 +01:00
Günther Deschner
3a9b42fa75 s4-samr: merge samr_QueryDisplayInfo2 from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:29 +01:00
Günther Deschner
bab255f09b s4-samr: merge samr_QueryDisplayInfo3 from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:29 +01:00
Günther Deschner
68a2ca11dc s4-samr: merge samr_GetGroupsForUser from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:29 +01:00
Günther Deschner
f20dd953ef s4-samr: merge samr_QueryDomainInfo2 from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:29 +01:00
Günther Deschner
f7dfea32fc s4-samr: merge samr_QueryDomainInfo from s3 idl. (fixme python)
Guenther
2008-11-10 21:46:29 +01:00
Günther Deschner
9774927947 s4-samr: merge samr_QueryGroupMember from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:28 +01:00
Günther Deschner
a2a26da899 s4-samr: merge samr_Connect5 from s3 idl. (fixme python)
Guenther
2008-11-10 21:46:28 +01:00
Günther Deschner
88ff1be036 s4-samr: merge samr_GetBootKeyInformation from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:28 +01:00
Günther Deschner
8f1559c350 s4-samr: merge samr_GetDomPwInfo from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:28 +01:00
Günther Deschner
f42f1ae5a8 s4-samr: merge samr_GetUserPwInfo from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
94b7db1fb4 s4-samr: merge samr_RidToSid from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
5ce30d0f4d s4-samr: merge samr_QuerySecurity from s3 idl. (fixme: python)
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
93c6129c99 s4-samr: merge samr_LookupRids from s3 idl.
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
47d0c89302 s4-samr: merge samr_ValidatePassword from s3 idl.
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
41776e1091 s4-samr: merge samr_GetDisplayEnumerationIndex2 from s3 idl.
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
5ae9ec3d4b s4-samr: merge samr_GetDisplayEnumerationIndex from s3 idl.
Guenther
2008-11-10 21:46:27 +01:00
Günther Deschner
e0a6e3b23b s4-samr: merge samr_ChangePasswordUser3 from s3 idl.
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
27021fe400 s4-samr: merge Alias Object specific access rights from s3 idl.
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
6ccd31b393 s4-samr: merge Group Object specific access rights from s3 idl.
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
b26433da98 s4-samr: merge Domain Object specific access rights from s3 idl.
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
afba859be0 s4-samr: merge User Object specific access rights from s3 idl.
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
6548c88ba7 s4-samr: merge SAM server specific access rights from s3 idl.
Guenther
2008-11-10 21:46:26 +01:00
Günther Deschner
9888ed1d9b s4-samr: merge samr_UserInfo20 from s3 idl.
This must not be treated as a normal string (strlen truncates it).

Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
843135c841 s4-samr: move samr.idl to toplevel idl directory.
Guenther
2008-11-10 21:46:25 +01:00
Günther Deschner
e004307000 s4-netlogon: change parameters string to lsa_BinaryString.
Guenther
2008-11-10 21:46:25 +01:00
Stefan Metzmacher
07ee1a6e14 s3: make idl
metze
2008-11-08 08:02:27 +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
0d25517723 s3: security.idl: split of dom_sid stuff into dom_sid.idl
And use the toplevel ndr_sec_helper.c

metze
2008-11-08 08:02:26 +01:00
Stefan Metzmacher
ff5c58da55 librpc/ndr: move ndr_sec_helper.c to the toplevel
metze
2008-11-07 22:41:12 +01:00
Stefan Metzmacher
1a60fc02d8 librpc/idl: Add named_pipe_auth.idl to Samba4
metze
2008-11-06 21:39:13 +01:00
Günther Deschner
7bd12a878b netlogon: use 8bit SamDatabaseID and DeltaEnum in netr_ChangeLogEntry.
Guenther
2008-11-06 18:50:24 +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
Günther Deschner
e721e3b7f5 netlogon-idl: use netr_ChangeLogEntry subcontext in netr_DatabaseRedo.
Guenther
2008-11-06 18:50:03 +01:00
Günther Deschner
64fff239e0 netlogon-idl: add netr_ChangeLogObject union.
Guenther
2008-11-06 18:49:55 +01:00
Günther Deschner
bc6cb550ed netlogon-idl: add netr_ChangeLogFlags.
Guenther
2008-11-06 18:49:45 +01:00
Günther Deschner
66abdaac95 netlogon-idl: add netr_ChangeLogEntry.
Guenther
2008-11-06 18:49:36 +01:00
Günther Deschner
9dd4abd780 netlogon: fix IDL for netr_DatabaseRedo.
Guenther
2008-11-04 02:45:36 +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
Günther Deschner
1abf41e055 security-idl: fix typo.
Guenther
2008-11-01 01:41:21 +01:00
Günther Deschner
12d2bfdb86 security-idl: add STANDARD_RIGHTS_X bits.
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
fb292aca2c srvsvc: fix typo in srvsvc_NetSrvInfo403.
Guenther
2008-10-31 15:53:14 +01:00
Günther Deschner
7f8bc6a2d9 errors: share dcerpc error function.
Guenther
2008-10-31 12:42:09 +01:00
Günther Deschner
767202e668 srvsvc: share srvsvc idl between s3 and s4.
Guenther
2008-10-31 02:44:35 +01:00
Günther Deschner
8be9cefd98 netlogon: merge netlogon.idl between s3 and s4.
Guenther
2008-10-29 08:57:53 +01:00
Günther Deschner
d04131c8ec idl: share lsa.idl between s3 and s4.
Guenther
2008-10-27 19:33:23 +01:00
Jelmer Vernooij
2cabbb2eeb Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-24 04:19:08 +02:00
Tim Prouty
1b42152454 Fix "ndr_size_PAC_LOGON_INFO defined but not used" build warning
This patch removes the gensize option from krb5pac.idl because it
generates an unused function that has been causing warnings during the
s3 build.  I re-ran 'make samba3-idl' to update the generated files
for s3.  For s4 I ran a full build with no problems.
2008-10-23 15:13:54 -07: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
Günther Deschner
c1e5f28456 idl: add svcctl specific access bits.
Guenther
2008-10-23 18:34:56 +02: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
Jelmer Vernooij
db90d9ad16 Also move wireshark conformance file. 2008-10-20 12:20:53 +02:00
Jelmer Vernooij
d78f3be238 Merge branch 'master' of ssh://git.samba.org/data/git/samba into crypt 2008-10-20 12:19:57 +02:00
Jelmer Vernooij
5b52964b15 Share winreg.idl. 2008-10-20 11:53:20 +02:00
Günther Deschner
fc8fadf1e9 idl: finally share krb5_pac.idl.
Guenther
2008-10-20 11:11:22 +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
0d0ab12639 ntsvcs: fill in PNP_GetDeviceList() and correct some unknowns.
Guenther
2008-10-19 00:21:24 +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
80af41b5ea drsuapi: build new merged drsuapi idl and helpers.
Guenther
2008-10-18 23:25:58 +02:00
Günther Deschner
d413e1f40a drsuapi: share drsuapi idl and helper code.
Guenther
2008-10-18 23:25:48 +02:00
Günther Deschner
9c56c43a37 s3-build: fix build of ndrdump.
Guenther
2008-10-18 23:00:42 +02:00
Günther Deschner
0bc7ff1e6b idl: fix svcctl_QueryServiceConfigW.
Guenther
2008-10-16 09:54:49 +02:00
Günther Deschner
d242491488 idl: finally fully share nbt.idl in s3 and s4.
Guenther
2008-10-15 21:44:39 +02:00
Jelmer Vernooij
5390dc0d24 Share wkssvc.idl. 2008-10-15 16:48:53 +02:00
Jelmer Vernooij
85c36cb2cd Share eventlog.idl. 2008-10-15 16:37:27 +02:00
Jelmer Vernooij
5d408ccf83 Rename reboot -> do_reboot since the first is a reserved name on FreeBSD. 2008-10-15 16:25:06 +02:00
Jelmer Vernooij
881b36f4cf Share initshutdown.idl. 2008-10-15 16:13:02 +02:00
Jelmer Vernooij
0c840bd8d2 Share xattr implementation. 2008-10-15 15:57:39 +02:00
Jelmer Vernooij
760dfa76d9 Share epmapper. 2008-10-15 15:31:49 +02:00
Jelmer Vernooij
ca9e118d7e Re-add [todo] tags. 2008-10-15 15:17:41 +02:00
Günther Deschner
f0fd834141 share ntsvcs.idl.
Guenther
2008-10-15 12:03:12 +02:00
Günther Deschner
fe46368e09 move svcctl to main idl directory.
Guenther
2008-10-15 11:37:42 +02:00
Jelmer Vernooij
aaa3e0425d Fix includes. 2008-10-15 02:52:10 +02:00
Jelmer Vernooij
4695504a6c Share security.idl. 2008-10-15 02:33:16 +02:00
Jelmer Vernooij
f75b460814 Share misc.idl. 2008-10-15 02:08:24 +02:00
Jelmer Vernooij
4f6a4b5510 Share idl_types.h. 2008-10-15 01:53:09 +02:00
Jelmer Vernooij
45f97c4614 Move shared DCE/RPC IDL files to root IDL dir. 2008-10-15 01:23:36 +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
d940012dc8 Move ndr pkg-config file to top-level. 2008-10-14 16:23:46 +02:00
Jelmer Vernooij
2049cfe743 Share ndr.c implementation. 2008-10-13 16:09:48 +02:00
Jelmer Vernooij
2fddd2e2d5 Share ndrdump implementation. 2008-10-13 15:58:45 +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
Jelmer Vernooij
9f2ed1e00f Share RPC binding string utility functions. 2008-10-12 19:05:46 +02:00