summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_BecomeDC.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-15Reconcile header files for torture utility functions.Jelmer Vernooij1-1/+1
(This used to be commit 1269758e95686cc155284d5d56080e1be11bbd75)
2008-02-15Use struct for provision parameters since there are so many of them.Jelmer Vernooij1-15/+24
(This used to be commit 4b9d5bc57ca4ee14c142ea720dce5e4ee97f8c16)
2008-02-15Finish migration of provision code.Jelmer Vernooij1-1/+7
(This used to be commit 53c5924195844dac4dfe99e5c9b0c8911394497a)
2008-02-15Avoid using private libnet test structure inside util_provision.Jelmer Vernooij1-1/+15
(This used to be commit 1a1f8a5e6b193f25f4838a3e7964cdf0590f4eb2)
2008-02-14Split provision from C code out of becomedc.Jelmer Vernooij1-295/+3
(This used to be commit ed2b72ac76ec069fec799b3fd805cca59fc28de4)
2008-02-09Remove unused define.Jelmer Vernooij1-7/+3
(This used to be commit 64d6d729135e1b3b19c9bdbbe973fcdaca15e8b3)
2008-01-25NET-BECOME-DC: always try to build ejs and python codeStefan Metzmacher1-9/+16
We let getenv("PROVISION_PYTHON") decide what we want at runtime. metze (This used to be commit acb5661f61ad62c02b5ec83d0f1f0c969f356c9f)
2008-01-24Make the repl_meta_data module the default for domain controllers.Andrew Bartlett1-4/+0
Andrew Bartlett (This used to be commit ae2ea1bd0cd2b326b09b372428969f2cf52ce519)
2008-01-23Fix DRSUAPI replication test - NET-API-BECOME-DC.Andrew Bartlett1-19/+18
The main change here is to work with the current module stack, replacing only the objectGUID module, rather than a number of modules. However, two changes were key: - Fixing a typo search_req->handle -> change_req->handle - Allowing an error of NO_SUCH_OBJECT - it is quite valid for the object not to exist when being replicated in. Other small changes were required to the ejs provision to match changes in that code. Andrew Bartlett (This used to be commit 7b87a58502a052de391f4e1c56ac78a8d35b4e34)
2007-12-26r26599: Attempt to also support provisioning using Python in the BECOME-DC test.Jelmer Vernooij1-51/+160
Not tested yet as the test it is part of has been disabled because it's broken. (This used to be commit 6b1e25b702847cd6662b4aece35692b099707b74)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-3/+3
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26326: Remove more uses of global_loadparm.Jelmer Vernooij1-6/+9
(This used to be commit e1b7c1aee3043d1393c3374a1f460005e1dcbbfc)
2007-12-21r26272: Remove global_loadparm in some more places.Jelmer Vernooij1-1/+2
(This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55)
2007-12-21r26252: Specify loadparm_context explicitly when creating sessions.Jelmer Vernooij1-3/+3
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
2007-12-21r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij1-2/+2
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-2/+2
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25753: Move cn=rootdse to @ROOTDSE to avoid being caught up in schema ↵Andrew Bartlett1-2/+2
restrictions. Andrew Bartlett (This used to be commit f3390c9054244c0e4381007b36bbac9a17800570)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-12/+12
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-3/+3
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-5/+5
(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-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-2/+2
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-5/+5
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r24728: Use more stock torture functions.Jelmer Vernooij1-2/+2
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
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-10r22969: fix some more places where we could end up with more than one eventAndrew Tridgell1-1/+1
context. We now have an event context on the torture_context, and we can also get one from the cli_credentials structure (This used to be commit c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10r22756: Make it easier to setup an LDAP replica. Provision withAndrew Bartlett1-1/+1
--partitions-only (suggestions for a better name welcome) will setup the partitions records, but no any data in those partitions. This can then point at the already configured remote LDAP server. Andrew Bartlett (This used to be commit ee7b06fc832ca7c572205c7c268c3c7c552effa0)
2007-10-10r21843: the computer_dn isn't needed anymore because we don't manually reset ↵Stefan Metzmacher1-14/+1
the password anymore metze (This used to be commit fee2c6d13de8752b7e6c379cdf6a3f5fcb4a29a6)
2007-10-10r21839: add my email addressStefan Metzmacher1-1/+1
metze (This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10r21514: move away from a hardcoded "smbtorturedc"Stefan Metzmacher1-31/+67
--option="become dc:smbtorture dc=mydcname" --option="become dc:do not unjoin=yes" joins as mydcname and creates mydcname_*.ldb files under lp_private_dir() metze (This used to be commit 22bc6d541e9de2dc494cda154d6fabbc3c907da8)
2007-10-10r21504: for simo...Stefan Metzmacher1-1/+1
metze (This used to be commit f773b1dc6fc39e59a2d71d7d017a63512a95cfa8)
2007-10-10r21502: add a very useful option "become dc:donnot leave=yes"Stefan Metzmacher1-0/+5
with this you can join a domain as dc for testing:-) You still need to setup some dns entries... and add the ldap/.... servicePrincipalName's abartlet: it's wrong to include ldap/ in the list of host=, we should change this... metze (This used to be commit 12f610d747fe827ed402984fa63680b576ed7b03)
2007-10-10r21360: - put in the correct machine account password into test_secrets.ldbStefan Metzmacher1-80/+4
- don't overwrite the passwords with 'test' as we now understand the windows format for the password hashes metze (This used to be commit 252a4d67020da19de44893349bd476ec88d5b746)
2007-10-10r21296: remove the session specific encryption from the attributesStefan Metzmacher1-0/+2
before storing them. metze (This used to be commit 7146e265a441eaa46c20361178be371eb6985371)
2007-10-10r20922: use the show_deleted module by defaultStefan Metzmacher1-0/+1
metze (This used to be commit edc37501d6ecdaf7b13006b732914e21ae0be657)
2007-10-10r20907: reset krbtgt, machine and administator account passwords to "test"Stefan Metzmacher1-1/+91
(same values which are given the provision code for setup test_secrets.ldb) metze (This used to be commit 42a0304b1f903894bf6902baea47c86e64f9f60a)
2007-10-10r20872: make the password_hash module specific to the domain partitionStefan Metzmacher1-2/+1
as it's the only partition that can hold securityPrincipal objects metze (This used to be commit 72e9cc2184c3b52a4f98318e905b75a3be49df2e)
2007-10-10r20869: - mark the rootdse with isSyncronized=TRUE after a successful ↵Stefan Metzmacher1-0/+59
replication - reopen the ldb metze (This used to be commit 8e9ff529c8930ee6e1acf5cdd5208924ae1f98af)
2007-10-10r20868: load the pdc_fsmo and naming_fsmo modulesStefan Metzmacher1-2/+2
metze (This used to be commit b0e30d030e4294cbab79f4db6e6b19a2afda26cb)
2007-10-10r20807: test static password for the test_*.ldb' filesStefan Metzmacher1-0/+4
metze (This used to be commit 6790a62e4ecc765e1d8e0b503db04898aa40a1b9)
2007-10-10r20806: make it possible to configure the secrets.ldb urlStefan Metzmacher1-8/+14
via "secrets database = my_secrets.ldb" metze (This used to be commit a096a9741597105140845f59e54a76060da0010b)
2007-10-10r20775: - use the schema_fsmo module on the schema partition, which loads ↵Stefan Metzmacher1-1/+38
the schema if it's already in the ldb - reopen the ldb after applying the schema, to that we use the loaded schema when we apply the config and domain partition objects metze (This used to be commit 6d320ec19cac00059649703fc0455ba0ba3a16e6)
2007-10-10r20770: remove unused varStefan Metzmacher1-1/+0
metze (This used to be commit b311de14c1c1011ba7da2142d4067f70e2a5f176)
2007-10-10r20769: - it's wrong to add the schemaInfo blob as 2nd value to the ↵Stefan Metzmacher1-5/+1
prefixMap attribute...(was a typo) - as the schemaInfo attribute is already applied to the ldb because it's a replicated attribute we should not replace it metze (This used to be commit 56109df406a60ef27a2a3d94979d46c470e32117)
2007-10-10r20768: store the prefixMap and schemaInfo attributes on the schema head objectStefan Metzmacher1-0/+32
metze (This used to be commit ac228b3a6a8c33385ab63ab0608b3aa4b99375f5)
2007-10-10r20767: don't pass a dsdb_schema to dsdb_extended_replicated_objects_commit()Stefan Metzmacher1-14/+19
anymore it should use the dsdb_schema attached to the ldb_context via dsdb_get_schema() metze (This used to be commit efa31bbc3717fbf087ff76c4396975f131b16b92)
2007-10-10r20733: add a function to load the oid mappings from ldb_val'sStefan Metzmacher1-2/+2
metze (This used to be commit b7f681a8a144907fa8e0a6503345da7c391dd156)
2007-10-10r20715: set the dsdb_schema on the ldb_contextStefan Metzmacher1-0/+6
after we have created a temporary one metze (This used to be commit 35a88f3d39e447a0e2adbd14676d15e5a5ac9488)
2007-10-10r20709: pass a repsFromTo1 struct down as it contains all needed info for ↵Stefan Metzmacher1-44/+80
the source dsa and the highwater mark vector metze (This used to be commit a31e017e5388e5abd6ed9d09adcf26d2527954a6)