1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00
Commit Graph

964 Commits

Author SHA1 Message Date
4ddce8c28c Don't specify what should be a default option in the generated smb.conf
Instead, sub in "", so that the default continued to come from the code.

Andrew Bartlett
(This used to be commit b1829da8f7)
2008-03-28 10:38:12 +11:00
e15b35e389 Remove define that appears to cause configure test breakage on Julien's machine.
(This used to be commit f47df57615)
2008-03-27 22:26:37 +01:00
677dc6aa89 provision: Initialize uninitialized variables if "targetdir" is not
defined and there is no smb.conf file
(This used to be commit 19c29f4738)
2008-03-27 17:49:56 +01:00
d7299d82c3 Rework memberof handling in slapd.conf (used for OpenLDAP backend)
Instead of using an include file, put the generated configurationd
directly into slapd.conf.

Andrew Bartlett
(This used to be commit 95ac786136)
2008-03-15 19:03:04 +11:00
2fd5992038 swig: regenerate _wrap.c files
metze
(This used to be commit 08b41e1069)
2008-03-14 14:33:55 +01:00
9c7c6c7049 build: we don't rely on bash yet:-) '==' should be just '='
metze
(This used to be commit 17997dd9bc)
2008-03-13 15:56:39 +01:00
1710eca259 configure: when detecting python we should disable pyconfig.h
This fixes the detection on HP-UX where the pyconfig.h contains
bogus defines.

metze
(This used to be commit 9391f6f804)
2008-03-13 14:28:50 +01:00
0c88240236 Rework to have member server 'domains' be CN=NETBIOSNAME
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 bda6a38b05)
2008-03-13 11:36:58 +11:00
07a7c8fa0d Update the provision scripts and selftest for LDAP
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 b2d9b03ba3)
2008-03-13 09:55:06 +11:00
6f2935d082 Don't talloc_free() the UUID before we return.
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 fd99b7719b)
2008-03-13 09:53:32 +11:00
69d66e6fb0 Upgrade provision-backend to python.
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 a0754c2a85)
2008-03-13 08:08:05 +11:00
9703948850 Fix provision script to work without smb.conf location specified.
Andrew Bartlett
(This used to be commit b4da374a99)
2008-03-11 14:41:10 +11:00
a7e1fa0bef Try to fix up part of the upgrade test.
There are still problems with the upgrade test, but these are not
related to the provision system.

Andrew Bartlett
(This used to be commit d331bc400f)
2008-03-07 19:20:39 +11:00
14c5f968e1 Rework provision scripts for more testing
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 0923de1228)
2008-03-07 10:57:52 +11:00
449c0c5242 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit a6997c333c)
2008-03-07 07:38:44 +11:00
8b24d248b7 Start to rework provision for LDAP backends
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 e462a107d3)
2008-03-07 07:33:14 +11:00
7e0ef3fd0e Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).
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 1169e8d7be)
2008-03-06 21:55:26 +11:00
4d4a898742 Fix failure to re-provision.
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 272eb765b8)
2008-03-03 13:03:19 +11:00
c20cf59768 Fix member server provision
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 62536750ae)
2008-03-03 11:08:59 +11:00
21208d3303 Fix typos, avoid DEPEND_LIST from growing with empty elements.
(This used to be commit b30fd477ff)
2008-02-29 14:32:37 +01:00
09447777d0 use gmake to handle .py file copies.
(This used to be commit d54421a9ee)
2008-02-29 13:42:59 +01:00
2ba62662f8 Remove sDefault as static variable.
(This used to be commit 16f36ce499)
2008-02-28 20:04:58 +01:00
fc6bc92e11 Merge branch 'v4-0-trivial' into v4-0-test
(This used to be commit 6cbb241c05)
2008-02-28 18:27:29 +01:00
9b7baec42b Reorder modules to have rdn_name before objectclass.
This ensures the relative DN is placed in the correct case into the
DB.

Andrew Bartlett
(This used to be commit 16378219fb)
2008-02-28 08:39:45 +11:00
3101cb888d Remove uses of global_loadparm.
(This used to be commit a16c9a2129)
2008-02-25 12:51:55 +01:00
e11c61bc5c Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used by
all EJS code.
(This used to be commit 184988866f)
2008-02-21 18:21:44 +01:00
895874d966 idmap: Handle uid->SID mapping
(This used to be commit 6ac6de8476)
2008-02-21 11:21:59 +01:00
845664e94b Avoid python2.2-specific types.
(This used to be commit d45c6b5574)
2008-02-20 11:32:56 +01:00
0020793515 Fix static module list generation for ldb.
(This used to be commit 92c1c0e913)
2008-02-20 03:40:44 +01:00
ff0315ba85 Rename include to mkinclude to emphasize it is different from make's include.
(This used to be commit 0e1d0a874a)
2008-02-18 20:04:18 +01:00
602f4635da Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ'
(This used to be commit 269cbf84d8)
2008-02-18 19:06:17 +01:00
7c96ca88c4 Formatting fixes.
(This used to be commit bc0fab89e3)
2008-02-16 15:23:26 +01:00
85fe22a85f Use struct for provision parameters since there are so many of them.
(This used to be commit 4b9d5bc57c)
2008-02-15 15:14:55 +01:00
08e3f99f14 Initial work on a test for samba.tests.samdb
(This used to be commit 8b33860954)
2008-02-13 02:18:45 +01:00
b4ce9dc360 Fix invalid symbol.
(This used to be commit bd0ef811c4)
2008-02-13 01:21:06 +01:00
04aef38453 Fix subunit runner exit codes.
(This used to be commit 7911308dbc)
2008-02-12 22:10:25 +01:00
fdd75e135a Correctly increment counters in Subunit test runner.
(This used to be commit c474a2bb83)
2008-02-12 21:59:23 +01:00
08c8d3b992 Remove Samba 3 backwards compatibility code in C.
This code is no longer used, and equivalent code already exists in Python
(scripting/python/samba/samba3.py)
(This used to be commit c16212e8bf)
2008-02-11 13:51:09 +01:00
af007e5837 Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.
(This used to be commit eb04de69c0)
2008-02-11 13:20:24 +01:00
e4165448d7 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
(This used to be commit 35f5c8294e)
2008-02-11 13:10:11 +01:00
176f32cc97 provision: Fix new user creation.
Spotted by nobody88 in IRC.
(This used to be commit 38d4e2407a)
2008-02-11 10:38:19 +01:00
cac225ba7d More syntax fixes, use more standard python functions.
(This used to be commit ea07509b4a)
2008-02-10 00:56:55 +01:00
f75d624129 Start working on python conversion of minschema.
(This used to be commit 239a161664)
2008-02-10 00:21:41 +01:00
2cf29aebff Add tests for upgrade of WINS database.
(This used to be commit 7777611c0f)
2008-02-09 22:29:42 +01:00
63aa4b9021 Remove unused define.
(This used to be commit 64d6d72913)
2008-02-09 20:47:12 +01:00
1342b265ca Fix typo.
(This used to be commit 80dbf04266)
2008-02-09 20:09:58 +01:00
ec106a1421 Merge branch 'v4-0-trivial' into v4-0-python
(This used to be commit b874f07175)
2008-02-09 20:06:54 +01:00
cf287aa831 Add docstring.
(This used to be commit 073ed0dd1c)
2008-02-09 17:42:31 +01:00
2fa4c15858 Fix syntax of docstrings, set project name when generating Python API documentation.
(This used to be commit 68f13d87eb)
2008-02-09 17:37:42 +01:00
c61dc38494 Re-enable python support in BECOME-DC test.
(This used to be commit ed44fd59bf)
2008-02-09 15:42:19 +01:00