summaryrefslogtreecommitdiff
path: root/source4/setup
AgeCommit message (Collapse)AuthorFilesLines
2008-03-13Rework to have member server 'domains' be CN=NETBIOSNAMEAndrew Bartlett2-2/+39
This reworks quite a few parts of our provision system to use CN=NETBIOSNAME as the domain for member servers. This makes it clear that these domains are not in the DNS structure, while complying with our own schema (found by OpenLDAP's schema validation). Andrew Bartlett (This used to be commit bda6a38b055fed2394e65cdc0b308a1442116402)
2008-03-13Update the provision scripts and selftest for LDAPAndrew Bartlett1-3/+3
This should allow us to provision onto an OpenLDAP backend again. Also ensure we always have a sysvol and netlogon share in the selftest environment. Andrew Bartlett (This used to be commit b2d9b03ba3434e76d4d476233a198728523d17f9)
2008-03-13Upgrade provision-backend to python.Andrew Bartlett2-189/+286
This required a large rework of the provision code, so as to move much of the 'guess' logic into subprocedures, rather than just inline in the provision code. Andrew Bartlett (This used to be commit a0754c2a857217ca831c2295b17255d8f38dfbc2)
2008-03-11Fix provision script to work without smb.conf location specified.Andrew Bartlett1-1/+2
Andrew Bartlett (This used to be commit b4da374a998caac18c288a0a6e3fcd2c50cbffa7)
2008-03-11Extend testsuite to cover specifying a domain SID.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit edb7af0685983543c321e3d8b90f6ae07af2e4e3)
2008-03-07accountExpires: Windows default is 9223372036854775807, not -1.Andrew Kroeger2-3/+3
(This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)
2008-03-07Try to fix up part of the upgrade test.Andrew Bartlett1-10/+2
There are still problems with the upgrade test, but these are not related to the provision system. Andrew Bartlett (This used to be commit d331bc400fb138bc43be88d0ca8ab3bcd590d2cd)
2008-03-07Rework provision scripts for more testingAndrew Bartlett5-15/+22
This fixes up some issues with testdir (was not honoured) and increases test coverage. We now check all the major provision modes. In doing so, to make it possible to call from the multiple layers of 'sh', I have allowed 'dc' to alias 'domain controller' and 'member' to alias 'member server'. Fighting shell quoting in the test system was just too hard... Also fix upgrade.py Andrew Bartlett (This used to be commit 0923de12282b0e063dd73bc3e056dd5c3663c190)
2008-03-06Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).Andrew Bartlett4-21/+11
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-03-04Don't hardcode objectCategory into the schema, even in the schema.Andrew Bartlett1-545/+0
We now load the schema early enough that we can generate this too! Andrew Bartlett (This used to be commit 1adc74c65a3219fc110964ccdf9a9d60a84831da)
2008-02-28Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett1-15/+24
(This used to be commit ba864cfd7ce4b69179431131cac9661cbf48bf32)
2008-02-28Users and computers now share the same template.Andrew Bartlett3-47/+1
Slowly work away at the samldb module again, it is clear that AD does not use much of a templating system. samAccountType is managed, as far as I can tell, when groupType or userAccountControl changes. Andrew Bartlett (This used to be commit 447d5a795441aa6beab2f057c5ac1bc3c04e08c4)
2008-02-27Fix cases, add version number. (#4935)Matthias Dieter Wallnöfer1-15/+24
(This used to be commit d2eb404ba1711abf6bb2718f8bb1dbbd104e7d4d)
2008-02-21idmap: Handle uid->SID mappingKai Blin1-0/+5
(This used to be commit 6ac6de8476ba036eb041e054bc37e4503dc2fde8)
2008-02-21Make setup/provision the name of the python provision script now that that ↵Jelmer Vernooij4-371/+371
is the default. (This used to be commit a0a05c5a3d614d0f2936ecfcab5273a2ef7d61a8)
2008-02-21Be consistant about --ldap-backend-typeAndrew Bartlett1-6/+10
Make the EJS provision and the selftest scripts both use the new syntax for speicifying the ldap backend type. Andrew Bartlett (This used to be commit b1d2584277304be3f2a640465cbf6b2a3ec571cc)
2008-02-13Add python version of newuser.py.Jelmer Vernooij1-0/+61
(This used to be commit f70aef8e51e1a2f186fe71edaa4c81a39b837573)
2008-02-12Add blackbox test for provisioning code to make sure it can be run more than ↵Jelmer Vernooij1-0/+39
once in a row. (This used to be commit 42466d960c86b692ef5e03c045ba24591c5c6f84)
2008-02-09Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij2-1/+284
(This used to be commit d4fb8b0d8644cddfa39655fac87a96edc71b2a73)
2008-02-09Fix provision python test.Jelmer Vernooij2-7/+3
(This used to be commit b173fa6bd2b24b5a3e7b4fbcb926f6c9771c10ba)
2008-02-09From a request from Peter Huang, include IPsec sechema.Andrew Bartlett2-1/+284
(We may need to include more defaults in the template, but I want to start small for now). Andrew Bartlett (This used to be commit a466dda118f785bf784548106637577a5e25a30e)
2008-02-08Remove unused parameter from provision()Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit c8b0a8a196d8d187a86aef497953d0105436aff8)
2008-01-25python/provision: Create private dir if it didn't exist yet.Jelmer Vernooij1-6/+8
(This used to be commit 66df250ff355d3c1b7f0252fc1f95a8c79a28c6d)
2008-01-25python/provision: Reconcile code partitions-only provisioning and generic ↵Jelmer Vernooij1-42/+41
provisioning, some other minor refactoring of the provisioning. Pair-programmed by Andrew and me using obby :-) (This used to be commit 688adcbb635af87fcfedb869b7f1857a947fd2f9)
2008-01-24Make the repl_meta_data module the default for domain controllers.Andrew Bartlett2-7/+7
Andrew Bartlett (This used to be commit ae2ea1bd0cd2b326b09b372428969f2cf52ce519)
2008-01-24Kill another sub that the modules will handle for us.Andrew Bartlett2-4/+0
(This used to be commit e9bb130d63e86fafc4cbf379e2e237354b88bcf8)
2008-01-24Remove useless subs from the ejs provisionAndrew Bartlett1-6/+0
The less things we manually place into the templates, the easier the conversion to python will be. Andrew Bartlett (This used to be commit f65e5c164476b80468aa19452b108db17c642f8b)
2008-01-23python: Add convenience function for getting command line loadparm contextJelmer Vernooij3-14/+11
and default to using system smb.conf. (This used to be commit b3afde0f00ab5093b577b139a062c233d4db2524)
2008-01-18Remove default 'showInAdvancedViewOnly' values.Andrew Bartlett8-57/+4
This means we only show and set the values when they are not the values the schema and objectclass module would impose. Andrew Bartlett (This used to be commit c2f2e01357c1b087aa1261fb2cac8687426d5a78)
2008-01-18Don't set 'name' in the LDIF, this is handled by the rdn_name module.Andrew Bartlett1-7/+0
Andrew Bartlett (This used to be commit e9003feb1b9eb3d5b82e82910b63306e5ecc2908)
2008-01-18Don't manually specify instanceID in the template files.Andrew Bartlett10-43/+0
The instanceid module creates this automaticlly, so we don't need this any more. Andrew Bartlett (This used to be commit f6dbdf34e8a790f460b705100e45ee3928b6b1b3)
2008-01-18Use syncrepl on all OpenLDAP databases (creates contextCSN attribute)Andrew Bartlett1-0/+12
This module needs to be loaded on each database, not just the main partition. We use it to create the usn for the entries. Andrew Bartlett (This used to be commit ffb12aad8a80bb90d66dc66baba81b856622a6bb)
2008-01-18Remove --ldap-base from the python provision scriptAndrew Bartlett1-8/+2
(This is a merge from the ejs script) Andrew Bartlett (This used to be commit d822dfa017b84895222ace8c44935fb872930548)
2008-01-17provision: simplfy by removing old code to manually create baseDNs.Andrew Bartlett5-11/+3
Previously, we would create the first record in the DB as an LDIF file, with the expectation that the administrator would use slapadd to create the database. We now do everything over LDAP, which is far simpler, and allows the LDB module chain to do its work, without special cases. Also fix naming of the output schema when suggesting the comamnd line to run ad2oLschema in provision-backend. Andrew Bartlett (This used to be commit e77375758d66e94e5e0b6e61a97c9281c3d9c71f)
2008-01-17OpenLDAP backend: Place the refint overlay after the memberof overlayAndrew Bartlett1-2/+3
This still doesn't work for me, but is the recommended order. Andrew Bartlett (This used to be commit 4c869c54c2b8125fc88e58bbfddf1975476978a5)
2008-01-16Start generating a configuration for the refint overlay. ThisAndrew Bartlett1-0/+7
OpenLDAP module should ensure that after a subtree rename, attributes are still consistant. Andrew Bartlett (This used to be commit f7f765c29b1aca1179a47bdd8712917c3f244f15)
2008-01-11Add in new module to normalise DNs being returned from OpenLDAP. ThisAndrew Bartlett1-2/+2
fixes the case of the attribute in teh DN. Fix option spelling for example re-provision Andrew Bartlett (This used to be commit e3a76be04760a81a9c1b7ad9b139f088decc9ee6)
2008-01-11Make Samba4 and Fedora DS happierAndrew Bartlett3-0/+24
Recent changes to Samba4 have made the Fedora DS backend fail. This is a start on fixing that. Andrew Bartlett (This used to be commit 48dc07902ffb792532ff216e507e53103d448b7b)
2008-01-07r26691: registry: Add subkeys required for Server Manager Alerts and ↵Jelmer Vernooij1-0/+9
Peplication. See bugs 4934 and 4935. (This used to be commit fdd2ba336b4cf742f6e59253beab5dd226a87a85)
2008-01-06r26686: Fix bug 5143 by Jason Tarbet. This prevented an easy cut-and-paste ofAndrew Bartlett1-1/+1
the provision options used. Andrew Bartlett (This used to be commit 51cd93344dfeb3556fada523e38bbcd7e51fbbe1)
2007-12-31r26636: Remove useless 'backend' parameter, and make the memberof overlay ↵Andrew Bartlett1-3/+2
use global. Andrew Bartlett (This used to be commit 3b6f461e9a1b0fee7a589b8d171f4fcec6340ca4)
2007-12-31r26635: The OpenLDAP folks have been very accommodating, and their memberof ↵Andrew Bartlett1-0/+1
plugin allows the error being returned to be adjusted. Andrew Bartlett (This used to be commit f2731fddf07dfda5d69ad19851dab8f82b05f1a5)
2007-12-28r26622: python: Update license version, clarify copyright.Jelmer Vernooij1-1/+3
(This used to be commit 3ee62094074d74b6c69948730f2892f0a430f40b)
2007-12-28r26621: vampire: Add simple Python-based vampire scriptJelmer Vernooij1-0/+54
(This used to be commit 46580d51d3e40ef83754fceefa392fe1df38e37d)
2007-12-26r26610: Write out a memberof.conf, to run the memberof plugin on all linkedAndrew Bartlett2-0/+35
attributes, as found in the schema. Index 'cn', as otherwise exact match searches on this attribute always fail (need to figure out what is so special about cn in OpenLDAP). Andrew Bartlett (This used to be commit 5a4a2d10bc5729d4adac4b173b0dc05e2e076c32)
2007-12-26r26598: Simplify the way Python tests are run.Jelmer Vernooij2-0/+4
(This used to be commit d649f73431fc993e31522e7fc8e1e35e0a4421d8)
2007-12-26r26596: Fixed upgrade.py.Jelmer Vernooij2-18/+23
Added blackbox tests for provision and upgrade Python scripts. Clean up temporary files created by the Python tests. (This used to be commit 2227fb6df62240cae64d27a1920d878316f819fc)
2007-12-26r26593: - More work on the python versions of samba3dump and the samba3sam ↵Jelmer Vernooij2-144/+32
tests. - Initial work converting the upgrade code to Python. - Removed the old EJS upgrade code because it has been broken for a long time. (This used to be commit 150cf39fbd4fe088546870fb0d8f20c0d9eb4aca)
2007-12-24r26562: Fix provisioning using Python.Jelmer Vernooij1-1/+1
(This used to be commit b07ca944ba62a3f3de58c06b66533c0953a32de9)
2007-12-21r26535: Get rid of all-knowing ProvisionSettings object.Jelmer Vernooij1-20/+16
(This used to be commit 40bf88c8a70e8379a6081cb6050034bcd7ae56eb)