summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/lsa.c
AgeCommit message (Collapse)AuthorFilesLines
2003-11-22 * fixed NDR flag inheritance across push subcontextsAndrew Tridgell1-2/+2
* don't consider not doing lsa_QueryInfoPolicy level 11 a failure (w2k3 doesn't have this level, w2k does) * on a NDR validation failure dump the failed data at level 3 (This used to be commit 9d5078962f0f8aef3360dea4c4774cf8de1fdc26)
2003-11-22 * enable RPC/NDR validation in all smbtorture codeAndrew Tridgell1-1/+1
* allow us to distinguish between null arrays and zero length arrays, by making the allocation size a minimum of 1 on array pull (This used to be commit 11c0fe548ecfb03424f51e1354b86d4692e8f07c)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell1-1/+3
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-20some errors are expected in SAMR and LSA tests - don't fail the testAndrew Tridgell1-0/+12
when they are given (This used to be commit 6e2d3aa433cc77f2ac9f2a7c807bc2668a8b7a9a)
2003-11-19init samr and lsa names so the debug display looks rightAndrew Tridgell1-3/+11
(This used to be commit 343728fad47f46e404be15d44c5b66f870302d9d)
2003-11-18use the auto-generated UUID, version and name rather than listing themAndrew Tridgell1-1/+4
in the dcerpc core code (This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
2003-11-18* use the new auto-generated debug code method.Andrew Tridgell1-22/+2
* add a couple more info levels to wkssvc (This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)
2003-11-17 * add another WERR err codeAndrew Tridgell1-29/+11
* use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
2003-11-15added the first couple of calls from samr as IDLAndrew Tridgell1-63/+4
samr_EnumDomains() works nicely (This used to be commit 7c162eaf3bb0195f9a2da05d6acd3c8e620f08d1)
2003-11-15added lsa_QuerySecObj() and the necessary sec_desc_buf supporting codeAndrew Tridgell1-0/+29
also adding printing of security descriptors (This used to be commit 1f93cbc1d597b973ab1a5005ede093c1bcefff87)
2003-11-14it turns out that all MS servers ignore the artifact struct_len fieldsAndrew Tridgell1-0/+4
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* fixed lsa_LookupPrivNameAndrew Tridgell1-2/+1
* added levels 2 and 3 of dfs_Enum (This used to be commit 3fa61c19826cd1415f561e1e5c40adcc59d4abf2)
2003-11-13* fixed conformant arrays in structuresAndrew Tridgell1-2/+2
* expanded the rpcecho test * started adding the NETDFS pipe (This used to be commit 095ab42cbdd5c1c5ab753e2eb275742ba822c8b9)
2003-11-11added QueryPolicyInfo/PrimaryDomainInfo idl and test codeAndrew Tridgell1-0/+2
(This used to be commit b754ad2eae517abacaa26d9e28a8bf6164274971)
2003-11-11support lsa_AuditEventsInfoAndrew Tridgell1-9/+14
(This used to be commit 7e7cb975936252083c5c02a64c00ee2667099c22)
2003-11-11start using automatic union printingAndrew Tridgell1-5/+1
(This used to be commit e81040a902f67fd10ca1f9c9ca1c22bc95e36005)
2003-11-11automatically generate ndr_print_*() functions for every IDLAndrew Tridgell1-64/+18
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-11started adding support for lsa_QueryInfoPolicyAndrew Tridgell1-0/+35
(This used to be commit 5b2d577969103ed5c633ea993d476787af14fa93)
2003-11-10added idl and test code for lsa_LookupPrivName()Andrew Tridgell1-3/+29
(This used to be commit c742227ec31cbf9b0093b5259095c9812b341d8d)
2003-11-10added IDL and test for lsa_EnumAccountRights()Andrew Tridgell1-1/+32
interestingly, win2000 doesn't return the same list of rights via lsa_EnumAccountRights() and lsa_EnumPrivsAccount() (This used to be commit 447c5f13d40d05a49b8bfa1c28c2797371ff5352)
2003-11-10added IDL and test for lsa_EnumPrivsAccount()Andrew Tridgell1-5/+41
(This used to be commit f8bbce69bf43984ddf35c22cb6a9e6ef22f8f6f4)
2003-11-09- fixed lsa_EnumTrustDomAndrew Tridgell1-11/+45
- added lsa_OpenAccount - handle STATUS_SOME_UNMAPPED (This used to be commit e5d93cf996b3e9647ef0ca45f6aab7601369936b)
2003-11-09added lsa_EnumTrustDomAndrew Tridgell1-0/+40
(This used to be commit ef60a70912c70b11438b53ed033efe31f662143d)
2003-11-09added lsa_EnumPrivs idl and test codeAndrew Tridgell1-1/+77
(This used to be commit fe12f81ba4583b1121bf128db55c4763736a205c)
2003-11-09added a test for lsa_Close()Andrew Tridgell1-0/+26
(This used to be commit dbadbbf1a7de011305c7f9d5d8d92467cb6e1c61)
2003-11-09- added the rest of the LSA calls as stubsAndrew Tridgell1-9/+9
- auto-generate the client calls with 'make idl' (This used to be commit 8e52381313fc5a603b6d7e6ff090896c772096e9)
2003-11-09use a more consistent style for the client stubsAndrew Tridgell1-17/+33
(This used to be commit 9946532f97bf8c820e8615dc6697f740144cd9d8)
2003-11-09lsa_LookupNames now worksAndrew Tridgell1-1/+67
(This used to be commit fba3a7ad22edcbe394861e42b5e5c53709e9d5fe)
2003-11-09added idl, generated code and test code for lsa_LookupSidsAndrew Tridgell1-1/+60
(This used to be commit afa1ff5f08fceba3d34b4e0965fe7e0c0143ede9)
2003-11-08- corrected some lsa idlAndrew Tridgell1-7/+49
- updated lsa parse code from pidl (This used to be commit 3983b2aee77b0e093847bfc02e02b83ab281f5dd)
2003-11-04lsa_EnumSids() now worksAndrew Tridgell1-6/+71
(This used to be commit 25a8692fede323b53240192e5d349b39fe0b7342)
2003-11-04lsa_OpenPolicy2 now worksAndrew Tridgell1-2/+44
(This used to be commit 9cf479873f3501776091c9d01551adadcf525794)
2003-11-04yipee! we can now do lsaOpenPolicy() via the new interfaces, withoutAndrew Tridgell1-28/+24
using any of the old lsa code (This used to be commit f5bd301ff7befa223a1d761a37ae8f7ce7f1fcd1)
2003-11-03started adding RPC-ECHO torture casesAndrew Tridgell1-4/+2
(This used to be commit 8cff335dab438aa2dbcca91a717e14ef5a8288dd)
2003-11-03we only want the per-call stub dataAndrew Tridgell1-3/+2
(This used to be commit 95fa15cdcf2df5e8436281cdf96c84228a56cc4c)
2003-11-03a major revamp of the low level dcerpc code in samba4, We can now do aAndrew Tridgell1-0/+79
successful LSA OpenPolicy using smbtorture (This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)