summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r610: - Merge the Samba3 'ntlm_auth --diagnostics' testsuite to Samba4.Andrew Bartlett1-55/+657
- This required using NETLOGON_NEG_AUTH2_FLAGS for the SetupCredentials2 negotiation flags, which is what Samba3 does, because otherwise the server uses different crypto. - This tests the returned session keys, which we decrypt. - Update the Samba4 notion of a 'session key' to be a DATA_BLOB in most places. - Fix session key code to return NT_STATUS_NO_SESSION_KEY if none is available. - Remove a useless argument to SMBsesskeygen_ntv1 - move netr_CredentialState from the .idl to the new credentials.h Andrew Bartlett (This used to be commit 44f8b5b53e6abd4de8a676f78d729988fadff320)
2007-10-10r582: added the LMSessKey in SamInfo and SamInfo2, thanks to work by abartletAndrew Tridgell1-14/+18
added test code for SamLogon validation level 2 and 3, so we test both SamInfo and SamInfo2 (This used to be commit 321dbb61cc0743379ceb6b8fff6a0ca37f308bc2)
2007-10-10r577: extended the LookupNames test to check for correct handling of ↵Andrew Tridgell1-5/+21
unmapped names (This used to be commit e3b31625f476cb1b8a4d5003dee2c574582c9b46)
2007-10-10r457: added some more samr tests to help me work out the right error codesAndrew Tridgell1-1/+27
in our new samr server (This used to be commit 0f2503111498e809237e0155962db55dfde8cbfb)
2007-10-10r420: added nicer names for the field bits in userinfo21Andrew Tridgell1-13/+129
added tests for the level 23 and 25 password change methods (This used to be commit d49f7a6a0d1895de3d654a5b46c6aec3a57fde76)
2007-10-10r389: added a test for set user info level 26 (set password extended)Andrew Tridgell1-1/+56
thanks to Luke Howard for this test (This used to be commit 891653e7d40f581016085e2c32e2802eea7e7ade)
2007-10-10r372: automatically create a fake BDC machine account and delete itAndrew Tridgell2-25/+191
afterwards for the RPC-NETLOGON test. This makes it much simpler to run the test and also means that it doesn't distrurb any existing domain join you might have. (This used to be commit feac996794d5cc16e3612fb2901668a9b1e1d274)
2007-10-10r365: improved the IDL for samr_Connect5()Andrew Tridgell1-10/+10
(This used to be commit 4b4f025504cb5b92c8b119259f1df622cd72ec7c)
2007-10-10r364: finally worked out the ancient samr_ChangePasswordUser() interfaceAndrew Tridgell1-22/+21
yay! (This used to be commit 0221566cf5ff7dc5ce0de9af451b935ed8615f4e)
2007-10-10r362: after setting domain info query it again so we can see what attributes ↵Andrew Tridgell1-0/+8
stick (This used to be commit b2ebaf95b75b050ad02ca967867337cd81faa859)
2007-10-10r355: Fix a bunch of compiler warnings in the registry code.Tim Potter1-1/+0
(This used to be commit 0be7a866dc39e2d63c9c114d0f668287259e7c9e)
2007-10-10r336: added a -X command line option to smbtorture to enable dangerous orAndrew Tridgell2-5/+69
possibly destructive tests. Use with care! Added IDL and test code for samr_Shutdown() and samr_SetDsrmPassword() (This used to be commit 84de0b7e58c69e0817b9d475de0895a54cc95927)
2007-10-10r335: added much better handling of servers that die unexpectedly during aAndrew Tridgell2-8/+36
request (a dead socket). I discovered this when testing against Sun's PC-NetLink. cleaned up the naming of some of the samr requests add IDL and test code for samr_QueryGroupMember(), samr_SetMemberAttributesOfGroup() and samr_Shutdown(). (actually, I didn't leave the samr_Shutdown() test in, as its fatal to windows servers due to doing exactly what it says it does). (This used to be commit 925bc2622c105dee4ffff809c6c35cd209a839f8)
2007-10-10r326: tweaks to the RPC-SAMR test code to allow win2003 to pass the test ↵Andrew Tridgell1-9/+59
(for example, not filling in extra fields in level21 setuserinfo) (This used to be commit d06ed158f9aef94159bfc09065ca5ad0c4c99de3)
2007-10-10r325: added IDL and test code for samr_ChangePasswordUser3().Andrew Tridgell1-29/+142
Also added much better handling of random password generation in the password change test code (This used to be commit 67ae0b2a9851c1e77fdaa9f317a83bd54950618f)
2007-10-10r307: added IDL and test code for samr_GetDomPwInfo(), samr_SetUserInfo2(),Andrew Tridgell1-3/+83
samr_GetBootKeyInformation() and samr_Connect3() also added some stub IDL for samr_SetBootKeyInformation() although I don't yet have working test code. This one is tricky, as if you get it wrong then the target system won't boot any more :) (This used to be commit 118b6fc292ba3257511b1b83846582013fb59b23)
2007-10-10r305: - added IDL and test code for samr_RidToSid()Andrew Tridgell2-16/+106
- completed the IDL and test code for the various set user password mechanisms in samr. Three password mechanisms are now working, the UserInfo24 method, the OemChangePasswordUser2() method (which only sets the LM password) and the ChangePasswordUser2() method which sets both the LM and NT passwords. - updated some crypto routines to support the password change tests (This used to be commit 051efa2abf9d1fbbf783df411c02f2714027f813)
2007-10-10r275: added IDL and test code for samr_QueryDisplayInfo3(),Andrew Tridgell2-14/+248
samr_AddMultipleMembersToAlias(), samr_RemoveMultipleMembersFromAlias(), samr_OemChangePasswordUser2(), and samr_ChangePasswordUser2() The password change functions don't actually work yet (but should soon). At this stage I have just completed the IDL for them. Next step is to get the hash verifiers right and the torture test should be able to do password changes. (This used to be commit 849d0d314a2add80f2b2be6b503fea05973f998e)
2007-10-10r268: added IDL and test code for samr_QueryDomainInfo2(),Andrew Tridgell1-0/+152
samr_QueryUserInfo2(), samr_QueryDisplayInfo2() and samr_GetDisplayEnumerationIndex2() (This used to be commit fddda52500d482bde79994c14a0a822a1d305ac3)
2007-10-10r267: added IDL and test code for samr_ChangePasswordUser(),Andrew Tridgell1-28/+209
samr_GetDisplayEnumerationIndex(), samr_TestPrivateFunctionsDomain(), samr_TestPrivateFunctionsUser() and samr_RemoveMemberFromForeignDomain() (This used to be commit 53c66708874f9f8e7868530cd2a780160e2eca01)
2007-10-10r266: modified autoidl to deal with policy handles (this helped me work outAndrew Tridgell1-19/+47
a few more samr functions). Still a hack tho. (This used to be commit 15199a384f63ff206c8bcd483d615a3f91e9877d)
2007-10-10r259: added samr_DeleteGroupMember() IDL and test codeAndrew Tridgell1-1/+24
(This used to be commit 747351140b839879abe1a79a005d81ca4b35a658)
2007-10-10r258: added samr_AddGroupMember() IDL and test codeAndrew Tridgell1-24/+69
(This used to be commit 0b8203306d9eb61aaec9549d56c40831fcd091c3)
2007-10-10r257: added samr_SetGroupInfo() IDL and test codeAndrew Tridgell1-0/+25
(This used to be commit fe1fc81ba76515b79069881d2d62f60201314d04)
2007-10-10r256: added samr_CreateDomainGroup() and samr_DeleteDomainGroup() IDL and ↵Andrew Tridgell1-1/+120
test code (This used to be commit 46185a71ba0e06544cacf117654e4dbf39385378)
2007-10-10r255: added samr_SetDomainInfo IDL and test codeAndrew Tridgell1-0/+25
(This used to be commit 9f12fb39dbac886582d0ccce418491522c042fe6)
2007-10-10r232: Test whether querydispinfo and enumdomgroups return the same set ofVolker Lendecke1-0/+133
group names. Volker (This used to be commit 481cec94c47ffda341e00d628cf34c2c7b5de2fa)
2007-10-10r199: More registry rpc updatesJelmer Vernooij1-2/+2
(This used to be commit 02ddf78e5563b15cb45ae4bc6234469be0dc0210)
2007-10-10r190: More RPC updatesJelmer Vernooij1-26/+28
(This used to be commit 0a67057e9626c1539f964e978537e24544784263)
2007-10-10r168: - Cleanups in rpc backendJelmer Vernooij1-6/+10
- Small fixess in nt4 and dir backends - Start on w95 file backend (This used to be commit aa739e8d3c7108f6f2089af2d8d522feacc7f698)
2007-10-10r165: Add support for viewing registry values in gregeditJelmer Vernooij1-1/+5
(This used to be commit 1d8a6d762aa4dab54bb58959cb1e7957a76e5b6e)
2007-10-10r133: don't try to do a database deltas with a -1 seq numAndrew Tridgell1-0/+4
(This used to be commit dcb172d207ca0b56e62165633b2f7f7fcc188f7c)
2007-10-10r128: Another registry update. Changes:Jelmer Vernooij1-20/+77
- Start with the LDB backend - The API is now more windows-like, which should make it easier to use in rpc_server - Added a GTK+ front-end - Added some more IDL More updates will follow, especially in the RPC field.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)
2007-10-10r101: added lsa_SetSecret() and lsa_QuerySecret()Andrew Tridgell1-70/+80
this required some crypto infrastructure and some sid utilities (This used to be commit 37d0efa9c2af8532536bea88412f0dd3ed39ecfc)
2007-10-10r62: Fix the buildJelmer Vernooij1-3/+6
(This used to be commit 1396db85372af1824592ef66f963603e3f35803c)
2007-10-10r61: - Implement first call in the winreg rpc serverJelmer Vernooij1-1/+22
- Add some initial implementation of the ldb backend - More checks in the winreg torture test (This used to be commit ae2b63b6f1821bc4f693cb8e2a5f78718c483c24)
2007-10-10r46: Add CreateKey function (still working on it)Jelmer Vernooij1-6/+49
(This used to be commit 9f13b7c60cc7e6edd095eee96625ee02cd0dd73b)
2007-10-10r33: Fix torture test after IDL changes.Jelmer Vernooij1-11/+2
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)
2004-04-03added IDL and test for lsa_OpenSecret()Andrew Tridgell1-1/+23
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)
2004-04-03added IDL and test suite for lsa_CreateSecret()Andrew Tridgell1-0/+33
(This used to be commit 4de08b64ddb3851e90a8dadd7d0d0991e933abf5)
2004-04-03added idl and test suite for lsa_CreateTrustedDomain()Andrew Tridgell1-1/+45
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)
2004-03-31added lsaCreateAccount() and a test in the RPC-LSA test suiteAndrew Tridgell1-21/+114
also tested lsa_Delete() to delete the newly created account (This used to be commit c4d5d0e9eba6b564e2ce6885d66d644b6612d721)
2004-02-10fixed a couple of uninitialised returns spotted by valgrindAndrew Tridgell1-2/+2
(This used to be commit ccce61287de07684159e2de990773f4098e07652)
2004-02-10don't force debug in the RPC-MGMT testAndrew Tridgell1-2/+0
(This used to be commit e0eb4b3cfb75385ff7a012ca0f8fad1278c195d9)
2004-02-03- add 'print' to the DCERPC binding stringsStefan Metzmacher12-24/+0
e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2004-01-20check for the correct fault code when the server fails a use of aAndrew Tridgell1-3/+9
incorrect policy handle (This used to be commit 8cd6e90eb8716ba43f5940245d7be580aab4ba83)
2004-01-20added code to the RPC-SPOOLSS test that demonstrates that policyAndrew Tridgell1-0/+41
handles are not shared between open dcerpc connections, even when those connections are on the same SMB socket. I have tested this with w2k3, w2k and NT4. It seems that policy handles have a strict scope of the dcerpc connection on which they were opened. I realise that this goes against existing folk-law in the team, but it seems that the previous testing (I'm not sure who did this?) was wrong. Perhaps clients do send us policy handles from other connections, but if they do then the correct thing to do is to fail the operation with a dcerpc fault. I suspect that failing it with exactly the right dcerpc fault code is important. (This used to be commit 2ed24d29bafd9055d5782acdd595cd0f378a651a)
2004-01-19Add test to set single fields in fields_present with info21.Simo Sorce1-37/+53
(This used to be commit 2372321eedb6d446c1555ed318bd98743cabaaa0)
2004-01-17make sure we initialise r.out.handle in openeventlogAndrew Tridgell1-0/+1
(This used to be commit 6319166420ba7cd7bb3a69d88510d8e6216c7c89)
2003-12-21minor updates to make the srvsvc test compileAndrew Tridgell1-5/+5
(This used to be commit 564e505e925d67be00ca2cbe21b2b9b33a1ac0c7)