summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samr.c
AgeCommit message (Collapse)AuthorFilesLines
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-3/+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-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell1-0/+28
interface. We now support an arbitrary set of flags to each parser, and these can be used to control the string types. I have provided some common IDL string types in librpc/idl/idl_types.h which needs to be included in every IDL file. * added IDL for the endpoint mapper. Added a test suite that enumerates all endpoints on the server. (This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21added 4 more levels to samr_QueryDisplayInfo()Andrew Tridgell1-11/+17
(This used to be commit f4cc593a5c7d75adaced2c33dd83c2ec741751be)
2003-11-20added samr_QueryDisplayInfo() (only level 1 so far)Andrew Tridgell1-0/+28
(This used to be commit 8601305c8100f03ffaee4754eae12e9b332508a4)
2003-11-20extensive samr_SetUserInfo/samr_QueryUserInfo testing, withAndrew Tridgell1-10/+34
cross-checking of all settable fields (This used to be commit 3337906d52e95c127d64f81f9fc99aeb8a8d1ce6)
2003-11-20 * fixed level2 of QueryUserInfoAndrew Tridgell1-13/+91
* added per-field testing of SetUserInfo * fixed strlen_m() (This used to be commit 26238b0f8a5752bb0f611c4aa492b964e419209a)
2003-11-20started on samr_SetUserInfo()Andrew Tridgell1-2/+83
cope with the 'samrtorturetest' user already existing in the samr test (to cope with previously failed runs) (This used to be commit 47128b3d50b3481175a8b2580624316a4f7677db)
2003-11-20added samr_LookupRids() and test codeAndrew Tridgell1-1/+16
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
2003-11-20added samr_LookupNames() and test codeAndrew Tridgell1-2/+44
(This used to be commit f8397cbc8554b721093b8ae6ac6fb26d0ee9a7cf)
2003-11-20some errors are expected in SAMR and LSA tests - don't fail the testAndrew Tridgell1-0/+6
when they are given (This used to be commit 6e2d3aa433cc77f2ac9f2a7c807bc2668a8b7a9a)
2003-11-19init samr and lsa names so the debug display looks rightAndrew Tridgell1-1/+12
(This used to be commit 343728fad47f46e404be15d44c5b66f870302d9d)
2003-11-18added samr_CreateUser() samr_DeleteUser(). The test suite creates aAndrew Tridgell1-2/+42
test user called "samrtorturetest" and then deletes it. The next step is to do all possible user operations on that temporary user. (This used to be commit 41fc922954bd8ec461a79a22cc903e63902c7401)
2003-11-18changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().Andrew Tridgell1-0/+6
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)
2003-11-18added samr_QuerySecurity() call that displays the ACL for any handle.Andrew Tridgell1-0/+38
(This used to be commit 5bbeaaa3d13c838d014e7689b0fcf7374c8c7f57)
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-9/+13
* use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
2003-11-15remember to samr_Close() policy handles after useAndrew Tridgell1-5/+46
(This used to be commit 8b4e5c65e0e18657befbd5eba2d195c2751dcf7f)
2003-11-15added OpenAlias and QueryAliasInfo levels 1 to 3Andrew Tridgell1-1/+69
(This used to be commit 2ed8cfdf6662f74808df67e3e9d03cf03f765569)
2003-11-15added OpenGroup and QueryGroupInfo levels 1 to 4Andrew Tridgell1-3/+72
(This used to be commit ffe4fcaab0fe4f6e0f64fb2d57c77442aa2e1f6f)
2003-11-15don't encode my own servers name in the test :)Andrew Tridgell1-1/+1
(This used to be commit bcc87ab8c0a5a51c4af13a7985f31e16c168957c)
2003-11-15added UserInfo level 21Andrew Tridgell1-1/+1
(This used to be commit b90eff794f083029c568d3ec4ec2a7d2f7741139)
2003-11-15added samr UserInfo levels 4 to 20Andrew Tridgell1-1/+2
(This used to be commit 5bbe63a7bbd4623dbbab7f74c00c7998d469571c)
2003-11-15added samr_UserInfo2 and samr_UserInfo3Andrew Tridgell1-10/+16
(This used to be commit 5e852f694c039ae8bde3490be9e0c4959c1e93f0)
2003-11-15added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1Andrew Tridgell1-2/+92
(This used to be commit e7edeec60e274c1460f7c8cc0fb4121b37e1bcd7)
2003-11-15added samr_EnumDomainGroups and samr_EnumDomainUsersAndrew Tridgell1-0/+59
(This used to be commit f8d690fb2bc0afcc8267caa4edcbeed9463594e5)
2003-11-15added another 11 levels of QueryDomainInfoAndrew Tridgell1-9/+16
(This used to be commit 219cfabaeb38c5fd2fcabd1e6f05da206bab21e4)
2003-11-15added samr_OpenDomain() and samr_QueryDomainInfo() level 1Andrew Tridgell1-4/+63
(This used to be commit 2d9c055c1be7187ae890e46edba74bf4fedbc9db)
2003-11-15run LookupDomain on each domain returned from EnumDomains in samrAndrew Tridgell1-1/+42
(This used to be commit 947b9f8ced486d34ee6710a921fb985ea14e2bb1)
2003-11-15added the first couple of calls from samr as IDLAndrew Tridgell1-0/+97
samr_EnumDomains() works nicely (This used to be commit 7c162eaf3bb0195f9a2da05d6acd3c8e620f08d1)