summaryrefslogtreecommitdiffstats
path: root/source4/setup/provision
Commit message (Collapse)AuthorAgeFilesLines
* s4:setup/provision - fix an output messageMatthias Dieter Wallnöfer2011-03-101-1/+1
| | | | Mention that Windows 2000 function level is supported as well.
* s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett2011-02-071-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
* s4-provision: fixed eadb automatic and manual setting in provisionAndrew Tridgell2010-11-261-4/+2
| | | | | | we should not set posix:eadb in lp in the acl native test code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: don't test for xattrs if posix:eadb is setAndrew Tridgell2010-11-171-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
* s4-provision: don't try to autodetect xattr is posix:eadb is setAndrew Tridgell2010-11-171-1/+1
| | | | when posix:eadb is set then we know we should be using an eadb
* s4-provision: use the command line lp in provisionAndrew Tridgell2010-11-171-1/+1
| | | | | this ensures that provision options are stored in the generated smb.conf
* s4-provisionbackend Allow a fixed URI to be specified for LDAP backendAndrew Bartlett2010-10-191-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
* s4-provision Use --ldap-backend-nosync rather than just --nosyncAndrew Bartlett2010-10-181-2/+1
| | | | | | | For some reason we had both options, and --ldap-backend-nosync is the better name. Andrew Bartlett
* s4:provision: remove --policy-guid and --policy-guid-dc cmdline optionsStefan Metzmacher2010-07-101-5/+0
| | | | metze
* s4:provision: add --next-rid optionStefan Metzmacher2010-06-261-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
* selftest: Use scripted testparm.Jelmer Vernooij2010-06-201-1/+2
|
* s4:provision Add import for DS_DOMAIN_FUNCTION_2000Andrew Bartlett2010-06-161-0/+1
|
* s4:provision Allow functional level 2000 to be chosenAndrew Bartlett2010-06-161-1/+3
|
* Friendlier message.Jelmer Vernooij2010-06-131-2/+2
|
* s4-python: Start using standard python logging infrastructure ratherJelmer Vernooij2010-06-131-8/+11
| | | | than simple messaging callbacks.
* s4-provision: cope with --realm being in getopt.pyAndrew Tridgell2010-04-211-1/+2
| | | | | | we still need to allow for interactive querying of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-python: More cleanups.Jelmer Vernooij2010-04-081-1/+2
|
* s4-python: Simplify code, improve formatting.Jelmer Vernooij2010-04-081-8/+5
|
* s4-python: Move dsdb constants to a separate python module.Jelmer Vernooij2010-04-041-2/+5
|
* python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell2010-03-251-1/+1
| | | | this should be much more portable
* Fixed --ol-mmr-url helplineOliver Liebel2010-03-181-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Reintroduce "s4:provision Improve the handling of provision errors""Matthias Dieter Wallnöfer2010-03-141-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+.
* Revert "s4:provision Improve the handling of provision errors"Matthias Dieter Wallnöfer2010-03-131-25/+18
| | | | | | This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193. Andrew, this is not Python 2.4+ compatible
* s4:provision Improve the handling of provision errorsAndrew Bartlett2010-03-111-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
* s4-provision: fixed --function-level option to provisionAndrew Tridgell2010-02-121-0/+1
| | | | we need the DS_DOMAIN_* levels imported
* provision: use message and do not display warning if the user choosed ↵Matthieu Patou2010-01-211-3/+4
| | | | delibarately posix:eadb
* provision: introduce use-xattr parameter for defining where to store attributesMatthieu Patou2010-01-211-6/+21
| | | | | This option allow simple user (non root) to invoke provision without facing an error while insuring that ACL on shared files will always be set
* s4: Set acls correctly on all sysvol and scripts sharesMatthieu Patou2010-01-211-2/+7
|
* s4: regroup gpo modification in one function, set acl on files accordingly ↵Matthieu Patou2010-01-211-1/+2
| | | | with ACL in LDAP
* s4:setup/provision - ReworkMatthias Dieter Wallnöfer2009-11-281-5/+24
| | | | | | | - Revert change in "ask" - was previously correct - Readd accidentally removed checks for non-null realm and domainname - On interactive mode perform only one "ask" call per question - Inform the user about the unset administrator password
* s4:setup/provision - make the interactive mode work againMatthias Dieter Wallnöfer2009-11-271-13/+3
|
* s4:provision Rework provision to always have a ProvisionBackendAndrew Bartlett2009-11-021-1/+1
| | | | | | | Rather than treat the LDAP backend as a special case, treat all backends the same, with different callbacks. Andrew Bartlett
* s4:provison Allow the NTDS guid on the command line (for testing)Andrew Bartlett2009-10-211-0/+3
| | | | | | This allows a blackbox test to confirm this can be set. Andrew Bartlett
* s4:provision - Change the default forest/domain function level back to ↵Matthias Dieter Wallnöfer2009-10-021-1/+1
| | | | Windows 2003 Native
* s4:provision - Lets the user choose between the supported forest/domain ↵Matthias Dieter Wallnöfer2009-09-301-8/+17
| | | | | | | function levels Adds a parameter "--function-level" which allows to specify the domain and forest function level.
* s4:group policies - add the domain controller group policyMatthias Dieter Wallnöfer2009-09-111-2/+5
| | | | | | | | | This patches fixes the last difference between s4 and Windows Server regarding group policy objects: we hadn't the domain controller policy. - Adds the domain controller policy as it is found in the "original" AD - Adds also the right version number in the GPT.INI file for the domain group policy (was missing)
* s4: Re-add --ldapadminpass as an option to provisionAndrew Bartlett2009-08-171-0/+3
| | | | | | | | This should make setting up LDAP servers more predictable. When not specified, it is random Andrew Bartlett
* s4:provision Rework provision-backend into provisionAndrew Bartlett2009-08-171-14/+21
| | | | | | | | | | | | | | | This removes a *lot* of duplicated code and the cause of much administrator frustration. We now handle starting and stopping the slapd (at least for the provision), and ensure that there is only one 'right' way to configure the OpenLDAP and Fedora DS backend We now run OpenLDAP in 'cn=config' mode for online configuration. To test what was the provision-backend code, a new --ldap-dryrun-mode option has been added to provision. It quits the provision just before it would start the LDAP binaries Andrew Bartlett
* provision: Remove unused imports.Jelmer Vernooij2009-07-191-4/+0
|
* Use convenience function for finding setup_dir based on location ofJelmer Vernooij2009-02-111-2/+2
| | | | python module.
* --interactive doesn't take any argument.Jelmer Vernooij2009-02-111-1/+1
|
* Use script path to find the setup directory.Jelmer Vernooij2009-01-211-1/+1
|
* Make sure server_role gets initialized in backend provisioning code -Jelmer Vernooij2009-01-191-1/+1
| | | | fixes test.
* Don't give fatal python errors when guessing the realmAndrew Bartlett2009-01-191-2/+12
|
* Use fqdn rather than gethostname when guessing realm.Jelmer Vernooij2009-01-051-1/+1
|
* Move tests for ParamFile.Jelmer Vernooij2008-12-211-1/+1
|
* Fix various Python-related bugs.Jelmer Vernooij2008-12-211-1/+2
|
* Avoid use of parentheses in Python import statements, as it's not supported ↵Jelmer Vernooij2008-12-191-3/+1
| | | | by Python2.3.
* s4/provision: Upper case default realm, use only first part of realm as ↵Jelmer Vernooij2008-12-161-2/+2
| | | | default domain name.
* Add interactive flag to setup/provision (also the default when no arguments ↵Jelmer Vernooij2008-12-111-2/+27
| | | | are given).