1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1225 Commits

Author SHA1 Message Date
Jelmer Vernooij
e9017ba418 Use _OBJ_FILES variables in a couple more places.
(This used to be commit 92856d5054)
2008-04-14 17:22:58 +02:00
Andrew Bartlett
5a73810e12 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 79854f0aa6)
2008-04-14 15:26:26 +02:00
Jelmer Vernooij
f800cf250f Move standard make compilation rules to build/make.
(This used to be commit ceda3312a9)
2008-04-14 14:51:57 +02:00
Andrew Bartlett
a96bba21fa Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 92751a73cd)
2008-04-14 13:49:47 +02:00
Jelmer Vernooij
f78bc8c489 Remove prototypes from build.h in preparation of removing build.h
altogether.
(This used to be commit dbeab2a9cd)
2008-04-14 11:54:50 +02:00
Andrew Bartlett
ca78fa8cae Re-run SWIG
(This used to be commit 2f80105826)
2008-04-14 11:53:28 +02:00
Andrew Bartlett
5a37b3fc5d Fix newuser and setpassword scripts, and port to idmap.
The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database.  Users without a
backing unix user will get an allocated uid by idmap later.

Andrew Bartlett
(This used to be commit 8bd8bc1475)
2008-04-14 11:51:02 +02:00
Andrew Bartlett
434e625e45 Add in a way to get at the private_path() function from python
Andrew Bartlett
(This used to be commit 416d2e3a52)
2008-04-14 11:48:43 +02:00
Andrew Bartlett
e44f0e7b75 Don't reopen the sam.ldb again
Andrew Bartlett
(This used to be commit b51b8a2d84)
2008-04-11 19:33:52 +10:00
Andrew Bartlett
393007315d Far less cryptic traceback when you have an existing smb.conf
When the user has an existing smb.conf, but no [netlogon] or [sysvol]
share, the provision script would trigger a traceback.  While we still
need to abort in this situation, we do so now with a useful error.

Andrew Bartlett
(This used to be commit 10a8b7ea48)
2008-04-11 19:04:43 +10:00
Andrew Bartlett
ae977ef247 Fix merge errors on C provision interface after jelmer's good work.
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 5bf1c89cf8)
2008-04-11 11:11:42 +10:00
Jelmer Vernooij
ad8e3e4192 Add infrastructure for returning ProvisionResult in C provision code.
(This used to be commit 98c3d34eb2)
2008-04-10 05:23:17 +02:00
Jelmer Vernooij
12840597c8 No longer install unused smbscript binary.
(This used to be commit ca0e373e57)
2008-04-09 17:43:37 +02:00
Andrew Bartlett
b202b6e7d4 Fix up provision to specify SERVERDN in more places.
Andrew Bartlett
(This used to be commit d01d542502)
2008-04-09 15:32:49 +10:00
Andrew Bartlett
9d2948f4bd Don't fill in the secrets DB unless we make the entries.
Leave filling in (we still initialise it) the secrets DB for the join
or vampire code.

Andrew Bartlett
(This used to be commit c93208c13c)
2008-04-09 14:57:57 +10:00
Jelmer Vernooij
ac10ac62c1 Add docstring, PEP8.
(This used to be commit f8cac3735c)
2008-04-09 03:51:41 +02:00
Jelmer Vernooij
ad823b04da Remove length arguments, add tests for unixinfo.GidToSid and unixinfo.UidToSid.
(This used to be commit cae61e32e5)
2008-04-08 14:58:38 +02:00
Jelmer Vernooij
dcc44f1757 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into pidldocs
(This used to be commit c8dbf00b44)
2008-04-08 13:32:38 +02:00
Andrew Bartlett
0e59c73fe3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit c0416a0b73)
2008-04-08 17:31:36 +10:00
Andrew Bartlett
b2805c50ee Re-add support for the --ldap-backend-port option to provision-backend
This option allows Fedora DS multi-master replication to work.  I've
tried to update the wiki and scripts to the largely consistant with
each other.

Andrew Bartlett
(This used to be commit 42393c8307)
2008-04-08 17:28:25 +10:00
Jelmer Vernooij
8db14bf26b Add manually written Python binding for libnet_Join.
(This used to be commit 374654b43d)
2008-04-08 05:16:07 +02:00
Jelmer Vernooij
b5d84a74d1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/auth/credentials/config.mk
	source/auth/gensec/config.mk
	source/build/smb_build/makefile.pm
	source/heimdal_build/config.mk
	source/lib/events/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/registry/config.mk
	source/lib/socket_wrapper/config.mk
	source/lib/tdb/config.mk
	source/lib/tls/config.mk
	source/lib/util/config.mk
	source/libcli/config.mk
	source/libcli/ldap/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/scripting/ejs/config.mk
	source/smbd/process_model.mk
(This used to be commit 760378e029)
2008-04-08 03:45:06 +02:00
Jelmer Vernooij
1f474f4a54 Add trivial test for unixinfo interface.
(This used to be commit b6b7171f70)
2008-04-08 03:29:12 +02:00
Jelmer Vernooij
5cf6c42658 Add python bindings for drsuapi.
(This used to be commit ba3f0312f0)
2008-04-08 03:23:53 +02:00
Jelmer Vernooij
f253c3ad91 Add python bindings for unixinfo.
(This used to be commit 068c2f858a)
2008-04-08 03:18:43 +02:00
Jelmer Vernooij
57bf8d2e33 Add Python bindings for DFS.
(This used to be commit 4319971ccb)
2008-04-08 02:48:54 +02:00
Jelmer Vernooij
7c7880695b More PEP8 compliancy.
(This used to be commit d16b30d005)
2008-04-06 00:40:01 +02:00
Jelmer Vernooij
3e97aa73c2 Simplify some code, fix style.
(This used to be commit 1c983e4e4d)
2008-04-05 16:32:28 +02:00
Jelmer Vernooij
14e443b868 Improve PEP8 (Python code style) compliancy a bit.
(This used to be commit c7d388a6e2)
2008-04-05 16:13:42 +02:00
Andrew Bartlett
c764791100 Clean up provision and rootdse module to hard-code less stuff.
In particular, allow for the server DN to be in a different site
(possible outcome of a DRS replication).

Andrew Bartlett
(This used to be commit 9ee4e39fe1)
2008-04-04 12:25:19 +11:00
Kai Blin
c26387a473 provision: Remove backup group mapping
Some distros seem to neither have a backup nor a staff group.
(This used to be commit 21fcf7c419)
2008-04-03 00:01:34 +02:00
Kai Blin
8ac91d9132 provision: Set up id mappings in the idmap db, only map Administrator.
(This used to be commit 206b7d387c)
2008-04-02 23:07:53 +02:00
Jelmer Vernooij
b17484a70f Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchange
(This used to be commit 8c3591d98f)
2008-04-02 14:33:56 +02:00
Jelmer Vernooij
afe3e8172d Install public header files again and include required prototypes.
(This used to be commit 47ffbbf674)
2008-04-02 04:53:27 +02:00
Andrew Bartlett
4ccb384327 Fix merge of my host GUID removal and the IPv6 addition to provision
Merge branch 'v4-0-ipv6' of git://git.id10ts.net/samba into 4-0-abartlet

Andrew Bartlett
(This used to be commit d3336684f0)
2008-04-02 12:03:03 +11:00
Andrew Kroeger
3c0c6acc59 provision: Add support for IPv6 (bz #4593).
(This used to be commit 8585a3c77d)
2008-04-01 19:51:24 -05:00
Andrew Bartlett
2ab6dd9ea5 Remove references to setting the host GUID, as the repl_meta_data
module prohibits it anyway.

Andrew Bartlett
(This used to be commit c5b287c056)
2008-04-02 11:38:58 +11:00
Jelmer Vernooij
f41b9a9dde Rename libsamba-config to libsamba-hostconfig.
(This used to be commit c46b7e90e3)
2008-04-01 15:08:30 +02:00
Andrew Bartlett
238a1a52f1 Rework 'compleated' message in provision to be more useful.
In particular, this should draw attention to accidential 'standalone'
server provisions and therefore cause less frustration.

Andrew Bartlett
(This used to be commit e906ae041a)
2008-03-29 17:17:56 +11:00
Andrew Bartlett
142fbfb3c1 Fix and test python scripts and kerberos
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
(This used to be commit 727ef40c2b)
2008-03-28 21:57:15 +11:00
Andrew Kroeger
8f8c56bfbc Convert some more files to GPLv3.
(This used to be commit ebe5e83994)
2008-03-28 01:08:49 -05:00
Jelmer Vernooij
237f1cca02 Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-gmake3
(This used to be commit 71110c8e7d)
2008-03-28 01:00:13 +01:00
Jelmer Vernooij
90f76ae99b Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit 4e0b94d648)
2008-03-28 00:59:54 +01:00
Jelmer Vernooij
18d80bdf1f Merge v4.0-test
(This used to be commit 977dbdeaf3)
2008-03-28 00:44:14 +01:00
Andrew Bartlett
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
Andrew Kroeger
b2c6ba69a4 provision: Increase max NetBIOS name length from 13 to 15.
Issue originally reported by user Julsa-FR on IRC.
(This used to be commit ee9ad77009)
2008-03-27 16:30:18 -05:00
Jelmer Vernooij
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
Kai Blin
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
Andrew Bartlett
786deaf928 Make the setup/newuser and setup/setpassword scripts actually work...
These need a testsuite, but this will come soon.

Andrew Bartlett
(This used to be commit fbcaa622bd)
2008-03-28 12:08:54 +11:00
Jelmer Vernooij
0cffe98049 Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test
(This used to be commit b6c61bee64)
2008-03-28 01:00:48 +01:00
Andrew Bartlett
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
Stefan Metzmacher
2fd5992038 swig: regenerate _wrap.c files
metze
(This used to be commit 08b41e1069)
2008-03-14 14:33:55 +01:00
Stefan Metzmacher
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
Stefan Metzmacher
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
Andrew Bartlett
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
Andrew Bartlett
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
Andrew Bartlett
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
Andrew Bartlett
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
Andrew Bartlett
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
Jelmer Vernooij
2bf39edc9d Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
6a1f56d82a Fix the build.
(This used to be commit 3b7940d531)
2008-03-07 20:33:12 +01:00
Jelmer Vernooij
fc2cd5ed63 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
(This used to be commit e4da851bd7)
2008-03-07 18:03:54 +01:00
Andrew Bartlett
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
Andrew Bartlett
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
Andrew Bartlett
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
Andrew Bartlett
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
Andrew Bartlett
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
Jelmer Vernooij
2d1c06c578 Fix includes.
(This used to be commit 99e61dade2)
2008-03-04 00:43:24 +01:00
Jelmer Vernooij
b29d47edcf Move object file lists to the Makefile.
(This used to be commit a7e6d2a183)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
7dd0cd26d3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/build/smb_build/makefile.pm
	source/librpc/config.mk
(This used to be commit 3e02fcfd3f)
2008-03-03 10:50:53 +01:00
Andrew Bartlett
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
Douglas VanLeuven
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
Jelmer Vernooij
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
Jelmer Vernooij
09447777d0 use gmake to handle .py file copies.
(This used to be commit d54421a9ee)
2008-02-29 13:42:59 +01:00
Jelmer Vernooij
c8011b5d09 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/scripting/python/config.mk
(This used to be commit 0ac0ea660a)
2008-02-29 12:45:46 +01:00
Jelmer Vernooij
2ba62662f8 Remove sDefault as static variable.
(This used to be commit 16f36ce499)
2008-02-28 20:04:58 +01:00
Jelmer Vernooij
fc6bc92e11 Merge branch 'v4-0-trivial' into v4-0-test
(This used to be commit 6cbb241c05)
2008-02-28 18:27:29 +01:00
Andrew Bartlett
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
Jelmer Vernooij
2ca7dfe20c Fix pydoctor.
(This used to be commit 023025e4de)
2008-02-26 16:51:50 +01:00
Jelmer Vernooij
ef15b28d24 use make macro for python.
(This used to be commit b0408abb08)
2008-02-26 16:02:51 +01:00
Jelmer Vernooij
22ef67dd13 Fix the build (again).
(This used to be commit ef00f6b581)
2008-02-26 01:20:55 +01:00
Jelmer Vernooij
584c4a518f Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/build/smb_build/header.pm
	source/build/smb_build/makefile.pm
	source/lib/ldb/include/ldb_private.h
(This used to be commit 1a646af064)
2008-02-25 12:58:09 +01:00
Jelmer Vernooij
3101cb888d Remove uses of global_loadparm.
(This used to be commit a16c9a2129)
2008-02-25 12:51:55 +01:00
Jelmer Vernooij
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
Kai Blin
895874d966 idmap: Handle uid->SID mapping
(This used to be commit 6ac6de8476)
2008-02-21 11:21:59 +01:00
Jelmer Vernooij
845664e94b Avoid python2.2-specific types.
(This used to be commit d45c6b5574)
2008-02-20 11:32:56 +01:00
Jelmer Vernooij
0020793515 Fix static module list generation for ldb.
(This used to be commit 92c1c0e913)
2008-02-20 03:40:44 +01:00
Jelmer Vernooij
b4017955e1 Merge branch 'v4-0-trivial' into v4-0-gmake3
Conflicts:

	source/build/smb_build/input.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
(This used to be commit bc11e3ef1c)
2008-02-18 22:25:19 +01:00
Jelmer Vernooij
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
Jelmer Vernooij
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
Jelmer Vernooij
b66ee2ed22 Move responsibilities of build.h to makefile.
(This used to be commit a43f6d37bc)
2008-02-16 18:38:02 +01:00
Jelmer Vernooij
7df18932f6 use gmake to handle .py file copies.
(This used to be commit 33111f98df)
2008-02-16 16:15:21 +01:00
Jelmer Vernooij
7c96ca88c4 Formatting fixes.
(This used to be commit bc0fab89e3)
2008-02-16 15:23:26 +01:00
Jelmer Vernooij
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
Jelmer Vernooij
08e3f99f14 Initial work on a test for samba.tests.samdb
(This used to be commit 8b33860954)
2008-02-13 02:18:45 +01:00
Jelmer Vernooij
b4ce9dc360 Fix invalid symbol.
(This used to be commit bd0ef811c4)
2008-02-13 01:21:06 +01:00
Jelmer Vernooij
04aef38453 Fix subunit runner exit codes.
(This used to be commit 7911308dbc)
2008-02-12 22:10:25 +01:00
Jelmer Vernooij
fdd75e135a Correctly increment counters in Subunit test runner.
(This used to be commit c474a2bb83)
2008-02-12 21:59:23 +01:00
Jelmer Vernooij
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
Jelmer Vernooij
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
Jelmer Vernooij
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
Kai Blin
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
Jelmer Vernooij
cac225ba7d More syntax fixes, use more standard python functions.
(This used to be commit ea07509b4a)
2008-02-10 00:56:55 +01:00
Jelmer Vernooij
f75d624129 Start working on python conversion of minschema.
(This used to be commit 239a161664)
2008-02-10 00:21:41 +01:00
Jelmer Vernooij
2cf29aebff Add tests for upgrade of WINS database.
(This used to be commit 7777611c0f)
2008-02-09 22:29:42 +01:00
Jelmer Vernooij
63aa4b9021 Remove unused define.
(This used to be commit 64d6d72913)
2008-02-09 20:47:12 +01:00
Jelmer Vernooij
1342b265ca Fix typo.
(This used to be commit 80dbf04266)
2008-02-09 20:09:58 +01:00
Jelmer Vernooij
ec106a1421 Merge branch 'v4-0-trivial' into v4-0-python
(This used to be commit b874f07175)
2008-02-09 20:06:54 +01:00
Jelmer Vernooij
cf287aa831 Add docstring.
(This used to be commit 073ed0dd1c)
2008-02-09 17:42:31 +01:00
Jelmer Vernooij
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
Jelmer Vernooij
c61dc38494 Re-enable python support in BECOME-DC test.
(This used to be commit ed44fd59bf)
2008-02-09 15:42:19 +01:00
Jelmer Vernooij
4932e4bb7a Fix upgrade after provision parameter rename.
(This used to be commit 361b9f43fb)
2008-02-09 03:59:45 +01:00
Jelmer Vernooij
bd0bfe6833 Fix provision python test.
(This used to be commit b173fa6bd2)
2008-02-09 03:09:56 +01:00
Jelmer Vernooij
2aac2a5df8 Add tests for findnss(), add some docstrings.
(This used to be commit 4eec2bbc9a)
2008-02-09 02:10:49 +01:00
Jelmer Vernooij
c1d8ac0ab1 Remove unused class members.
(This used to be commit 373ef4287f)
2008-02-09 01:42:38 +01:00
Jelmer Vernooij
f47093baf0 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit e367df5d99)
2008-02-08 14:02:22 +01:00
Andrew Bartlett
c1c09e584e LDAP now works with the python provision!
Andrew Bartlett
(This used to be commit 8f0a89ca19)
2008-02-08 17:12:25 +11:00
Andrew Bartlett
26897518ea Fix LDAP backend with python
We were still setting the hard-coded users.ldb etc, rather than
switching to the ldapi:// URI

Andrew Bartlett
(This used to be commit 603e981250)
2008-02-08 17:11:26 +11:00
Jelmer Vernooij
fffe4f3bdd Fix formatting.
(This used to be commit 73d1b0fcb6)
2008-02-08 03:03:44 +01:00
Andrew Bartlett
77f71c1b65 Rework cluster_id() to take an additional argument, as we need
<node>.<pid>.<fd> to be unique in a prefork process environment.

Andrew Bartlett and David Disseldorp
(This used to be commit 931994a7f1)
2008-02-04 17:51:38 +11:00
Jelmer Vernooij
61379d97cd python: Provide PyAPI_DATA macro for older versions of Python (< 2.3).
(This used to be commit 421bdd203e)
2008-01-29 14:27:27 +01:00
Jelmer Vernooij
bcad73a7f7 Partially revert d64a2288a2 and 351c2e99ab to see if that fixes the build.
(This used to be commit 2a79cebfd9)
2008-01-29 13:10:43 +01:00
Jelmer Vernooij
cab677a33f python: Use relative paths for registry.
(This used to be commit 079200b824)
2008-01-26 04:22:42 +01:00
Jelmer Vernooij
172e00d8a1 python: Load smb.conf file for the provision tests.
(This used to be commit 41571bbb93)
2008-01-26 02:55:03 +01:00
Stefan Metzmacher
e41a632902 configure: define HAVE_WORKING_PYTHON
metze
(This used to be commit 351c2e99ab)
2008-01-25 15:46:54 +01:00
Jelmer Vernooij
21f5f4d440 python: Give precedence to Samba's syspath over the already set system one.
(This used to be commit f3ebaf0a0c)
2008-01-25 12:16:13 +01:00
Jelmer Vernooij
1c5e713cce Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit 64babbec22)
2008-01-25 11:50:00 +01:00
Jelmer Vernooij
6c2d4f2806 python/provision: Reload secrets when necessary, fix unix names in mappings.
Pair programmed with Andrew.
(This used to be commit 04fe8c8aef)
2008-01-25 11:47:44 +01:00
Andrew Bartlett
1b18de131c Tidy up the last regresesions on the python smbscript, from my work
with Jelmer today.

The only remaining issue is that for the build farm, we will need to
manually specify the users and groups from the NSS_WRAPPPER, as python
isn't compiled with this.

Andrew Bartlett
(This used to be commit 5370484d25)
2008-01-25 17:11:20 +11:00
Jelmer Vernooij
dcb04065cd python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
(This used to be commit dff54ff043)
2008-01-25 03:54:33 +01:00
Jelmer Vernooij
c91791bbc4 python: Add test for secretsdb_become_dc
(This used to be commit 9173c678ef)
2008-01-25 01:37:47 +01:00
Jelmer Vernooij
76eb7ddd75 python: fix tests for check_all_substituted.
(This used to be commit 859cffed9d)
2008-01-25 01:30:43 +01:00
Jelmer Vernooij
37f35d2a03 python/provision: Reconcile code partitions-only provisioning and generic provisioning, some other minor refactoring of the provisioning.
Pair-programmed by Andrew and me using obby :-)
(This used to be commit 688adcbb63)
2008-01-25 01:02:13 +01:00
Jelmer Vernooij
8afcbdcfe7 python: Make SamDB.set_ntds_invocation_id take a string.
(This used to be commit 59bb26772f)
2008-01-25 00:51:09 +01:00
Jelmer Vernooij
d958f4b391 python: Add function to look for unsubsituted variables.
(This used to be commit e726ce5bc5)
2008-01-24 22:18:27 +01:00
Jelmer Vernooij
859b847a68 python: Add bindings for SamDB.set_invocation_id().
(This used to be commit c09efa7b77)
2008-01-24 22:08:39 +01:00
Jelmer Vernooij
52bc292f58 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit d4d4120b71)
2008-01-24 22:00:07 +01:00
Andrew Bartlett
6e5c528f87 Ensure we set subobj.BACKEND_MOD for the 'partitions only' case.
Andrew Bartlett
(This used to be commit be5eb2da24)
2008-01-24 16:25:35 +11:00
Andrew Bartlett
48e79659d1 Make the repl_meta_data module the default for domain controllers.
Andrew Bartlett
(This used to be commit ae2ea1bd0c)
2008-01-24 16:17:45 +11:00
Andrew Bartlett
a2d7a3b627 Use the repl_meta_data module by default.
This means that, except when we back onto LDAP, when it will be
replaced with the mapping backend, we will keep this codepath tested.

Andrew Bartlett
(This used to be commit e8fb5da5a1)
2008-01-24 14:28:25 +11:00
Andrew Bartlett
1557e7b930 Kill another sub that the modules will handle for us.
(This used to be commit e9bb130d63)
2008-01-24 11:33:37 +11:00
Andrew Bartlett
08f94e2754 Remove useless subs from the ejs provision
The less things we manually place into the templates, the easier the
conversion to python will be.

Andrew Bartlett
(This used to be commit f65e5c1644)
2008-01-24 11:26:21 +11:00
Jelmer Vernooij
a2dcf7bd22 Python: add some docstrings.
(This used to be commit 1de69a772e)
2008-01-24 01:06:19 +01:00
Jelmer Vernooij
4277181453 python: Support --no-pass.
(This used to be commit a90f3e8c42)
2008-01-24 01:05:57 +01:00
Jelmer Vernooij
decdf5954d python: Add convenience function for getting command line loadparm context
and default to using system smb.conf.
(This used to be commit b3afde0f00)
2008-01-23 23:38:57 +01:00
Jelmer Vernooij
4075a2ba98 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
(This used to be commit 2f57e25f8f)
2008-01-22 16:39:56 +01:00
Jelmer Vernooij
42a793107e python: Fix init functions.
(This used to be commit 4b057b9bff)
2008-01-21 03:54:43 +01:00
Jelmer Vernooij
03023c4f7d build: Demote a bunch of libraries to subsystems. This makes packaging easier and should also make it easier
to migrate to a new build system.
(This used to be commit 77b400764e)
2008-01-21 03:54:42 +01:00
Andrew Bartlett
064eb82870 Remove --ldap-base from the python provision script
(This is a merge from the ejs script)

Andrew Bartlett
(This used to be commit d822dfa017)
2008-01-18 13:25:01 +11:00
Andrew Bartlett
8d36d43e52 Add in a new module to handle instanceType
This code raided from the repl_meta_data module, which probably needs
to be downsized to just handling the replication data.

Andrew Bartlett
(This used to be commit 2a418f3370)
2008-01-18 10:13:43 +11:00
Andrew Bartlett
f1e177a7b8 provision: simplfy by removing old code to manually create baseDNs.
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 e77375758d)
2008-01-17 12:00:27 +11:00
Jelmer Vernooij
ad5bb10f70 python: Build shared python modules for generic use.
(This used to be commit 5024249552)
2008-01-16 15:08:00 +01:00
Jelmer Vernooij
0c7f4c23b7 python: Update status.
(This used to be commit b4b12f00a7)
2008-01-15 01:08:30 +01:00
Jelmer Vernooij
d869de531c python: Enable building of the wkssvc python bindings.
(This used to be commit 7a00d48a47)
2008-01-14 20:14:53 +01:00
Jelmer Vernooij
506f643288 python: Compile in svcctl Python bindings.
(This used to be commit 567099b66d)
2008-01-14 20:08:04 +01:00
Jelmer Vernooij
2ebe80c27c python: Convert winreg.py completely to rpc, use new RPC Python bindings.
(This used to be commit 9c21773737)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
2aa8cbca8b python: Work around the fact that there are two "security" modules now.
This well demonstrates the fact we need hierarchy.
(This used to be commit df7e349882)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
001b2435f0 python: Add simple test for samr python code.
(This used to be commit 0a039fabcb)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
d28eb21a98 python: Compile security module, handle uint.
(This used to be commit dee64344fb)
2008-01-14 19:53:08 +01:00
Jelmer Vernooij
860106b3f4 python: Move some convenience macros to a separate header rather than putting them in every generated py_* file.
(This used to be commit 712274b9bd)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
a896c8940c python: Enable python bindings for samr and lsa interfaces.
(This used to be commit 3dfcefd8ac)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
fa5397fbed python: Build epmapper module.
(This used to be commit 6cb78c7634)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
035599fa65 python: Be more pythonic - turn WERROR and NTSTATUS return codes into exceptions.
(This used to be commit 16fc69b843)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
7dd468ff2e python: Fix python code for winreg, add test.
(This used to be commit bd3e6c41c4)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
e42322848b python: Start building winreg module.
(This used to be commit f1a9fad83c)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
271f5f18f2 python: Fix last bugs in rpcecho test. It passes now!
(This used to be commit 25a0cd091b)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
aca6bd5a2a python: Fix deallocation bug in pytalloc.
(This used to be commit b849b4a6c4)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
3b16c532f2 pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
(This used to be commit 4c87af9531)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
db4ee4cce5 python: Fix rpcecho tests.
(This used to be commit ebb78ea423)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
d5903fd75e pidl/python: Fix compilation of py_echo.
(This used to be commit 5ee99ff31c)
2008-01-14 19:53:06 +01:00
Jelmer Vernooij
bfab9862fc python: Allow wrapping pointers within talloc'ed memory that are not talloc contexts.
(This used to be commit 9c038a7411)
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
f7a0ef04f0 pidl/python: Support repr() for python types.
(This used to be commit cf3664594d)
2008-01-14 19:53:05 +01:00
Jelmer Vernooij
252675a578 python: Add some utility functions for working with Python objects based on talloc pointers.
(This used to be commit 9366ddba92)
2008-01-14 19:53:04 +01:00
Jelmer Vernooij
ecf52b2bc7 python: Avoid overwriting flags for already found version of Python.
(This used to be commit 9041e385fe)
2008-01-13 14:59:16 +01:00
Jelmer Vernooij
6ef36c1f82 python: Avoid PyMODINIT_FUNC because it doesn't exist in older pythons.
(This used to be commit e179db6d0f)
2008-01-13 06:07:20 +01:00
Jelmer Vernooij
2c90e6fc7a python: Fix initialization of variable.
(This used to be commit 620ec69665)
2008-01-13 04:23:09 +01:00
Jelmer Vernooij
c264fb4bde python: Try more possible flags.
The flags returned by python-config may be for gcc and may not work for other compilers.
(This used to be commit 1fbc3a9f47)
2008-01-13 04:17:04 +01:00
Jelmer Vernooij
53c33aa2b4 python: Avoid PyDoc_STRVAR() macro which doesn't exist in Python2.2.
(This used to be commit dec3f421be)
2008-01-13 03:32:44 +01:00
Jelmer Vernooij
378dff1365 python: Fix typo.
(This used to be commit d6b06fc03e)
2008-01-11 16:28:17 +01:00
Jelmer Vernooij
7c3e8c838f Python: Simplify code in a couple of places. Copy Andrew's changes from g53b5166.
(This used to be commit f056f62495)
2008-01-11 16:13:46 +01:00
Kai Blin
7b77490421 ejs: Remove cast to incompatible pointer.
(This used to be commit 89d5b91d3c)
2008-01-11 11:12:45 +01:00
Andrew Bartlett
2b17949b42 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 53b51660ae)
2008-01-11 15:22:22 +11:00
Andrew Bartlett
48c2d871ea Use 'dn' less, as this is not a valid attribute in AD, and I want to
remove it from ldb.  It is not longer mapped against OpenLDAP.

Andrew Bartlett
(This used to be commit f917ccec85)
2008-01-11 15:21:23 +11:00
Jelmer Vernooij
63bbb92398 Python: Update STATUS.
(This used to be commit cbf3b74e5f)
2008-01-11 04:07:14 +01:00
Jelmer Vernooij
5b8ffcca53 python: Update STATUS.
(This used to be commit bcd82a9ae3)
2008-01-10 17:53:56 +01:00
Jelmer Vernooij
48c75bade7 configure: Complain when Python is not found.
(This used to be commit 6aaccdb0b3)
2008-01-10 17:47:58 +01:00
Jelmer Vernooij
ff1017b142 r26687: python: Update status after feedback from abartlett.
(This used to be commit f08192750e)
2008-01-07 08:18:05 -06:00
Jelmer Vernooij
e652fc802a r26666: python: Prefer newer Python versions as they use const properly.
(This used to be commit aa2adf3327)
2008-01-05 08:06:04 -06:00
Jelmer Vernooij
1548d8d2be r26658: pidl: Register Python modules.
(This used to be commit f47044aacc)
2008-01-03 15:51:02 -06:00
Jelmer Vernooij
6ed5fc0919 r26656: python: Add file documentating the status of the Python migration.
(This used to be commit 5c86cc6648)
2008-01-03 15:27:01 -06:00
Jelmer Vernooij
dcc282590b r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
(This used to be commit 8a97886e24)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
425732f688 r26651: libsmb: Allow specifying signing policy from higher up.
The number of arguments is getting a bit excessive now, so it
probably makes sense to pass in the smbcli_options struct rather than
all members individually and add a convenience function for obtaining a
smbcli_options struct from a loadparm context.
(This used to be commit 9f64213463)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
969b8579c7 r26646: libcli/smb_composite: Allow specifying SMB parameters in smb_composite_connect structure. AFAIK no global variables will now be used when doing RPC client connections.
(This used to be commit 0ef75e4e3c)
2008-01-02 12:48:04 -06:00
Jelmer Vernooij
771b347f9b r26644: Janitorial: Pass resolve_context explicitly to various SMB functions, should help fix the build for OpenChange.
(This used to be commit 385ffe4f4c)
2008-01-02 12:48:03 -06:00
Jelmer Vernooij
5e03b92182 r26642: samba3sam.py: Remove more EJS-specific code.
(This used to be commit 7d14b657b3)
2008-01-01 19:57:02 -06:00
Jelmer Vernooij
2bd4bf6a1b r26629: python: Improve documentation in various places.
(This used to be commit ee71a27bca)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
6817c5d885 r26628: python: Add more documentation, simplify code in Samba3 module.
(This used to be commit 3c329ee73d)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
68b6982704 r26624: libnet/python: Use standard function for constructing context, allow overriding credentials.
(This used to be commit a5fb3caede)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
a61e25f174 r26622: python: Update license version, clarify copyright.
(This used to be commit 3ee6209407)
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
77c825f08b r26618: Implement -W option support.
(This used to be commit e48026b17d)
2007-12-28 09:42:01 -06:00
Jelmer Vernooij
8ad2a035e3 r26616: Support parsing of user data in SAmba 3 tdbsam.
(This used to be commit 2f33e0451d)
2007-12-27 17:36:06 -06:00
Jelmer Vernooij
094f364fe1 r26614: Fix options parsing for credentials in Python.
(This used to be commit 9ef3b7de6b)
2007-12-27 17:36:05 -06:00
Jelmer Vernooij
222262b54e r26608: More improvements to the upgrade code.
(This used to be commit 7ea06d91f6)
2007-12-26 21:18:02 -06:00
Jelmer Vernooij
c4d3666ac2 r26607: Fix reading of values and subkeys in Samba 3 registry files.
(This used to be commit e3d7454ef7)
2007-12-26 15:03:02 -06:00
Jelmer Vernooij
aa79008d4b r26602: Revert my previous commit as it only works with GNU make.
(This used to be commit ecd2d96c31)
2007-12-26 11:57:09 -06:00
Jelmer Vernooij
251a4e0780 r26600: Provide dir variable with current basedir in Makefile.
(This used to be commit b06d3e1a52)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
7ff974a226 r26599: Attempt to also support provisioning using Python in the BECOME-DC test.
Not tested yet as the test it is part of has been disabled because it's broken.
(This used to be commit 6b1e25b702)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
43a03b0fb4 r26598: Simplify the way Python tests are run.
(This used to be commit d649f73431)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
327847b987 r26597: Attempt to provide alternative for hosts that don't have python-config.
(This used to be commit fa5d1923ef)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
533cc583ed r26596: Fixed upgrade.py.
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
(This used to be commit 2227fb6df6)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
cea31e3216 r26595: Fix includes for hosts without gssapi as system header.
(This used to be commit 64203a6b7b)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
e8bca8dd71 r26594: Add right paths to the Python sys.path setting so we don't have to set magic environment variables when running from the build directory.
(This used to be commit 2d2674ad79)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
7c146c42d2 r26593: - More work on the python versions of samba3dump and the samba3sam 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 150cf39fbd)
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
cc30cb5e24 r26592: Finish fixing the samba3dump script.
(This used to be commit 85679f3fc9)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
3c22677a8c r26591: Get the first bits of samba3dump to work again.
(This used to be commit 3511027515)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
8ada900ee6 r26590: Parsing routines for the smbpasswd file and idmap database.
(This used to be commit 0c14e16a2b)
2007-12-26 11:57:06 -06:00
Jelmer Vernooij
95b1f554b2 r26587: Fix reading Samba 3 WINS database and initial work on group db, aliases and secrets.
(This used to be commit c7c4cf258a)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
59efa6e5d0 r26585: Fix samba3.python tests.
(This used to be commit 231ec0777b)
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
c13ae70731 r26580: Include sentinel in build.h, in case the list is empty.
(This used to be commit f1997dabed)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
be33f4c611 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
1ab5bcfb93 r26575: Build a private copy of the Python executable for Samba 4, so we know we're always using the same library we build the modules for.
(This used to be commit 03270c5ffd)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
d0ba9f0014 r26572: Fix warnings in the Python code.
(This used to be commit 15038d9586)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
3ee442c54f r26571: Hide warnings about unused macros and casting qualifiers in autogenerated files.
(This used to be commit cb76c60007)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
aa0a06f13c r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
f053e385ff r26566: Fix member provision when using python.
(This used to be commit e5573283df)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
249cc734ce r26565: Fix python registry bindings. 'PROVISION_PYTHON=yes make test' works now.
(This used to be commit 485d1fa3d1)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
09f820f0bd r26564: More python bindings for registry code.
(This used to be commit f40fad9827)
2007-12-24 01:51:01 -06:00
Jelmer Vernooij
b7ffc3b404 r26562: Fix provisioning using Python.
(This used to be commit b07ca944ba)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
30ce895e0c r26559: Make the provision function a bit smaller.
(This used to be commit a1175231a5)
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
758be0eedc r26555: Use python-config utility to find python compile/link flags.
(This used to be commit 6cc5e838e6)
2007-12-24 01:50:59 -06:00
Jelmer Vernooij
109a903750 r26545: Sync output with ejs.
(This used to be commit 48ceaa9643)
2007-12-21 06:28:46 +01:00
Jelmer Vernooij
0500b87092 r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc r26539: Remove unnecessary statics.
(This used to be commit e53e79eebe)
2007-12-21 05:52:05 +01:00
Jelmer Vernooij
c2fffa8335 r26538: Pass path generation function around rather than base directory.
(This used to be commit 5f921af41e)
2007-12-21 05:51:59 +01:00
Jelmer Vernooij
86f91db7d5 r26536: More tests for provisioning code.
(This used to be commit 43c8bfeedf)
2007-12-21 05:51:56 +01:00
Jelmer Vernooij
595ec370da r26535: Get rid of all-knowing ProvisionSettings object.
(This used to be commit 40bf88c8a7)
2007-12-21 05:51:56 +01:00
Stefan Metzmacher
5ed08ebac3 r26534: configure: using == in shell scripts isn't portable
Thanks to Björn Jacke <bj@sernet.de> for reporting this.

metze
(This used to be commit 1d5d970830)
2007-12-21 05:51:55 +01:00
Jelmer Vernooij
4e6ab64762 r26527: Start on tests for provision.
(This used to be commit 84ac6c6bbf)
2007-12-21 05:51:50 +01:00
Jelmer Vernooij
44946cefb3 r26525: Consistency in the API.
(This used to be commit 37577fee58)
2007-12-21 05:51:48 +01:00
Jelmer Vernooij
4bfbd78086 r26524: Import self join.
(This used to be commit daae983c26)
2007-12-21 05:51:47 +01:00
Jelmer Vernooij
1c29a63d44 r26523: Refactor provisioning code.
(This used to be commit ac1083178f)
2007-12-21 05:51:44 +01:00
Jelmer Vernooij
54a48d40a1 r26522: Fix warnings on SamDB connect from Python, simplify the setup code for the various LDBs.
(This used to be commit 20c686f501)
2007-12-21 05:51:42 +01:00
Jelmer Vernooij
2fef113e82 r26521: Fix newlines.
(This used to be commit 174aa15837)
2007-12-21 05:51:40 +01:00
Jelmer Vernooij
63f53094ef r26520: More Python updates.
(This used to be commit a8b1fe15ac)
2007-12-21 05:51:31 +01:00
Jelmer Vernooij
12a513b47b r26518: Fix provision of registry using Python.
(This used to be commit 12eb38e553)
2007-12-21 05:51:25 +01:00
Jelmer Vernooij
57b8a8fd42 r26517: Add functions for setting and getting parameters on a LoadParm.
Pass loadparm context along to Ldb contexts.
Other minor Python improvements.
(This used to be commit 7a15b486ba)
2007-12-21 05:51:23 +01:00
Jelmer Vernooij
c619f86efc r26516: Fix line splitting in subunitrun.
(This used to be commit 623b7b3114)
2007-12-21 05:51:20 +01:00
Jelmer Vernooij
ca74c6e6c4 r26513: Update substitution dictionary for ldifs.
(This used to be commit 60fb2de211)
2007-12-21 05:51:18 +01:00
Jelmer Vernooij
323c174be3 r26506: Start running (really trivial) tests for upgrade script.
(This used to be commit 73bd4a9566)
2007-12-21 05:51:12 +01:00
Jelmer Vernooij
f89c7a6e5e r26505: Add python bindings for some samdb-related functions, improve provisioning in python.
(This used to be commit d240225166)
2007-12-21 05:51:09 +01:00