summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-provision Add initial support for joining as a new subdomainAndrew Bartlett2011-09-137-327/+458
| | | | | | | | To do this we need to reorganise a lot of the provision code, so that we can create the framework for the inbound replicaton of the config and schema partitions and then add in the new subdomain locally. Andrew Bartlett
* s4-python: Fix some formatting issues.Jelmer Vernooij2011-09-136-193/+219
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Sep 13 03:51:13 CEST 2011 on sn-devel-104
* s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij2011-09-1326-82/+153
| | | | places.
* Add samba.tests.source, which checks Python files for copyright lines, ↵Jelmer Vernooij2011-09-132-0/+169
| | | | license headers and invalid characters (dos newlines, tabs).
* testparm.py: Use standard formatting of header.Jelmer Vernooij2011-09-131-10/+10
|
* group.py: Remove tab characters.Jelmer Vernooij2011-09-131-2/+2
|
* drs.py: Remove tab characters.Jelmer Vernooij2011-09-131-36/+36
|
* domain.py: Remove tab characters.Jelmer Vernooij2011-09-131-12/+13
|
* delegation.py: Remove tab characters.Jelmer Vernooij2011-09-131-2/+2
|
* drs_utils.py: Remove tab characters.Jelmer Vernooij2011-09-131-9/+9
|
* s4:lib/socket/interface.c - "ifaces" strictly needs to be initialisedMatthias Dieter Wallnöfer2011-09-121-1/+1
| | | | | | | | | | | | Please consider a failing "get_interfaces" call and the "talloc_free()" operation on a possible uninitialised "ifaces" on line 326. https://bugzilla.samba.org/show_bug.cgi?id=8397 Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Sep 12 23:49:12 CEST 2011 on sn-devel-104
* s4-s3-upgrade Remove upgrade_from_s3 script, use samba-tool domain samba3upgradeAndrew Bartlett2011-09-122-134/+5
|
* samba-tool: Add "domain samba3upgrade" subcommandAmitay Isaacs2011-09-121-1/+107
| | | | | | | Added new command to upgrade from samba3 to samba4. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-s3-upgrade: Check for duplicate sids before provisioningAmitay Isaacs2011-09-121-0/+10
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Fix the informational message from dns provisioningAmitay Isaacs2011-09-121-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Create private dir for dns in a separate functionAmitay Isaacs2011-09-121-12/+29
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-s3-upgrade: Check for common user/group names before provisioningAmitay Isaacs2011-09-121-0/+10
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Generate appropriate named.conf file depending on dns_backendAmitay Isaacs2011-09-121-17/+31
| | | | | | | | | | | For --dns_backend=BIND9, generate the dns zone file, and named.conf with zone information. For --dns-backend=BIND9_DLZ, generate the named.conf with dlz directive. If no option is specified, default dns_backend is BIND9. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Remove dupliate creation of dns/spn_update_list filesAmitay Isaacs2011-09-121-8/+1
| | | | | | | dns_update_list and spn_update_list are set up using create_dns_update_list() function. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Add named.conf template for BIND9 with DLZ supportAmitay Isaacs2011-09-121-0/+14
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Add Seperate instructions for BIND 9.7.x and 9.8.x.Amitay Isaacs2011-09-121-33/+53
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-provision: Enable SPNs for DNSAmitay Isaacs2011-09-121-3/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:samba-tool/domain.py - rename arguments "domain" -> "domain-level", ↵Matthias Dieter Wallnöfer2011-09-111-12/+12
| | | | | | | | | | | "forest" -> "forest-level" This should clarify the scope of them. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Sep 11 20:12:52 CEST 2011 on sn-devel-104
* s4:samba-tool/domain.py - restore domain raise functionalityMatthias Dieter Wallnöfer2011-09-111-1/+16
| | | | | | | The samba-tool command has accidentally been damaged by commit 2d4988c3d79e501003875cd26b7f9aaa72402b31. Reviewed-by: Jelmer
* lib/util/charset Run charset sets with and without the system iconvAndrew Bartlett2011-09-102-0/+9
| | | | | | | | We need to know that we can load the samba-provided modules, and that they are correct. However, we must mark a number of tests as knownfail due to errors in our internal iconv modules. Andrew Bartlett
* s4-s3-upgrade Do not use python 2.6 style exceptionsAndrew Bartlett2011-09-091-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 9 08:54:16 CEST 2011 on sn-devel-104
* samba-tool: epilog option to OptionParser available in python >= 2.6Amitay Isaacs2011-09-095-8/+5
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Provide feedback if synopsis is not defined for a commandAmitay Isaacs2011-09-091-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: max() with key option is available in python >= 2.6Amitay Isaacs2011-09-091-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Correctly handle sys.exit() called from subcommandAmitay Isaacs2011-09-091-1/+3
| | | | | | | Catch SystemExit exception if any subcommand calls sys.exit() and return with failure (-1). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "ldapcmp" command synopsisGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Fixed "ldapcmp" command syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "dbcheck" subcommand syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Fixed syntax for "dbcheck" subcommand Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Moved _get_user_realm_domain fcn to commonGiampaolo Lauria2011-09-093-47/+29
| | | | | | | _get_user_realm_domain is used by both delegation and spn commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "testparm" syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "user" command syntaxGiampaolo Lauria2011-09-091-1/+2
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "rodc" syntaxGiampaolo Lauria2011-09-091-1/+3
| | | | | | | Remove options from syntax to be consistent w/ the rest of commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "ntacl" subcommands syntaxGiampaolo Lauria2011-09-091-2/+2
| | | | | | | Removed options from syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "group" subcommands syntaxGiampaolo Lauria2011-09-091-4/+4
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "dsacl" command syntaxGiampaolo Lauria2011-09-091-1/+1
| | | | | | | Removed option from syntax to be consistent w/ the rest of commands Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "drs" subcommands syntaxGiampaolo Lauria2011-09-091-8/+17
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "domain" subcommands syntaxGiampaolo Lauria2011-09-091-7/+8
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "spn" command syntaxGiampaolo Lauria2011-09-091-5/+17
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "delegation" command syntaxGiampaolo Lauria2011-09-091-7/+24
| | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Fixed "time" command synopsisGiampaolo Lauria2011-09-091-1/+1
| | | | | | | | "server_name" is an optional parameter added "options" parameter Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed "acl" commandGiampaolo Lauria2011-09-092-36/+0
| | | | | | | | Removed "acl" command as it has been changed to: "dsacl" and "ntacl" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "ntacl" commandGiampaolo Lauria2011-09-093-7/+13
| | | | | | | Added "ntacl" command to substitute "acl nt" command Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "dsacl" commandGiampaolo Lauria2011-09-093-5/+9
| | | | | | | Added "dsacl" command to substitute "acl ds" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Changed fsmo implementationGiampaolo Lauria2011-09-091-68/+130
| | | | | | | Changed fsmo code to fit the object <action> model Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Expanded acronym descriptionsGiampaolo Lauria2011-09-099-8/+9
| | | | | | | | Expanded command acronym descriptions Added footnote for "server connection needed" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Formatted subcommand list outputGiampaolo Lauria2011-09-091-1/+2
| | | | | | | | Formatted output of subcommand list to be a function of the max number of chars in the longest string Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>