summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
* Rework memberof handling in slapd.conf (used for OpenLDAP backend)Andrew Bartlett2008-03-151-22/+19
| | | | | | | | Instead of using an include file, put the generated configurationd directly into slapd.conf. Andrew Bartlett (This used to be commit 95ac786136aebfe5ededeb3fb81cbd4e296e3988)
* swig: regenerate _wrap.c filesStefan Metzmacher2008-03-141-1/+1
| | | | | metze (This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
* build: we don't rely on bash yet:-) '==' should be just '='Stefan Metzmacher2008-03-131-1/+1
| | | | | metze (This used to be commit 17997dd9bcd385fcf27646d832ad824cc2a0800a)
* configure: when detecting python we should disable pyconfig.hStefan Metzmacher2008-03-131-0/+2
| | | | | | | | This fixes the detection on HP-UX where the pyconfig.h contains bogus defines. metze (This used to be commit 9391f6f80461be2b214a881782aecf7df8a4aba3)
* Rework to have member server 'domains' be CN=NETBIOSNAMEAndrew Bartlett2008-03-131-0/+6
| | | | | | | | | | | | 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)
* Update the provision scripts and selftest for LDAPAndrew Bartlett2008-03-131-5/+7
| | | | | | | | | | 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)
* Don't talloc_free() the UUID before we return.Andrew Bartlett2008-03-131-1/+4
| | | | | | | | This error caused us to put a 0x80 byte at the end of GUID, which was only detected by OpenLDAP's schema checking. Andrew Bartlett (This used to be commit fd99b7719bcb503e2695b2cbad0230fa23a094ca)
* Upgrade provision-backend to python.Andrew Bartlett2008-03-131-210/+411
| | | | | | | | | 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)
* Fix provision script to work without smb.conf location specified.Andrew Bartlett2008-03-111-2/+3
| | | | | Andrew Bartlett (This used to be commit b4da374a998caac18c288a0a6e3fcd2c50cbffa7)
* Try to fix up part of the upgrade test.Andrew Bartlett2008-03-072-12/+21
| | | | | | | | 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)
* Rework provision scripts for more testingAndrew Bartlett2008-03-072-17/+17
| | | | | | | | | | | | | | | 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)
* Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett2008-03-071-76/+138
|\ | | | | | | (This used to be commit a6997c333cdd68dfba8a069df448836ff487787f)
| * Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).Andrew Bartlett2008-03-061-76/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Start to rework provision for LDAP backendsAndrew Bartlett2008-03-072-2/+16
|/ | | | | | | | | | This is the start of the rework of the provision script to handle an LDAP backend correctly. For example, we must not set the 'tdb modules' against an LDAP backend such as OpenLDAP that handles subtree renames. Andrew Bartlett (This used to be commit e462a107d3bafcc546ca4d53dcc8eb32e4280745)
* Fix failure to re-provision.Andrew Bartlett2008-03-032-9/+21
| | | | | | | | | Somewhere in the conversion from ejs we lost calling the 'delete partitions' code. However, we have to be careful not to wipe partitions when we are the second client connecting to an LDAP server. Andrew Bartlett (This used to be commit 272eb765b81e3eab216a07249334f9b7d20e530b)
* Fix member server provisionDouglas VanLeuven2008-03-031-1/+1
| | | | | | | Can't add "member server" because the script aborts with null reference when no match on serverrole. This is fixed by checking for the keyword "member server". (This used to be commit 62536750ae06248a49c6b56c86d01b0062bb54f0)
* Fix typos, avoid DEPEND_LIST from growing with empty elements.Jelmer Vernooij2008-02-291-2/+1
| | | | (This used to be commit b30fd477ff0d97bb4de3c5301a6cdc47867451ee)
* use gmake to handle .py file copies.Jelmer Vernooij2008-02-291-0/+4
| | | | (This used to be commit d54421a9eeadbd76791917c5e3c460c897259ede)
* Remove sDefault as static variable.Jelmer Vernooij2008-02-281-1/+1
| | | | (This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
* Merge branch 'v4-0-trivial' into v4-0-testJelmer Vernooij2008-02-2812-37/+37
|\ | | | | | | (This used to be commit 6cbb241c05539cc62526a366094c9c472e6422a5)
| * Remove uses of global_loadparm.Jelmer Vernooij2008-02-251-1/+1
| | | | | | | | (This used to be commit a16c9a2129ce92e7e1a613b2badd168e42ead436)
| * Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used byJelmer Vernooij2008-02-2112-36/+36
| | | | | | | | | | all EJS code. (This used to be commit 184988866fe8e740f58e3683eefcaa70f8b51d11)
* | Reorder modules to have rdn_name before objectclass.Andrew Bartlett2008-02-281-1/+1
|/ | | | | | | | This ensures the relative DN is placed in the correct case into the DB. Andrew Bartlett (This used to be commit 16378219fbf9e8a26621f848e85426180822ea29)
* idmap: Handle uid->SID mappingKai Blin2008-02-212-0/+28
| | | | (This used to be commit 6ac6de8476ba036eb041e054bc37e4503dc2fde8)
* Avoid python2.2-specific types.Jelmer Vernooij2008-02-201-1/+1
| | | | (This used to be commit d45c6b5574ea732d25e9180c83f1fa807ebe57ba)
* Fix static module list generation for ldb.Jelmer Vernooij2008-02-201-2/+0
| | | | (This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
* Rename include to mkinclude to emphasize it is different from make's include.Jelmer Vernooij2008-02-181-1/+1
| | | | (This used to be commit 0e1d0a874ae3d22b8f97a79b81fe0af3ef53a771)
* Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'Jelmer Vernooij2008-02-181-10/+10
| | | | (This used to be commit 269cbf84d8b7dbf3bc88adc04ae283dc908af5ac)
* Formatting fixes.Jelmer Vernooij2008-02-161-2/+3
| | | | (This used to be commit bc0fab89e325ebb6ab870b1c3f4b263c50631b70)
* Use struct for provision parameters since there are so many of them.Jelmer Vernooij2008-02-151-18/+22
| | | | (This used to be commit 4b9d5bc57ca4ee14c142ea720dce5e4ee97f8c16)
* Initial work on a test for samba.tests.samdbJelmer Vernooij2008-02-132-1/+57
| | | | (This used to be commit 8b33860954ca03be1ea45fd8d40963dbbd5b162f)
* Fix invalid symbol.Jelmer Vernooij2008-02-131-3/+5
| | | | (This used to be commit bd0ef811c4e6419ba05076fbc151827cea5d1ca1)
* Fix subunit runner exit codes.Jelmer Vernooij2008-02-122-2/+4
| | | | (This used to be commit 7911308dbc1233838e44c533302f77b03ea41148)
* Correctly increment counters in Subunit test runner.Jelmer Vernooij2008-02-122-4/+5
| | | | (This used to be commit c474a2bb83a3e28a0b83f3b8ca1b646742dfca3d)
* Remove Samba 3 backwards compatibility code in C.Jelmer Vernooij2008-02-112-508/+0
| | | | | | This code is no longer used, and equivalent code already exists in Python (scripting/python/samba/samba3.py) (This used to be commit c16212e8bf5343496ea4b3afc30a8b4d3a0afe2d)
* Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.Jelmer Vernooij2008-02-115-8/+13
| | | | (This used to be commit eb04de69c0e319e18b148191946808f81e1cc8c4)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pythonJelmer Vernooij2008-02-111-2/+2
|\ | | | | | | (This used to be commit 35f5c8294e9f3b304987597d4bcfc75fdda05982)
| * provision: Fix new user creation.Kai Blin2008-02-111-2/+2
| | | | | | | | | | Spotted by nobody88 in IRC. (This used to be commit 38d4e2407afb942de21379dc886f9e4c5532a2b9)
| * Fix typo.Jelmer Vernooij2008-02-091-1/+1
| | | | | | | | (This used to be commit 80dbf04266d15833f7eb18704cfece1f95965e83)
* | More syntax fixes, use more standard python functions.Jelmer Vernooij2008-02-101-328/+247
| | | | | | | | (This used to be commit ea07509b4a9335a3b3fe6f6da1124fd1aab33c96)
* | Start working on python conversion of minschema.Jelmer Vernooij2008-02-101-0/+660
| | | | | | | | (This used to be commit 239a1616644321e2d1e64985ea3f3c4971997228)
* | Add tests for upgrade of WINS database.Jelmer Vernooij2008-02-092-3/+20
| | | | | | | | (This used to be commit 7777611c0f32a693f0fa057c130e4ea491658f6b)
* | Remove unused define.Jelmer Vernooij2008-02-091-1/+0
| | | | | | | | (This used to be commit 64d6d729135e1b3b19c9bdbbe973fcdaca15e8b3)
* | Merge branch 'v4-0-trivial' into v4-0-pythonJelmer Vernooij2008-02-0918-258/+576
|\| | | | | | | (This used to be commit b874f07175ae38a041f53f0e4ac6a4050dcefeae)
| * Add docstring.Jelmer Vernooij2008-02-091-0/+2
| | | | | | | | (This used to be commit 073ed0dd1cc8fae9eb4a2f7ff6763124917c56e8)
| * Fix syntax of docstrings, set project name when generating Python API ↵Jelmer Vernooij2008-02-093-6/+4
| | | | | | | | | | | | documentation. (This used to be commit 68f13d87eb034fdbc712169f2d1b1a0475751ec5)
| * Re-enable python support in BECOME-DC test.Jelmer Vernooij2008-02-091-1/+1
| | | | | | | | (This used to be commit ed44fd59bfa289bcef82e0650ccda381efb52268)
| * Fix upgrade after provision parameter rename.Jelmer Vernooij2008-02-091-2/+2
| | | | | | | | (This used to be commit 361b9f43fb2abb64f2cbae7740b89a616a3c2646)
| * Fix provision python test.Jelmer Vernooij2008-02-091-15/+9
| | | | | | | | (This used to be commit b173fa6bd2b24b5a3e7b4fbcb926f6c9771c10ba)
| * Add tests for findnss(), add some docstrings.Jelmer Vernooij2008-02-092-14/+48
| | | | | | | | (This used to be commit 4eec2bbc9a139e927ce21c615ebfbb3026b26384)