summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13script/librelease.sh: automate Samba4 alpha releasesAndrew Bartlett1-19/+0
2011-09-13s4-subdomain: match windows form for trustAuthInOutBlobAndrew Tridgell1-11/+3
Windows does not put a version element in the array Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-13s4-subdomain: fixed domain guid choice for subdomain joinAndrew Tridgell1-4/+13
We need to use the domain GUID that the server choose in the ncName link Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-13s4-subdomain: don't delete account DN not created in subdomain joinAndrew Tridgell1-5/+8
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-13s4-subdomain: use a password length of 128Andrew Tridgell1-1/+1
windows seems to use a fixed size for this password. It is possible that windows servers can only handle one size, given we have observed some strange behaviour from the windows kdc when we setup trusts Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-13s4-join: fixed non-subdomain joinAndrew Tridgell1-0/+2
these two vars need to be initialised for general join Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-13s4-subdomain: fixed invocationID and hostIPs in subdomain joinAndrew Tridgell2-14/+18
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-13s4-subdomain more work on sub-domain joinAndrew Bartlett2-49/+280
we can now create a subdomain of an existing windows domain using: samba-tool domain join sub.domain.dns.name subdomain The ordering of the creation of the key records is quite tricky, especially for the NTDSDSA object Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-09-13s4: add createtrust tool for testingAndrew Bartlett1-0/+137
2011-09-13selftest: add test for subdomain supportAndrew Bartlett1-2/+3
2011-09-13s4-join Add a partitions DN when we join a subdomainAndrew Bartlett1-0/+16
2011-09-13s4-provision Perform 'modify' operations as systemAndrew Bartlett3-13/+20
We need this so that we can modify the cn=configuration partition when we are setting up a new subdomain. The serverReference on our ${SERVERDN} is in that partition, and without this change creating a new subdomain fails due to ACLs. Andrew Bartlett
2011-09-13s4-join supply the NTDS GUID to the provisionAndrew Bartlett1-1/+1
Unlike other join operations, the creation of a subdomain makes local changes to the DB, so we need to pass in the NTDS GUID to ensure the one set on the object created in the parent domain is the one that is used. Andrew Bartlett
2011-09-13s4-provision Split addition of users and well known principalsAndrew Bartlett3-142/+147
If we are provisioning a subdomain, then these are already in cn=configuration. Andrew Bartlett
2011-09-13s4-provision Add initial support for joining as a new subdomainAndrew Bartlett7-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
2011-09-13s4-python: Fix some formatting issues.Jelmer Vernooij6-193/+219
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Sep 13 03:51:13 CEST 2011 on sn-devel-104
2011-09-13s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij26-82/+153
places.
2011-09-13Add samba.tests.source, which checks Python files for copyright lines, ↵Jelmer Vernooij2-0/+169
license headers and invalid characters (dos newlines, tabs).
2011-09-13testparm.py: Use standard formatting of header.Jelmer Vernooij1-10/+10
2011-09-13group.py: Remove tab characters.Jelmer Vernooij1-2/+2
2011-09-13drs.py: Remove tab characters.Jelmer Vernooij1-36/+36
2011-09-13domain.py: Remove tab characters.Jelmer Vernooij1-12/+13
2011-09-13delegation.py: Remove tab characters.Jelmer Vernooij1-2/+2
2011-09-13drs_utils.py: Remove tab characters.Jelmer Vernooij1-9/+9
2011-09-12s4:lib/socket/interface.c - "ifaces" strictly needs to be initialisedMatthias Dieter Wallnöfer1-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
2011-09-12s4-s3-upgrade Remove upgrade_from_s3 script, use samba-tool domain samba3upgradeAndrew Bartlett2-134/+5
2011-09-12samba-tool: Add "domain samba3upgrade" subcommandAmitay Isaacs1-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>
2011-09-12s4-s3-upgrade: Check for duplicate sids before provisioningAmitay Isaacs1-0/+10
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-12s4-provision: Fix the informational message from dns provisioningAmitay Isaacs1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-12s4-provision: Create private dir for dns in a separate functionAmitay Isaacs1-12/+29
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-12s4-s3-upgrade: Check for common user/group names before provisioningAmitay Isaacs1-0/+10
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-12s4-provision: Generate appropriate named.conf file depending on dns_backendAmitay Isaacs1-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>
2011-09-12s4-provision: Remove dupliate creation of dns/spn_update_list filesAmitay Isaacs1-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>
2011-09-12s4-provision: Add named.conf template for BIND9 with DLZ supportAmitay Isaacs1-0/+14
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-12s4-provision: Add Seperate instructions for BIND 9.7.x and 9.8.x.Amitay Isaacs1-33/+53
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-12s4-provision: Enable SPNs for DNSAmitay Isaacs1-3/+3
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-11s4:samba-tool/domain.py - rename arguments "domain" -> "domain-level", ↵Matthias Dieter Wallnöfer1-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
2011-09-11s4:samba-tool/domain.py - restore domain raise functionalityMatthias Dieter Wallnöfer1-1/+16
The samba-tool command has accidentally been damaged by commit 2d4988c3d79e501003875cd26b7f9aaa72402b31. Reviewed-by: Jelmer
2011-09-10lib/util/charset Run charset sets with and without the system iconvAndrew Bartlett2-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
2011-09-09s4-s3-upgrade Do not use python 2.6 style exceptionsAndrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Sep 9 08:54:16 CEST 2011 on sn-devel-104
2011-09-09samba-tool: epilog option to OptionParser available in python >= 2.6Amitay Isaacs5-8/+5
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: Provide feedback if synopsis is not defined for a commandAmitay Isaacs1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: max() with key option is available in python >= 2.6Amitay Isaacs1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: Correctly handle sys.exit() called from subcommandAmitay Isaacs1-1/+3
Catch SystemExit exception if any subcommand calls sys.exit() and return with failure (-1). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: Fixed "ldapcmp" command synopsisGiampaolo Lauria1-1/+1
Fixed "ldapcmp" command syntax Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: Fixed "dbcheck" subcommand syntaxGiampaolo Lauria1-1/+1
Fixed syntax for "dbcheck" subcommand Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: Moved _get_user_realm_domain fcn to commonGiampaolo Lauria3-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>
2011-09-09samba-tool: Fixed "testparm" syntaxGiampaolo Lauria1-1/+1
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: Fixed "user" command syntaxGiampaolo Lauria1-1/+2
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09samba-tool: Fixed "rodc" syntaxGiampaolo Lauria1-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>