summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/drsuapi.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system callKamen Mazdrashki1-10/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-10-01s4-tort-drs: Add bind_info for dcerpc_drsuapi_DsBind() callKamen Mazdrashki1-1/+39
After this patch DsGetNCChanges() test works fine. bind_info returned by server is also cached for future use Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01s4-tort-drs: DsReplicaUpdateRefs test fixed and extendedKamen Mazdrashki1-37/+50
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-11s4/tort: RPC-DRSUAPI test case refactored to match torture architectureKamen Mazdrashki1-67/+73
2009-09-11s4/tort: code clean up using torture_drsuapi_assert_call() macroKamen Mazdrashki1-132/+36
After this change, when a test fails, it gives reasonable failure message.
2009-09-11s4/tort: Propagate torture_context and use torture_commentKamen Mazdrashki1-66/+79
NOTE: Not every place where printf is used is replaced by torture_comment. Future work shall "missed" printfs also.
2009-09-11s4/tort: Make common setup/teardown drsuapi test funcs really commonKamen Mazdrashki1-13/+6
2009-09-10s4/torture: fixed lots of crash bugs in the DRS testsAndrew Tridgell1-17/+19
2009-09-08tort: DsCrackNames - propagate torture context to all tests.Kamen Mazdrashki1-46/+12
2009-09-08tort: Helper function to get DC info for testingKamen Mazdrashki1-0/+53
2009-09-08tort: Implement 'setup' and 'teardown' for DRSUAPI test cases.Kamen Mazdrashki1-0/+43
2008-10-18s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.Günther Deschner1-35/+40
Guenther
2008-10-18s4-drsuapi: merge drsuapi_DsGetDomainControllerInfo from s3 drsuapi idl.Günther Deschner1-15/+25
Guenther
2008-10-18s4-drsuapi: merge drsuapi_DsWriteAccountSpn from s3 drsuapi idl.Günther Deschner1-7/+14
Guenther
2008-10-17s4-smbtorture: fix test_DsReplicaGetInfo.Günther Deschner1-11/+16
Guenther
2008-10-17s4-smbtorture: fix test_DsGetNCChanges torture test.Günther Deschner1-0/+2
This must have been broken since a while already. Guenther
2008-10-17s4: merge from s3 drsuapi.idl.Günther Deschner1-22/+27
Guenther
2008-06-30drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)Stefan Metzmacher1-6/+6
metze (This used to be commit d41b3dd6ffc4fd894bc05798dbc2ff4b53933a06)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-4/+4
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2007-12-21r26272: Remove global_loadparm in some more places.Jelmer Vernooij1-2/+2
(This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55)
2007-12-21r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij1-5/+5
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-18/+18
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-49/+49
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-8/+8
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25070: Revert DRSUAPI conversion to new API, as it broke some tests.Jelmer Vernooij1-184/+303
(This used to be commit cfb33df2d0eb36704d4702948a78102153663131)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-3/+3
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-10r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.Jelmer Vernooij1-144/+118
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)
2007-10-10r24844: Convert to torture API in preparation of helper functions for domain ↵Jelmer Vernooij1-184/+91
member RPC tests. (This used to be commit c2521453a902ea5fd4f894a21af711ac2b2cbd40)
2007-10-10r24835: Put all RPC tests in the list (skipping when necessary), warn if ↵Jelmer Vernooij1-110/+55
tests aren't there. (This used to be commit 1ff13ae254288afc56a3b19d00c7a20120eb4c74)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-2/+2
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-2/+2
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
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-10r23239: Fill in drsuapi_QuerySitesByCost.Günther Deschner1-1/+58
Guenther (This used to be commit cf953d04813d193da5e9714ceebb7826dc7e4d0b)
2007-10-10r22538: same day late at night in au...:-)Stefan Metzmacher1-5/+4
fix the strcasecmp_m() returns 0 for a match also use the correct array element to fill priv->dcinfo the fixes the problems where ldb changes the order of the search results when changing the main dc netbios name from "localhost" to "localtest" metze (This used to be commit 25fffe385ea039ae19f25730cba6c7ea8684860b)
2007-10-10r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.Andrew Bartlett1-3/+2
Fix up our server side implementation to pass almost all the tests (a couple are skipped). Don't require the DsGetDomainControllerInfo calls to pass, just get some info from them. Andrew Bartlett (This used to be commit a29eb8f7e541d2021726601faf52355e312c916b)
2007-10-10r21817: give fields a meaningStefan Metzmacher1-2/+2
metze (This used to be commit 521355b57b74dbdccc6ae15738345e1d989ce262)
2007-10-10r20676: Add ref pointer to fix warning.Jelmer Vernooij1-2/+2
(This used to be commit 1afcf850679b6752935455a8f9198679649922b8)
2007-10-10r20510: fix spellingStefan Metzmacher1-1/+1
metze (This used to be commit 58066e2252001b7689705d296a16438733cfdfc4)
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-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-10r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and inAndrew Bartlett1-4/+53
particular to verify more expected results. Also return more details from the join process. Now we also return the machine account's GUID. Andrew Bartlett (This used to be commit 5b32f102af1fc7acb56bf7eaa40068d60a1ee396)
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-4/+4
metze (This used to be commit 3e6264d872e4fc39a8e0712293492ad413345de9)
2007-10-10r19760: Create a DC account for the drsuapi tests to work on, rather thanAndrew Bartlett1-6/+45
choosing an existing DC. Allow to skip some tests under Samba4. Andrew Bartlett (This used to be commit 705fbae325267fd0ed11f463f954f8e45802d6d5)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)