1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

381 Commits

Author SHA1 Message Date
Andrew Tridgell
1e9ea7fe86 fixed alignment of the buffers part structures
(This used to be commit f38ecd7ff7c2b2b36995e53af544cb99f0c084e0)
2003-11-15 09:13:55 +00:00
Andrew Tridgell
497e01e93e added samr_OpenDomain() and samr_QueryDomainInfo() level 1
(This used to be commit 2d9c055c1be7187ae890e46edba74bf4fedbc9db)
2003-11-15 08:06:39 +00:00
Andrew Tridgell
bcfbaa312a run LookupDomain on each domain returned from EnumDomains in samr
(This used to be commit 947b9f8ced486d34ee6710a921fb985ea14e2bb1)
2003-11-15 07:51:19 +00:00
Andrew Tridgell
5a28ca7bf3 support a new value() attribute that allows us to auto-fill certain
elements. Used at the moment for string lengths.

the regular expression isn't right, but it works for the case I need.
Perl expert needed :)
(This used to be commit c7ddd6b2aadeb3bbd2ad520a9e074866b434cbba)
2003-11-15 07:49:03 +00:00
Andrew Tridgell
ba5a060136 added the first couple of calls from samr as IDL
samr_EnumDomains() works nicely
(This used to be commit 7c162eaf3bb0195f9a2da05d6acd3c8e620f08d1)
2003-11-15 06:00:21 +00:00
Tim Potter
78b7118d1a Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterEx
works but without a devicemode.
(This used to be commit 35e889cf339f4ed62d4953b4cb5da2f21cf249a2)
2003-11-15 05:42:49 +00:00
Tim Potter
7290260c1a Fix bug in generation of function ndr_pull code generation. This patch
makes the code symmetric with the ndr_push code.
(This used to be commit 4a6f192ff8396c644520050041a740856d72d40b)
2003-11-15 05:15:40 +00:00
Andrew Tridgell
099899a7cc added lsa_QuerySecObj() and the necessary sec_desc_buf supporting code
also adding printing of security descriptors
(This used to be commit 1f93cbc1d597b973ab1a5005ede093c1bcefff87)
2003-11-15 04:42:48 +00:00
Andrew Tridgell
5a1779b982 it turns out that all MS servers ignore the artifact struct_len fields
in OpenPolicy and OpenPolicy2, so we don't in fact need the
[struct_len] attribute. This makes our IDL much closer to the MS IDL.
(This used to be commit f0a8f063a680b5d0a68c5ac7cccf9c9a13adfb81)
2003-11-14 21:39:13 +00:00
Andrew Tridgell
f147a70795 added the dfs_GetInfo all - all levels
(This used to be commit 638eae6bae76eba5494e75fb7f3da8b1c205f892)
2003-11-14 13:16:34 +00:00
Andrew Tridgell
4922823167 * make pidl.pl exit with an error on a parse error
* fixed a buffers/scalars bug in structures
(This used to be commit e66daf527357c65228db55a3d3319a0c20d8f51c)
2003-11-14 13:15:20 +00:00
Andrew Tridgell
15b258051c * added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't work
properly, I'm still investigating that.

* changed dcerpc fault status code to NT_STATUS_NETWORK_WRITE_FAULT,
  which I think is a better mapping
(This used to be commit 9ad28f6ddbb777de7cac11e71c392b508c81b741)
2003-11-14 08:27:39 +00:00
Andrew Tridgell
57529207ca * fixed lsa_LookupPrivName
* added levels 2 and 3 of dfs_Enum
(This used to be commit 3fa61c19826cd1415f561e1e5c40adcc59d4abf2)
2003-11-14 07:56:43 +00:00
Andrew Tridgell
565fd2da76 fixed another problem with pointers to arrays in structures
(This used to be commit cf880a83121421403db43ef87e95a5326e9c9cb8)
2003-11-14 07:55:43 +00:00
Andrew Tridgell
e8a3825ebc we can now do a level1 NetDfsEnum()
(This used to be commit f32641f73f7ff12b797378b3b533603ff1d526b5)
2003-11-14 07:20:46 +00:00
Andrew Tridgell
5b7f049829 fixed the handling of unions of pointers
(This used to be commit 7b0f2ccf07fc4f097c2abb4e8e63a5d457383a11)
2003-11-14 07:19:32 +00:00
Andrew Tridgell
b6b4cc752b * differentiate between pointers and non-pointers in switch_is union
elements in structures

* layout the pull/push/print generated functions with all push
  together, all pull together etc, as this makes for easier debugging

(note that I have no redirected commit messages for pidl to the
samba-cvs mailing list, so you may be seeing these messages for the
first time. See the pidl cvs repository for details on pidl)
(This used to be commit b5888b53157c539242ce84c07415e0b0d84dc264)
2003-11-14 02:20:41 +00:00
Andrew Tridgell
9cadbd5775 fixed rpcecho EchoData debug code
(This used to be commit 01cdcba5cdf742599f1ec1ad23c723523cd1e839)
2003-11-13 10:29:58 +00:00
Andrew Tridgell
679520ac73 removed some obsolete .cvsignore files
(This used to be commit 91aed7c6a63540c86ce71537079f628576b46ec1)
2003-11-13 10:17:20 +00:00
Andrew Tridgell
062670f00c removed a bunch of the old rpc code in preparation for replacing it all with auto-generated code
(This used to be commit 874bf4689d2816474b33eb1ac21530186319ed62)
2003-11-13 10:15:48 +00:00
Andrew Tridgell
aeda2f8152 more dfs work
(This used to be commit d9eb4511d0a51bafb53aa87ebb89ff03e0cbc46c)
2003-11-13 10:15:08 +00:00
Andrew Tridgell
3031937d56 * fixed conformant arrays in structures
* expanded the rpcecho test

* started adding the NETDFS pipe
(This used to be commit 095ab42cbdd5c1c5ab753e2eb275742ba822c8b9)
2003-11-13 09:26:53 +00:00
Andrew Tridgell
ff02537261 I think we now handle conformant arrays in structures correctly - the
test cases pass
(This used to be commit 22e15023509f8f1682865d72765e79f41ab7d149)
2003-11-13 09:23:58 +00:00
Andrew Tridgell
6714815f01 lsa_PrivilegeSet seems to be a very strange beast indeed. It has a
constant sized array of size 1 at the end?
(This used to be commit 2cc354bd82456cb5598eb4acb40a5ada1459d08d)
2003-11-12 05:34:21 +00:00
Andrew Tridgell
6735b72a8d handle constant sized arrays
(This used to be commit 673e7bcdc2d7ee949ca0f56f9ba3cd04b5c38397)
2003-11-12 05:32:37 +00:00
Andrew Tridgell
8830a20bce added 9 more info levels to lsa_QueryInfoPolicy
(This used to be commit b2ced24fc0be4944dd96f160e435f4c6773debcd)
2003-11-11 07:57:08 +00:00
Andrew Tridgell
5475c9f978 added support for 8 byte aligned HYPER_T
(This used to be commit 259d5d7a0e2fa51d5d2ee36431c9e89784ee4a0c)
2003-11-11 07:55:41 +00:00
Andrew Tridgell
c614ea5435 added QueryPolicyInfo/PrimaryDomainInfo idl and test code
(This used to be commit b754ad2eae517abacaa26d9e28a8bf6164274971)
2003-11-11 06:54:54 +00:00
Andrew Tridgell
023a8fcb80 fixed the NDR structure alignment rules
still not perfect, but works for all the cases I have seen so far
(This used to be commit ce15cc87fbbe8ee0d383ad115168e9be29fe9efc)
2003-11-11 06:53:12 +00:00
Andrew Tridgell
bde602b9e1 support lsa_AuditEventsInfo
(This used to be commit 7e7cb975936252083c5c02a64c00ee2667099c22)
2003-11-11 06:22:58 +00:00
Andrew Tridgell
d720f3d2e4 fixed handling on pointers to arrays of structures in unions
(This used to be commit a29145df04d08c13ee1b019b2de57ffd6883907a)
2003-11-11 06:20:18 +00:00
Andrew Tridgell
deeb8d98a1 start using automatic union printing
(This used to be commit e81040a902f67fd10ca1f9c9ca1c22bc95e36005)
2003-11-11 04:38:51 +00:00
Andrew Tridgell
161321f68d automatic printing of unions
(This used to be commit 73b530075589f24f7bb9a001fde979ec6930d2bb)
2003-11-11 04:38:10 +00:00
Andrew Tridgell
cecbf0cd8b automatically generate ndr_print_*() functions for every IDL
structure. This allows easy debug and test tool writing without having
to write functions that print every element of complex structures.
(This used to be commit 81d6181172e36c6fbae0907550a29511ce708574)
2003-11-11 04:04:36 +00:00
Andrew Tridgell
a934f89549 started adding support for lsa_QueryInfoPolicy
(This used to be commit 5b2d577969103ed5c633ea993d476787af14fa93)
2003-11-11 02:02:29 +00:00
Andrew Tridgell
be443f914a - added support for the pull side of unions
- don't generate parse functions for pull/push functions that are not
  used
(This used to be commit 54613574bcd8b365c13848c6aa9366cadeb5da0e)
2003-11-11 01:59:28 +00:00
Andrew Tridgell
657dc577b6 added idl and test code for lsa_LookupPrivName()
(This used to be commit c742227ec31cbf9b0093b5259095c9812b341d8d)
2003-11-10 12:42:45 +00:00
Andrew Tridgell
4659d4f9e2 added IDL and test for lsa_EnumAccountRights()
interestingly, win2000 doesn't return the same list of rights via
lsa_EnumAccountRights() and lsa_EnumPrivsAccount()
(This used to be commit 447c5f13d40d05a49b8bfa1c28c2797371ff5352)
2003-11-10 12:12:22 +00:00
Andrew Tridgell
a9fbdd4838 added IDL and test for lsa_EnumPrivsAccount()
(This used to be commit f8bbce69bf43984ddf35c22cb6a9e6ef22f8f6f4)
2003-11-10 11:37:19 +00:00
Andrew Tridgell
db7012397f much cleaner handling of the different types of variables
(This used to be commit 4df59bcff56a00e413fbde1a40ffebcb16763d3c)
2003-11-10 11:33:21 +00:00
Jelmer Vernooij
e69987090f Add make rule for smbiconv
(This used to be commit 4c0226c71820c18725fd44dc66e1db36037c6a70)
2003-11-09 16:24:31 +00:00
Jelmer Vernooij
47d3fe181b Remove check for SAM, which has already been removed
(This used to be commit db68d642d67125b2d7f8355d6c913719f8821a92)
2003-11-09 16:08:14 +00:00
Jelmer Vernooij
7d07455b96 Add iconv test utility
(This used to be commit 00807119eeb32dcf5f3b19fa08956fa9177405a5)
2003-11-09 15:52:01 +00:00
Jelmer Vernooij
070f8d2070 Add check for precompiled headers
(This used to be commit e92e04b889d4d52fc4d6a7f484188ee2557aa708)
2003-11-09 13:16:52 +00:00
Andrew Tridgell
3fa8da4d26 - fixed lsa_EnumTrustDom
- added lsa_OpenAccount

- handle STATUS_SOME_UNMAPPED
(This used to be commit e5d93cf996b3e9647ef0ca45f6aab7601369936b)
2003-11-09 11:01:39 +00:00
Andrew Tridgell
3c669340f5 added lsa_EnumTrustDom
(This used to be commit ef60a70912c70b11438b53ed033efe31f662143d)
2003-11-09 10:01:24 +00:00
Andrew Tridgell
4bba087298 added lsa_EnumPrivs idl and test code
(This used to be commit fe12f81ba4583b1121bf128db55c4763736a205c)
2003-11-09 09:44:06 +00:00
Andrew Tridgell
e3581c28bb added a test for lsa_Close()
(This used to be commit dbadbbf1a7de011305c7f9d5d8d92467cb6e1c61)
2003-11-09 09:04:28 +00:00
Andrew Tridgell
2f6adaadbb i forgot to commit the rpcecho idl file
(This used to be commit 6c50589a9c19bf14afd2ef9a2170561b336f469e)
2003-11-09 08:31:36 +00:00
Andrew Tridgell
44dfd03963 - added the rest of the LSA calls as stubs
- auto-generate the client calls with 'make idl'
(This used to be commit 8e52381313fc5a603b6d7e6ff090896c772096e9)
2003-11-09 08:30:29 +00:00