summaryrefslogtreecommitdiff
path: root/source4/setup/provision
AgeCommit message (Collapse)AuthorFilesLines
2012-05-24s4-provision: Make s3fs the default way to install a new Samba4 DCAndrew Bartlett1-2/+2
With s3fs now well settled into master, we now throw the swtich and make it the default. There is still much to do, but we need to be using s3fs by default to find out exactly what that is. Andrew Bartlett
2012-05-02s4-provision: Fix --use-s3fs to parse correctlyAndrew Bartlett1-1/+1
2012-04-19s4-provision: Always give the warning if we are using eadb. It really ↵Andrew Bartlett1-3/+6
should be for testing only
2012-04-16provision: Simplify handling of default for --server-role.Jelmer Vernooij1-8/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Apr 16 18:12:24 CEST 2012 on sn-devel-104
2012-04-16provision: Simplify handling of default for --function-level.Jelmer Vernooij1-4/+3
2012-04-16provision: Simplify handling of default for --dns-backend option.Jelmer Vernooij1-6/+2
2012-04-16Add an option to have s3fs as file server for samba4Matthieu Patou1-1/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 16 09:38:18 CEST 2012 on sn-devel-104
2012-03-21s4-provision: don't ask only 3 times for passwd in interactive modeBjörn Baumbach1-1/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-21s4-provision: add password verification in interactive modeBjörn Baumbach1-3/+9
Since we do not print the password out (anymore), it is necessary to verify the entered password. Signed-off-by: Michael Adam <obnox@samba.org>
2012-02-26provision: Leave result reporting up to caller.Jelmer Vernooij1-1/+3
2012-02-07provision: Make sure target directory is created early.Jelmer Vernooij1-7/+13
This is necessary when using the target directory to store temporary files. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Feb 7 02:45:37 CET 2012 on sn-devel-104
2012-02-07Use named argument 'dir' instead of 'prefix' on NamedTemporaryFile for ↵Horacio G. de Oro1-2/+2
source4/setup/provision Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2012-01-24python: Change except: statement to except Exception:Amitay Isaacs1-1/+1
This way we only catch true exceptions and keyboard interrupts are not caught here. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Jan 24 03:32:40 CET 2012 on sn-devel-104
2011-11-29s4-provision: Make BIND9_DLZ as the default backend for DNSAmitay Isaacs1-3/+3
2011-11-17s4-provision permit server role to be the ROLE_ strings from s3Andrew Bartlett1-6/+1
Also convert between the aliases in one single place. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-08s4-provision Remove options for LDAP backend to reduce user confusionAndrew Bartlett1-23/+2
We do not support the LDAP backend any more, but keep the code in case someone comes up with an interesting use case that could leverage this in a very particular situation. In order to keep the code, we must test it, so we keep just this much of the support around. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 8 04:33:49 CET 2011 on sn-devel-104
2011-10-17s4 provision: Default to win2k3 domain function levelKai Blin1-1/+1
2011-10-17s4 provision: Reword opinionated dns backend help text, add NONE backendKai Blin1-3/+11
2011-10-17s4 provision: Rename bind9 flatfile backend to BIND9_FLATFILEKai Blin1-2/+2
2011-10-16provision: fix the docMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Oct 16 01:31:21 CEST 2011 on sn-devel-104
2011-10-16s4: check that the xattr are supported in the folder where we want to provisionMatthieu Patou1-1/+5
By default we were checking this on the default folder for tempfile.NamedTemporaryFile (usualy /tmp) but this folder can be mounted on tmpfs (which didn't support xattr currently). Now we should check on the filesystem where the provision will be done.
2011-10-02s4 provision: Set server role default when called from command line to 'dc'Kai Blin1-0/+3
2011-09-13s4-python: Fix some formatting issues.Jelmer Vernooij1-156/+163
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Sep 13 03:51:13 CEST 2011 on sn-devel-104
2011-09-08s4-provision: Add DNS backend option to provisionAmitay Isaacs1-0/+4
This option is introduced temporarily to test bind9 backend with and without dlz_dlopen module. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-08s4-provision: exit is not imported directed, use sys.exitAmitay Isaacs1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-03-10s4:setup/provision - fix an output messageMatthias Dieter Wallnöfer1-1/+1
Mention that Windows 2000 function level is supported as well.
2011-02-07s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett1-8/+2
We now have a reliable way to know the current location of the templates: dyn_SETUPDIR, which is updated for both the in-build and installed binaries. This replaces the function arguments and the distributed resolution of the setup directory with one 'global' function (imported as required). This also removes the ability to specify an alternate setup directory on the command line, as this was rarely if ever used and never tested. Andrew Bartlett
2010-11-26s4-provision: fixed eadb automatic and manual setting in provisionAndrew Tridgell1-4/+2
we should not set posix:eadb in lp in the acl native test code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-17s4-provision: don't test for xattrs if posix:eadb is setAndrew Tridgell1-1/+1
when it is set in smb.conf or on the command line, obey the setting and don't try to test for system xattr support
2010-11-17s4-provision: don't try to autodetect xattr is posix:eadb is setAndrew Tridgell1-1/+1
when posix:eadb is set then we know we should be using an eadb
2010-11-17s4-provision: use the command line lp in provisionAndrew Tridgell1-1/+1
this ensures that provision options are stored in the generated smb.conf
2010-10-19s4-provisionbackend Allow a fixed URI to be specified for LDAP backendAndrew Bartlett1-0/+12
This is added to make the 'existing' LDAP backend class more useful, and to allow debuging of our OpenLDAP backend class with wireshark, by forcing the traffic over loopback TCP, which is much easier to sniff. Andrew Bartlett
2010-10-18s4-provision Use --ldap-backend-nosync rather than just --nosyncAndrew Bartlett1-2/+1
For some reason we had both options, and --ldap-backend-nosync is the better name. Andrew Bartlett
2010-07-10s4:provision: remove --policy-guid and --policy-guid-dc cmdline optionsStefan Metzmacher1-5/+0
metze
2010-06-26s4:provision: add --next-rid optionStefan Metzmacher1-1/+3
Make it possible to provision a domain with a given next rid counter. This will be useful for upgrades, where we want to import users with already given SIDs. metze
2010-06-20selftest: Use scripted testparm.Jelmer Vernooij1-1/+2
2010-06-16s4:provision Add import for DS_DOMAIN_FUNCTION_2000Andrew Bartlett1-0/+1
2010-06-16s4:provision Allow functional level 2000 to be chosenAndrew Bartlett1-1/+3
2010-06-13Friendlier message.Jelmer Vernooij1-2/+2
2010-06-13s4-python: Start using standard python logging infrastructure ratherJelmer Vernooij1-8/+11
than simple messaging callbacks.
2010-04-21s4-provision: cope with --realm being in getopt.pyAndrew Tridgell1-1/+2
we still need to allow for interactive querying of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-08s4-python: More cleanups.Jelmer Vernooij1-1/+2
2010-04-08s4-python: Simplify code, improve formatting.Jelmer Vernooij1-8/+5
2010-04-04s4-python: Move dsdb constants to a separate python module.Jelmer Vernooij1-2/+5
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell1-1/+1
this should be much more portable
2010-03-18Fixed --ol-mmr-url helplineOliver Liebel1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-03-14Reintroduce "s4:provision Improve the handling of provision errors""Matthias Dieter Wallnöfer1-18/+23
This mainly reverts commit f0bc02d74c16bc013e9fdab46ef271cf45873453. Jelmer pointed out a way how we can achieve the same error handling with an older syntax also on Python 2.4+.
2010-03-13Revert "s4:provision Improve the handling of provision errors"Matthias Dieter Wallnöfer1-25/+18
This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193. Andrew, this is not Python 2.4+ compatible
2010-03-11s4:provision Improve the handling of provision errorsAndrew Bartlett1-18/+25
The backtraces were too confusing for our users, and didn't tell them what to do to fix the problem. By printing the string (rather than a backtrace), and including in the error what to do, and what file to remove, we give them a chance. Andrew Bartlett
2010-02-12s4-provision: fixed --function-level option to provisionAndrew Tridgell1-0/+1
we need the DS_DOMAIN_* levels imported