summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/dssync.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-30drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)Stefan Metzmacher1-6/+6
metze (This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
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-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-5/+5
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-02-21Remove yet more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-8/+10
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26353: Remove use of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 17637e4490e42db6cdef619286c4d5a0982e9d1a)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-1/+1
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26271: Remove some more uses of global_loadparm.Jelmer Vernooij1-0/+1
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij1-27/+29
in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-1/+1
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21r25825: Don't print the user's password hash at level 0.Andrew Bartlett1-2/+1
Andrew Bartlett (This used to be commit 495271588c5ef8ce88826961fa3883506d74ad33)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-30/+30
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-14/+14
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+1
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-16/+16
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-1/+1
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24146: It is not an error for a Win2k3-only server not to support the NT4Andrew Bartlett1-0/+3
replication call. Andrew Bartlett (This used to be commit 59cba32c09f5b014788e4fb0479ed31f26a3d7e2)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22396: remove unused varsStefan Metzmacher1-4/+0
metze (This used to be commit ff3ad7e5db64a27ec95475c40be094c7d69ae008)
2007-10-10r22086: Bail out early on some of these failures.Andrew Bartlett1-0/+9
(This used to be commit 8311bdfde92a9efe7730ed4a0f5f70f8e0d25ef6)
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-10r20676: Add ref pointer to fix warning.Jelmer Vernooij1-8/+8
(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-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-10r20251: I found out that the oid-prefix to uint32-id-prefix mapping is ↵Stefan Metzmacher1-2/+2
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)
2007-10-10r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,Stefan Metzmacher1-2/+2
this wasn't noticed because on the 1st dc in the forest both have the same value metze (This used to be commit 527bd9a0a361e19606e25e885b92da316e740bf9)
2007-10-10r19967: this unknowns are max_object_count and max_ndr_sizeStefan Metzmacher1-7/+6
metze (This used to be commit 3e6264d872e4fc39a8e0712293492ad413345de9)
2007-10-10r19699: - use better names for the site stringsStefan Metzmacher1-2/+3
- use the client_site when creating the server object metze (This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
2007-10-10r19462: This isn't an encrypted attribute.Andrew Bartlett1-3/+0
Andrew Bartlett (This used to be commit 12765db714de9e0fed61e6616b3671d525ee3bef)
2007-10-10r17442: print out credentials on the "secret" objectClass and "trustedDomain"Stefan Metzmacher1-0/+18
objectclass metze (This used to be commit af1efa0c790a86f68bd7f761b22478895bfdaaea)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+2
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij1-1/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij1-0/+1
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r13346: use private proto header files for the torture testsStefan Metzmacher1-0/+1
metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-4/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij1-2/+1
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10r11968: More warning fixes. We're on track to getting to double digits forTim Potter1-2/+2
the number of warnings generated now. (This used to be commit d479f2d7607adc698d71c5ba26932c72a26dcaab)