summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13s4-subdomain more work on sub-domain joinAndrew Bartlett3-51/+282
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 Bartlett2-2/+123
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-13start work on Samba 4.0 alpha18Andrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Sep 13 05:44:47 CEST 2011 on sn-devel-104
2011-09-13Release Samba 4.0 alpha17Andrew Bartlett1-1/+1
2011-09-13WHATSNEW: more information on running dbcheckAndrew Tridgell1-0/+15
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-12Move the talloc_move call until *after* the check on status. Don't want to ↵Jeremy Allison1-3/+3
move something that might be invalid. Makes the code match what is currently in 3.6.x. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Sep 12 22:21:24 CEST 2011 on sn-devel-104
2011-09-12s3:libsmb: check the wct of the incoming SMBnegprot responsesStefan Metzmacher1-0/+10
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 12 20:50:27 CEST 2011 on sn-devel-104
2011-09-12s3:libsmb: let cli_pull_raw_error() return NT_STATUS_OK as DOS-Error successStefan Metzmacher1-1/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Sep 12 19:12:21 CEST 2011 on sn-devel-104
2011-09-12s3-auth: fix uninitialized server_infoSumit Bose1-0/+4
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Sep 12 17:44:46 CEST 2011 on sn-devel-104
2011-09-12s3-lsa: Add conversion for auth info structsSumit Bose8-37/+608
struct lsa_TrustDomainInfoAuthInfo and struct trustAuthInOutBlob can store the same information for different usage. The added routines can convert one struct into the other. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Sep 12 15:52:17 CEST 2011 on sn-devel-104
2011-09-12doc: suggest samba-tool dbcheck in upgrading-samba4.txtAndrew Bartlett1-6/+9
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Sep 12 14:24:20 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-12start Samba 4.0alpha17 release notesAndrew Bartlett1-31/+53
2011-09-12s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scriptsAndrew Bartlett6-27/+32
This makes it easier to reproduce these tests outside the test environment, as we rely less on environment variables. Andrew Bartlett
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-11ldb:ldb_controls.c - remove duplicate definition of "LDB_CONTROL_CMP"Matthias Dieter Wallnöfer1-11/+3
And fix the comment Reviewed-by: Jelmer
2011-09-11ldb:pyldb.c - point out that "PyLdbResult_AsResult" does not convert everythingMatthias Dieter Wallnöfer1-1/+4
Reviewed-by: Jelmer
2011-09-10lib/util/charset: the comparsion must be against our charset modulesAndrew Bartlett1-2/+2
There is little point testing this against the system iconv. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Sep 10 15:45:42 CEST 2011 on sn-devel-104
2011-09-10lib/util/charset Use name of ISO-8859-1 that matches our internal implementationAndrew Bartlett1-44/+44
2011-09-10lib/util/charset: Improve toture assertions in iconv testAndrew Bartlett1-1/+14
2011-09-10lib/util/charset Run charset sets with and without the system iconvAndrew Bartlett5-14/+37
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-10lib/util/charset: add back loading of charset modulesAndrew Bartlett3-39/+76
For autoconf builds these remain as modules, for waf builds they are built into the charset library. This is required to provide the CP850 charset when iconv is not available. The charset modules static for the waf builds because with proper shared libs, there isn't the same need for these to be in seperate .so files. The modules are also not produced if a system iconv is found, except for developers, to allow testing of both code paths. Andrew Bartlett
2011-09-10libcli/smb: s/FLAGS2_UNKNOWN_BIT4/FLAGS2_SMB_SECURITY_SIGNATURES_REQUIREDStefan Metzmacher2-2/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 10 00:34:50 CEST 2011 on sn-devel-104