summaryrefslogtreecommitdiffstats
path: root/source4/setup/provision
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Connect to the LDAP backend with SASL credentials.Andrew Bartlett2008-07-151-1/+3
| | | | | | | | | | | | | | | This reworks our LDAP backend code to move from anonymous access to a shared-secret SASL-protected connection. (SASL selects NTLM or DIGEST-MD5 on my system). To get this working, we must pre-populate the LDAP backend with a DN to store ths SASL secret on, and we use back-ldif for this. This gives us a reasonable basis to deploy a replicated OpenLDAP backend solution. Andrew Bartlett (This used to be commit cd0745253c4a9ec59a035e830e54d74a05b71aaa)
* Move more modules inside of the samba package.Jelmer Vernooij2008-05-211-2/+2
| | | | (This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
* Set sys.path for running inside source tree.Jelmer Vernooij2008-05-111-1/+2
| | | | (This used to be commit b507109bb676715f7d9616e13b0e19305e9c2559)
* Use system python rather than smbpython.Jelmer Vernooij2008-05-111-0/+2
| | | | (This used to be commit d3df51cd01e53383dcc05923d248db03bc6f62e9)
* make the SMB2 negotiated read and write size settable in smb.confAndrew Tridgell2008-04-141-0/+2
| | | | | | | | | | | parametic options: smb2:max read size = NNN smb2:max write size = NNN The defaults are 65536, which is what Vista sets, and what we previously set (This used to be commit 9e60164cae42b5dd95720e48301a2ac57e95482a)
* Fix conflicts in setup/provision script.Andrew Bartlett2008-04-021-8/+0
| | | | (This used to be commit 696b58f5dd8370b7ee0670c7a3e5db10234b41ff)
* Fix merge of my host GUID removal and the IPv6 addition to provisionAndrew Bartlett2008-04-021-1/+11
|\ | | | | | | | | | | | | Merge branch 'v4-0-ipv6' of git://git.id10ts.net/samba into 4-0-abartlet Andrew Bartlett (This used to be commit d3336684f084f984500dd0893dd01bcfc5be0ab1)
| * provision: Add support for IPv6 (bz #4593).Andrew Kroeger2008-04-011-2/+4
| | | | | | | | (This used to be commit 8585a3c77d5dfe97bca3f08716fc06ac2819f578)