summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r21943: don't send unitialized dataStefan Metzmacher1-1/+1
metze (This used to be commit 7cb01a64953580d72bda3a8ddb727b5abd1ec0ff)
2007-10-10r21827: move comments to the place where the functionality is implementedStefan Metzmacher1-120/+1
metze (This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)
2007-10-10r21821: move comment about the becoming a dc to the code which implements itStefan Metzmacher1-442/+1
and extent the comments a bit metze (This used to be commit 16c958600ea6d4481f32081262bf8bae4b56a247)
2007-10-10r21817: give fields a meaningStefan Metzmacher1-2/+2
metze (This used to be commit 521355b57b74dbdccc6ae15738345e1d989ce262)
2007-10-10r21727: Walk some more of the error branches in the ChangePasswordUser server.Andrew Bartlett1-0/+100
Andrew (This used to be commit c1ee06703ac09708a8ff10a641b593362f1bd309)
2007-10-10r21719: Try to cover more of the server-side password processing.Andrew Bartlett1-16/+149
Don't just exit the test with 'return True', actually process the result. Turn off password complexity checking for the password length test. Andrew Bartlett (This used to be commit 1a7635baa701c6268eebd84dd0dc187379c44e6e)
2007-10-10r21699: Because TALLOC_CTX is a void*, I didn't get a compiler warning aboutAndrew Bartlett1-1/+1
this incorrect argument. This also fixes the server-side valgrind issue, but we need to chase down the real issue. Andrew Bartlett (This used to be commit a0c78a75acb9bc581dd8d2688aa91d7b59549c3e)
2007-10-10r21697: Try to cover the 'bad session key' codepaths too.Andrew Bartlett1-0/+54
Andrew Bartlett (This used to be commit 33cfe1ca221de9ef9dec264772fb299125c39447)
2007-10-10r21696: Run the RPC-COUNTCALLS test to try and walk some of the NDR layer forAndrew Bartlett1-28/+78
routines for which we don't have any tests. Andrew Bartlett (This used to be commit e5b9bdf03729a913f3c6cc7709abcbdf50899562)
2007-10-10r21694: Some more testing updates.Jelmer Vernooij1-2/+1
(This used to be commit 9247626b1c5f1eec0cedd6be221aafc41d9a26ab)
2007-10-10r21693: Fix the RPC-SCANNER test. Share some code with the RPC-MGMT test toAndrew Bartlett2-51/+14
make things easier to keep working. Andrew Bartlett (This used to be commit 16db4c1436725e41ea05628f20fc9396d7bd7eaa)
2007-10-10r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. AddJames Peach1-3/+1
convenience API to create an anonymous credential. Don't clobber cmdline_credentials in the UNIX-WHOAMI test. (This used to be commit 73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
2007-10-10r21590: add RPC-HANDLES-MIXED-SHARED test, which shows thatStefan Metzmacher1-0/+136
assoc_groups are shared between idl-interfaces and connections. But you can't close a samr policy handle on a lsa pipe. add RPC-HANDLES-RANDOM-ASSOC test, which shows that you can't bind with an invalid assoc_group_id metze (This used to be commit 26b0e03a776fbac4e93fef585dcfec5962f40387)
2007-10-10r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstratesStefan Metzmacher2-1/+247
policy handles can be shared between connections metze (This used to be commit 874cb393666b950b379d07e6af5bcf41f2bf4746)
2007-10-10r21570: added a RPC-HANDLES test that tries to show that rpc policy handlesAndrew Tridgell2-0/+212
are not shared between connections. It tests three types of policy handles, on lsa, samr and drsuapi. You need to run on ncacn_ip_tcp with seal for drsuapi. Metze, can you have a look and see how this tallies with what you've seen? (This used to be commit c1f41ac045f6023da06c3dbd0a37f39edd8a62f8)
2007-10-10r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is createdAndrew Tridgell1-6/+6
using the pattern in the clilsa code, it didn't fill in the p->binding structure. This affects nearly all users of dcerpc_pipe_open_smb(), so the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises the binding if its not already there. - re-enable the RAW-ACLS test (This used to be commit d8875c286d2be49c01703d8fd58bbc1842054bd9)
2007-10-10r21491: Verify that the DNS domain name is filled in on GUID searches in theAndrew Bartlett1-0/+32
RPC-CRACKNAMES test. Andrew Bartlett (This used to be commit 7773f23e89340c459a0028a4c36b869d95ed8eb1)
2007-10-10r21433: Get rid of the COM support code - it's not used and unmaintained. We canJelmer Vernooij2-3/+7
always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. (This used to be commit 1ad0f99a439f0d52a735b391bf9900d50171aca5)
2007-10-10r21386: Run all NDR tests in the buildfarm, import some functions from ↵Jelmer Vernooij1-1/+2
Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
2007-10-10r21337: add hack option to use DsGetNCChanges level 5 against w2kStefan Metzmacher1-0/+2
metze (This used to be commit 66c8499e5f2f139995be8cb5770d238f383059d6)
2007-10-10r21335: add dssync:save_pwd_blobs_dir=path/ option to store the password blobsStefan Metzmacher1-2/+22
in files for inspection with ndrdump metze (This used to be commit 54748ef5860ee59b5f84855965c84aa8787fb4b6)
2007-10-10r21272: in the history fields each hash is rid crypted on its ownStefan Metzmacher1-46/+16
metze (This used to be commit 922cfacde4dcf27829040e12c7fae083bd5b44c2)
2007-10-10r21267: the first 4 bytes in each encrypted attribute is the crc32Stefan Metzmacher1-9/+30
checksum over the remaining bytes metze (This used to be commit c9fe6a867c7e23a60e0f9200b04c31e48ccc11a2)
2007-10-10r21261: add support for getting to the plain nthash (and I assume others too)Stefan Metzmacher1-12/+74
I wonder what the first 4 bytes are, but the last 16 bytes of the 20 bytes are the rid crypted hash. The lmhash and the history fields are not verified yet. But I get the administrators nthash in plain. metze (This used to be commit 7726d4a0272b29a4eade26c9ae3d929df50897da)
2007-10-10r21245: combination "c[3] s[1] e[1] d[0]..." was ↵Stefan Metzmacher1-266/+75
successful!!!!!!!!!!!!!!!!!!!!!!!!!! we now support the session depended password attribute encryption used in DsGetNCChanges() the static encryption (something like sam_rid_crypt() is assumed for some attributes and the format of the attribute values isn't known yet, but some contain some unicode strings... metze (This used to be commit daee739ebba38e54fbdbd7e53d16fd30bc0dd54e)
2007-10-10r21244: fix typo...Stefan Metzmacher1-1/+1
I was wondering why I got allways 4 times the same decrypted buffer... metze (This used to be commit ba168479d5c5710de4252d9b8970ab41b7979411)
2007-10-10r21243: create the infrastructure to test a lot of crypto combinationsStefan Metzmacher1-1/+248
to solve the drsuapi password encryption automaticly. metze (This used to be commit 7b331b95bf43384e571ecc88ac827f46acd8c20c)
2007-10-10r21242: prepare trying to decrypt the encrypted attributesStefan Metzmacher1-5/+28
metze (This used to be commit 65a55c8fdecbc212ba2fc2a01c580f30dcc7b54a)
2007-10-10r21236: store and orint the dcerpc session key, gensec session key and user ↵Stefan Metzmacher1-1/+25
nthash values for each drsuapi connection in RPC-DSSYNC metze (This used to be commit df74c4a88108bd4387d9be4f64619c46c23493e6)
2007-10-10r21235: fix crash bugStefan Metzmacher1-0/+2
metze (This used to be commit 29c44957a0ea16af3e5e3717d2cb0c9180d394c2)
2007-10-10r21208: fix a crash bug caused by r21205Andrew Tridgell1-1/+1
please test patches, even if they look trivial! (This used to be commit 8134a628f06f0df2ee94612854e0fb3e2efc2eb8)
2007-10-10r21205: Fix warning.Jelmer Vernooij1-1/+1
Trivial patch from "Lunar Child <luch@etersoft.ru>" (This used to be commit 1b75a9ff2d7f91f13fbdfd136b40eca14867bf6f)
2007-10-10r21178: Adapt RPC-SAMBA3-SHARESEC to new smbd behaviorVolker Lendecke1-3/+3
(This used to be commit 38b688fd15a9103e5ef5c86e01b594169d6b6b9c)
2007-10-10r21027: Print the name we fail on. I need to fix Samba4 to pass this.Andrew Bartlett1-1/+2
Andrew Bartlett (This used to be commit 5e907ae795b49d6c120ddedee3ba6d11c06bfab4)
2007-10-10r20831: Update RPC-SCANNER as well after IDL changes.Jelmer Vernooij1-2/+5
(This used to be commit 1c562d9f8311c4038fcff067ac6bb8364b606573)
2007-10-10r20830: merge mgmt workJelmer Vernooij1-22/+30
(This used to be commit 3cc299dbbe278936281f8e7071e6de8ec1bb219c)
2007-10-10r20784: Add ref pointerJelmer Vernooij1-7/+7
(This used to be commit 2ba225ee12180d40a957e4e9a824a544c803a265)
2007-10-10r20676: Add ref pointer to fix warning.Jelmer Vernooij2-10/+10
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)
2007-10-10r20514: implement idl for DsGetNT4ChangeLog() which transferres the meta dataStefan Metzmacher1-0/+59
for NT4 DC's in mixed mode domains. This call is triggered by tranferring the PDC FSMO Role to another DC the real meta data is encoded in the user buffer which is just a DATA_BLOB in idl metze (This used to be commit d883815c8d64429e4dac26a93a15e67d31dc263e)
2007-10-10r20510: fix spellingStefan Metzmacher1-1/+1
metze (This used to be commit 58066e2252001b7689705d296a16438733cfdfc4)
2007-10-10r20504: we handle the attribute values always as DATA_BLOB's andStefan Metzmacher1-3/+3
don't need the union with the attribute id as switch anymore metze (This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10r20396: Missed one user of the renamed elements.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit a7c83eb7b8e000c51790a9eae67c59c04a4a877c)
2007-10-10r20395: Decode more unknowns in the IDL. These are language and codepage IDs!Andrew Bartlett1-17/+23
Try to pass more of the CrackNames test. Make the test quieter. Andrew Bartlett (This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)
2007-10-10r20369: Remember to break if we find a match.Andrew Bartlett1-1/+3
Andrew Bartlett (This used to be commit 4bd8dbcf41f04be28e2f5d6e15a22f08ba80b948)
2007-10-10r20359: level -1 of DsGetDomainControllerInfo gives back a listStefan Metzmacher1-2/+2
of all active connections to the Directory Service Agent (DSA) (This can be LDAP or DRSUAPI connections) abartlet: you had just luck by using flag(BIG_ENDIAN) as BIG_ENDIAN is defined in <endian.h>, it should be flag(NDR_BIG_ENDIAN)... metze (This used to be commit c7e639763de1f8ddccfb954227feeaddb7386edc)
2007-10-10r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because asAndrew Bartlett1-97/+125
usual things are more complex than they appear. Also remove the incorrect server-side implementation, which blindly assumed some sense of consistancy across the API switch levels. Andrew Bartlett (This used to be commit 79941adbff843f5027dacd31b972deca4a1557ec)
2007-10-10r20315: Implement the server side of DsGetDomainControllerInfo. This is aAndrew Bartlett1-5/+0
supprisingly complex call... It turns out that the in/out parameter 'level' is not in/out, but set seperatly by the server-side code from r->req.req1.level. This commit also breaks out some common code from samldb into samdb. Andrew Bartlett (This used to be commit 2eb9e6445c64840399171f4f56b1e43786dbcfa7)
2007-10-10r20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMESAndrew Bartlett1-11/+29
test against my win2k3 domain. I have a child domain, and as such the BUILTIN domain SID appears multiple times in the tree, and is therefore not unique. Andrew Bartlett (This used to be commit 41e42843be783dd88785ba8d3a9bccacc68053a8)
2007-10-10r20295: Add a couple more tests to the CrackNames test.Andrew Bartlett1-0/+14
(This used to be commit 115ed29fd8fcfd0ad3ebbabbe01fbc6259ce84bc)
2007-10-10r20251: I found out that the oid-prefix to uint32-id-prefix mapping is ↵Stefan Metzmacher2-4/+4
transferred in replication replies, but I don't know the exact encoding. for example the oids are transferred as: 2.5.4 => uint8_t v[] = { 0x55, 0x04 }; 2.5.5 => uint8_t v[] = { 0x55, 0x05 }; 2.5.6 => uint8_t v[] = { 0x55, 0x06 }; 2.5.18 => uint8_t v[] = { 0x55, 0x12 }; 2.5.20 => uint8_t v[] = { 0x55, 0x14 }; 2.5.21 => uint8_t v[] = { 0x55, 0x15 }; 1.2.840.113556.1.2 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x02 }; 1.2.840.113556.1.3 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x03 }; 1.2.840.113556.1.4 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x04 }; 1.2.840.113556.1.5 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05 }; 1.2.840.113556.1.5.7000 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x01, 0x05, 0xb6, 0x58 }; 1.2.840.113549.1.9 => uint8_t v[] = { 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x09 }; 2.16.840.1.113730.3 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03 }; 2.16.840.1.113730.3.1 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x01 }; 2.16.840.1.113730.3.2 => uint8_t v[] = { 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8, 0x42, 0x03, 0x02 }; 0.9.2342.19200300.100.1 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x01 }; 0.9.2342.19200300.100.4 => uint8_t v[] = { 0x09, 0x92, 0x26, 0x89, 0x93, 0xf2, 0x2c, 0x64, 0x04 }; 1.3.6.1.4.1.250.1 => uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x81, 0x7a, 0x01 }; 1.3.6.1.4.1.1466.101.119=> uint8_t v[] = { 0x2b, 0x06, 0x01, 0x04, 0x01, 0x8b, 0x3a, 0x65, 0x77 }; if someone knows how the encoding works, please tell me:-) I assume some ASN.1 encoding... metze (This used to be commit aa720a15319392fee5c532959192d0df5bf4c718)