summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_BecomeDC.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-07-16drsuapi: print out the number of linked attribute values we gotStefan Metzmacher1-16/+27
metze (This used to be commit 34f8b2abdd546f6b60ddae2ad839119f211c995c)
2008-07-16drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]Stefan Metzmacher1-1/+1
metze (This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
2008-07-16drsuapi: total_object_count was the wrong guessStefan Metzmacher1-13/+10
The total_object_count member of DsGetNCChangesCtr[1|6] was wrong it's the error code of an extended operation. DsGetNCChangesCtr6 has a nc_object_count value which contains the estimated amount of objects in the naming_context. W2k seems to have a bug and sends this number of objects in the extended_ret field. Maybe it's just a bug and not a feature:-) metze (This used to be commit 67931092128ce89aadf689a54e20d6e4a9d7fe2c)
2008-07-16NET-API-BECOME-DC: fix crash bugs because of unintialized variablesStefan Metzmacher1-1/+4
metze (This used to be commit 6acf42c2e41bb1d44c1fcaaaa58fc3f148491836)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-2/+2
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-2/+2
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-11Reuse the lp_ctx and samdb returned by the python provision.Andrew Bartlett1-36/+2
Apply the same fix as in libnet_vampire in the old DRS test code. Andrew Bartlett (This used to be commit 34adb0e0bb1b3c340d7098e7a3d12f73f798d0e7)
2008-04-11Fix merge errors on C provision interface after jelmer's good work.Andrew Bartlett1-1/+2
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet Conflicts: source/torture/local/torture.c (This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
2008-04-10Fix extra argument to provision_bare().Jelmer Vernooij1-1/+2
(This used to be commit 623f64a1a782086728a325e21e3dfb40c64871b7)
2008-04-09Remove dns_name elementAndrew Bartlett1-1/+0
This is only used in the DEBUG() message, so let's remove it. Andrew Bartlett (This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
2008-04-09Move provision C bindings to param/.Jelmer Vernooij1-0/+1
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)
2008-04-04Pass discovered server DN down to provision.Andrew Bartlett1-0/+1
This uses the new 'serverdn' argument added to provision in the previous commit. Andrew Bartlett (This used to be commit 74480c7de76069701246eb5b7acc5858b84d106c)
2008-03-06Fix typoAndrew Bartlett1-1/+1
(This used to be commit e66be2f519584717abd7fc1f069bf7afe0d7ff60)
2008-03-06Ensure we get this option from the command line, not the internalAndrew Bartlett1-1/+2
smb.conf we generate. Andrew Bartlett (This used to be commit 25887c87285b1b92ce5d7cc096da483c25a2fe6c)
2008-03-06Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).Andrew Bartlett1-46/+67
To make Samba4, using the python provision system, pass this test required some major rework. Untested code is broken code, and some of the refactoring for a seperate provision test (which also now passes) broke things. Similarly, the iconv work has compiled, but these codepaths have never been run (NULL pointer de-reference). In working to use a local, rather than global, loadparm context, and to support using a target directory, a few things needed to be reworked, particularly around path handling. Andrew Bartlett (This used to be commit 1169e8d7bee20477b0efbfea3534ac63c83fb3d6)
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)