summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
AgeCommit message (Collapse)AuthorFilesLines
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-10r22810: when a test runs against domain controller use domain nameRafal Szczesniak2-18/+58
instead of target host name specified in binding string. metze: this fixes the problem with passing name resolution down the socket wrapper calls. NET tests now run against $SERVER flawlessly. rafal (This used to be commit 44eacd8654a26dbd473050705f28966ce08ccd70)
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-10r22566: add a simple test of libnet_DomainList function.Rafal Szczesniak2-3/+58
rafal (This used to be commit a1ca08b05b804021aa829c737aeb66b4e283940c)
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)
2007-10-10r20705: store the "replUpToDateVector" attribute in ↵Stefan Metzmacher1-0/+20
DSDB_EXTENDED_REPLICATED_OBJECTS metze (This used to be commit c9e7a58f6a16dfa28323fd0fd01ad6ee516c51b0)
2007-10-10r20685: apply records using dsdb_extended_replicated_objects_commit()Stefan Metzmacher1-275/+91
metze (This used to be commit 8f1fd303a78dd9df94b9a7b8b243dc20bfc7eaee)
2007-10-10r20580: pass the DSDB_CONTROL_REPLICATED_OBJECT_OID with the ldb_add requestStefan Metzmacher1-5/+38
when applying replicated objects. the samldb module ignores such requests now... and the repl_meta_data module has different functions for the replicated and originating cases... metze (This used to be commit a4d5e0126cfd6135ab829f4984269e265a868a28)
2007-10-10r20575: apply records to the test_samdb.ldb (my birthday present to myself...:-)Stefan Metzmacher1-4/+83
we need to modify some modules to only handle originating changes... metze (This used to be commit 0f387d58e69a6ee806fea02229ef8fa030f2918d)
2007-10-10r20572: - prepare a test_samdb.ldb in the NET-API-BECOME-DC torture testStefan Metzmacher1-0/+105
- we call a ejs script from the torture test for this task so that we can use the provision template ldif's. metze (This used to be commit e84b0c7d4004df312ae58ed76dd708a2c3c37986)
2007-10-10r20531: - create the rdn attribute which is an alias for the 'name' attributeStefan Metzmacher1-0/+180
because the rdn attribute isn't explicit replicated - create the whenChanged attribute out of the meta data - create the objectGUID attribute out of the guid of the DsReplicaObjectIdentifier* - create the replPropertyMetaData attribute from the meta data - dump a more verbose form of the meta data that contains the attribute names - dump linked attributes a lot if this functionality will move into the repl_meta_data ldb module in one of the next steps... metze (This used to be commit a6223a20434df1269cc87ba3b1db74473b6ff9bb)
2007-10-10r20504: we handle the attribute values always as DATA_BLOB's andStefan Metzmacher1-4/+4
don't need the union with the attribute id as switch anymore metze (This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10r20483: Sorry Volker:-)Stefan Metzmacher1-7/+7
I missed to commit this file:-( metze (This used to be commit e11885f8a78698ad479826784491548e8b695a04)
2007-10-10r20481: Fix the build -- Stefan, please look at this ;-))Volker Lendecke1-0/+6
(This used to be commit bbb3aaa41b4b025eb6536d6da3caf64db8731bdf)
2007-10-10r20456: Rename variables to avoid shadowing global function names.Andrew Bartlett2-7/+7
Andrew Bartlett (This used to be commit c353f2bb91d6cf7553325b94baae8986e85e8ee5)
2007-10-10r20438: - bail out on conversation errorsStefan Metzmacher1-4/+27
- create a valid ldb_message - dump the ldb_message if --option="become dc:dump objects=yes" is passed to smbtorture metze (This used to be commit 34e126f6590e3fc7ac1f46e09e777993ca10401d)
2007-10-10r20421: - delay the schema analysis untill the full schema is tranferredStefan Metzmacher1-65/+129
- call translation hooks for all attributes (but ignore the error for now) metze (This used to be commit c84668bf0da5a791a36f82533b6c0de99b0fe6bf)
2007-10-10r20381: verify the incoming oid mappings and schema info for the config and ↵Stefan Metzmacher1-0/+10
domain partition too metze (This used to be commit 1fab753b1da608d49bd976e01286f800c2d42965)
2007-10-10r20380: verify the incoming schema info and oid mappingsStefan Metzmacher1-0/+5
metze (This used to be commit 27193e4b3d7d43e6fee6f35094ab60ff2531a474)
2007-10-10r20327: start to analyse the schema contentStefan Metzmacher1-24/+172
metze (This used to be commit fa59f168b2c4e56c88c415110c220515a148a592)
2007-10-10r20293: implement store chunk hook for libnet_BecomeDC()Stefan Metzmacher1-0/+12
metze (This used to be commit aba497f2fdb79e4a61c028501d4d33a3f678ba73)
2007-10-10r20291: implement prepare_db hook of libnet_BecomeDC()Stefan Metzmacher1-1/+30
metze (This used to be commit 07f1075d469833e10c2f0b0d4578221c6a189b04)
2007-10-10r20285: pass more info to check_options hook and move behavior versions etc.Stefan Metzmacher1-8/+17
to the domain and forest structures metze (This used to be commit 15157bf5b94dacc868c49dbf750421eb221868ba)
2007-10-10r20283: pass in callbacks to libnet_BecomeDC() from the callerStefan Metzmacher1-0/+16
and implement the check_options call metze (This used to be commit fc9669e2a081a614599f7cdce1e031e8a8134c67)
2007-10-10r20144: add NET-API-BECOME-DC test that tests ↵Stefan Metzmacher2-5/+85
libnet_BecomeDC()/libnet_UnbecomeDC() metze (This used to be commit 0359d9a00b3e30e2bd67b89d6b11236e5af0106b)
2007-10-10r19926: display user listing created by the test.Rafal Szczesniak1-0/+8
rafal (This used to be commit a97fb96203dab5de1d04f4c0917446e1d88f0168)
2007-10-10r19925: Close the lsa handle in the end, and test calling libnet_UserListRafal Szczesniak1-7/+18
with non-zero resume index to continue longer enumeration. rafal (This used to be commit efa04d6d0b62ff3c6332db4b31622c0579428a56)
2007-10-10r19924: win2k3srv did not like that combination.Rafal Szczesniak1-1/+1
rafal (This used to be commit 11b93da847420a509dc8d30ee5998557ea506291)
2007-10-10r19923: Update test to match the function changes.Rafal Szczesniak1-2/+2
rafal (This used to be commit e1a20bba9dcc740630c093dcdd1f082e54473e95)