summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2008-07-21Rename structures to better match the names in the WSPP IDL.Andrew Bartlett2-24/+24
The 'comment' element in a number of domain structures is called oem_information. This was picked up actually because with OpenLDAP doing the schema checking, it noticed that 'comment' was not a valid attribute. The rename tries to keep this consistant in both the LDB mappings and IDL, so we don't make the same mistake in future. This has no real schema impact, as this value isn't actually used for anything, as 'comment' was not used in the provision. Andrew Bartlett (This used to be commit 65dc0d536590d055a5ee775606ac90ee5fcaee9a)
2008-07-21Remove bogus test in 'enum trusted domains' LSA server.Andrew Bartlett1-0/+40
The change to the RPC-LSA test proves that when the remote server has 0 trusted domains, it will return NT_STATUS_NO_MORE_ENTRIES, not NT_STATUS_OK. Andrew Bartlett (This used to be commit 40a55b34c2ce75267cf004dc4cfb8153c061e66b)
2008-07-16drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]Stefan Metzmacher1-2/+2
metze (This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
2008-07-16drsuapi: get ctr6 out of xpress compressed levelStefan Metzmacher1-0/+5
metze (This used to be commit 4e0708148a121bd41a12abf6122d5d6f3f09667a)
2008-06-30drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)Stefan Metzmacher2-12/+12
metze (This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce11-30/+32
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-05-20Change wks password in rpc-bench-schannel1Volker Lendecke1-0/+64
Prove that a workstation password change does not affect existing schannel connections (This used to be commit f72dc52ccc426c8057b91b4699dfeda7d9e9b864)
2008-05-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett3-2/+290
(This used to be commit 60579269d1e0bebce5b595ef95d68fd4bf781cfd)
2008-05-16Make rpc-bench-schannel1 use two wks accounts if --option=torture:multijoin=trueVolker Lendecke1-10/+21
(This used to be commit fc3bc3c4a85b0e0ba853f3208a4e934a733cfdc4)
2008-05-16Fix two C++ warningsVolker Lendecke1-2/+4
(This used to be commit f75f95931c15d57b3111db4dff589be06710aea7)
2008-05-16torture: add RPC-BENCH-SCHANNEL1 testStefan Metzmacher2-0/+273
This tests SamLogonEx() calls on multiple (smb) connections in parallel. Sadly the smb connect needs to be serialized because of the reset on zero VC style behavior of windows. Call it like this: bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 RPC-BENCH-SCHANNEL or bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 -k no RPC-BENCH-SCHANNEL \ --option="torture:nprocs=4" --option="torture:timelimit=1" \ --extra-user SUB1\\sub1user%testsecret --extra-user SUB1\\sub1user%testsecret or ... Later we should add more tests, maybe using only one smb connection and different netlogon pipes. We should also test using the DCERPC_PFC_FLAG_CONC_MPX flag and just one rpc connection. DCERPC_PFC_FLAG_CONC_MPX /* supports concurrent multiplexing of a single connection.*/ metze (This used to be commit 901426c24c74390f7b1c78bb7a07c020b6ef73eb)
2008-05-16In torture_leave_domain, say what account was deletedVolker Lendecke1-2/+4
(This used to be commit a9a0f24f7299c1480d8047d97c703aca8e94c79f)
2008-05-16Rework the CLDAP and NBT netlogon requests and responses.Andrew Bartlett1-3/+4
This now matches section 7.3.3 of the MS-ATDS specification, and all our current tests pass against windows. There is still more testing to do, and the server implementation to complete. Andrew Bartlett (This used to be commit 431d0c03965cbee85691cd0dc1e2a509c1a2b717)
2008-05-06torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()Michael Adam1-1/+1
Michael (This used to be commit 334d76c3559870bd9dc9ef55c9b1a7ce21ee9d4c)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij4-4/+2
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-22Fix more failing tests to pass the event context.Simo Sorce2-8/+8
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce8-26/+30
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-17Fix the build.Jelmer Vernooij1-3/+3
(This used to be commit 5632fe8c61cfd7d69ebdc263dcb5740e72f25b95)
2008-04-17Remove event context tracking from the credentials struct.Jelmer Vernooij1-6/+1
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-14Fix problems with event context not being the parent.Simo Sorce2-4/+4
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-04-04Pass discovered server DN down to provision.Andrew Bartlett1-0/+8
This uses the new 'serverdn' argument added to provision in the previous commit. Andrew Bartlett (This used to be commit 74480c7de76069701246eb5b7acc5858b84d106c)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij11-0/+53
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-03-28Convert some more files to GPLv3.Andrew Kroeger3-3/+3
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2008-03-20Prove that a setuserinfo level 25 does set the pwdlastset fieldVolker Lendecke1-0/+50
Very likely this is not the full story, but as it happens so often this proof is needed to fix a direct s3 bug. (This used to be commit 16b4a3685bf59faee22882ee14ddb95918f64e22)
2008-03-20Add the workstation to the anon sessetup credentialsVolker Lendecke1-0/+2
Without this patch the RPC-SAMBA3SESSIONKEY against W2k3 gives INVALID_PARAMETER for the anonymous session setup (This used to be commit eb459be878e98cb58c6b5779584e187cdcbf4f91)
2008-03-20Fix a warningVolker Lendecke1-0/+1
Without this patch I get ./libcli/security/proto.h:45: warning: 'struct auth_session_info' declared inside parameter list (This used to be commit 078a6fdb3f8e389102a07b81b6b8d87fa8bf17c3)
2008-03-14Rework our SAMR test and SAMR server.Andrew Bartlett1-25/+62
Now that we don't create users/domain groups/aliases in the builtin domain, we hit some bugs in the server-side implementation of the enumeration functions. In essence, it turns out to be: don't treat 0 as a special case. Also, fix up the PDC name to always be returned. I'm sure nothing actually uses it, particularly for BUILTIN... Andrew Bartlett (This used to be commit 353bb79f568f20c8469cb9458f7b14c24612ad23)
2008-03-14Check for Administrator as a Alias (copy&paste bug)Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit e7afb31df1f12a3cd39ed9b95d76edc6ff0d6a70)
2008-03-03Merge branch 'v4-0-test' into id10ts-registryJelmer Vernooij2-9/+38
(This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)
2008-02-28Merge branch 'v4-0-trivial' into v4-0-testJelmer Vernooij1-1/+1
(This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
2008-02-28Generate ACB_PW_EXPIRED correctlyAndrew Bartlett1-8/+37
More correctly handle expired passwords, and do not expire machine accounts. Test that the behaviour is consistant with windows, using the RPC-SAMR test. Change NETLOGON to directly query the userAccountControl, just because we don't want to do the extra expiry processing here. Andrew Bartlett (This used to be commit acda1f69bc9b9c43e157e254d0bae54d11363661)
2008-02-26torture/rpc-winreg: Split out the security descriptor tests.Andrew Kroeger1-56/+113
The security descriptor functionality has not been implemented yet. Now that the other tests run successfully, the security descriptor tests have been split out so they can be separately marked as knownfail. The tests that test security descriptor functionality are named "*-security", while those that don't are named "*-basic". (This used to be commit 7b7aec9a2f0a684bb27761df71af506cce244b2c)
2008-02-26torture/rpc-winreg: Modify test cases to work with recursive key deletion.Andrew Kroeger1-43/+0
(This used to be commit 3885acdee6fa3ec33cf4824826c2b8a98721382c)
2008-02-26torture/rpc-winreg: General fixes for a number of tests.Andrew Kroeger1-8/+16
Cleaned up issues with tests being run without the correct state being setup. Also corrected an issue with a test expecting the wrong return value to indicate a successful test run. (This used to be commit d015e595ca82f8fd3941753c00a2f3d816300be9)
2008-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij4-5/+6
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij2-11/+18
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-21Avoid use of global_loadparm.Jelmer Vernooij1-3/+4
(This used to be commit c5a95bbe0ce55c29e135a9c6058bf192ec3bb546)
2008-02-19initshutdown.idl: get rid of initshutdown_String and use lsa_StringLargeStefan Metzmacher1-7/+6
metze (This used to be commit d9303cb08324db5ceb89f69a1a71cc3e16fdf250)
2008-02-19winreg.idl: get rid of initshutdown_String and use lsa_StringLargeStefan Metzmacher1-9/+6
metze (This used to be commit 1ccea2a260de83b2e3137f762716ae67070c7024)
2008-02-19samba3rpc: Remove use of global_loadparm.Jelmer Vernooij1-31/+42
(This used to be commit b3d084170e01fc678f9be6c280c52763ead52959)
2008-02-19Avoid use of global_loadparm.Jelmer Vernooij1-6/+7
(This used to be commit e6751a3ca40d968f084642229845a729bd916222)
2008-02-13torture/eventlog: the NTSTATUS of dcerpc_ functions is the same as r.out.resultStefan Metzmacher1-2/+0
metze (This used to be commit 0c5539e5fedd4123f61d50ee29acdc5a5f0faf76)
2008-02-13torture/eventlog: fix crash bugs!Stefan Metzmacher1-0/+8
This bug was introduced in 92b8bde561277a6b83048ce003cc29ff1b380255 and this shows that we need to be very, very careful in changing idl elements from scalars to [ref] pointers! metze (This used to be commit 3ec4bce0b64764e364aedea2800eed296805c51e)
2008-02-13spoolss.idl: improve idl for EnumPrinterData and not use 'lstring' any moreStefan Metzmacher1-7/+15
metze (This used to be commit d6cdddbcf37d120cb365bc7f8188858c8776e2e0)
2008-01-28torture: Fix too early free in spoolss notify test.Jelmer Vernooij1-5/+6
(This used to be commit f5ea5de797f4fe35baf4f2bcd2913902c6703f44)
2008-01-17Fix an output message in samba3rpc torture test.Michael Adam1-1/+1
Michael (This used to be commit bf957bcb835a2c7c903f60dfa8f9a7e41997c5af)
2008-01-14python: Fix rpcecho tests.Jelmer Vernooij1-39/+0
(This used to be commit ebb78ea4232c1614755844849580e3697b0a53fa)
2008-01-14pidl/python: Fix use of pointers.Jelmer Vernooij1-2/+2
(This used to be commit 13f2b0380f310b101975d709361a29d4032c3689)