rusty/samba.git
12 years agoccan: configure check for HAVE_BUILTIN_CHOOSE_EXPR
Rusty Russell [Tue, 13 Sep 2011 21:35:13 +0000 (07:05 +0930)]
ccan: configure check for HAVE_BUILTIN_CHOOSE_EXPR

We weren't testing for this, and without it, typesafe_cb just casts
its function argument.  This is why I didn't get a warning when one of
my patches amended a function incorrectly.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
12 years agos3:smb2cli: split cli->smb2.gss_blob from cli->secblob
Stefan Metzmacher [Tue, 13 Sep 2011 19:47:33 +0000 (21:47 +0200)]
s3:smb2cli: split cli->smb2.gss_blob from cli->secblob

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Sep 13 23:34:13 CEST 2011 on sn-devel-104

12 years agos3:net_time: make use of cli_state_server_time_zone() and cli_state_server_time()
Stefan Metzmacher [Tue, 13 Sep 2011 19:48:58 +0000 (21:48 +0200)]
s3:net_time: make use of cli_state_server_time_zone() and cli_state_server_time()

metze

12 years agos3:libsmb: make use of cli_state_server_time_zone()
Stefan Metzmacher [Tue, 13 Sep 2011 18:43:10 +0000 (20:43 +0200)]
s3:libsmb: make use of cli_state_server_time_zone()

metze

12 years agos3:libsmb: add cli_state_server_time()
Stefan Metzmacher [Tue, 13 Sep 2011 19:41:17 +0000 (21:41 +0200)]
s3:libsmb: add cli_state_server_time()

metze

12 years agos3:libsmb: add cli_state_server_time_zone()
Stefan Metzmacher [Tue, 13 Sep 2011 18:42:20 +0000 (20:42 +0200)]
s3:libsmb: add cli_state_server_time_zone()

metze

12 years agos3:libsmb: make use of cli_state_server_session_key()
Stefan Metzmacher [Tue, 13 Sep 2011 16:39:51 +0000 (18:39 +0200)]
s3:libsmb: make use of cli_state_server_session_key()

metze

12 years agos3:libsmb: add cli_state_server_session_key()
Stefan Metzmacher [Tue, 13 Sep 2011 16:36:56 +0000 (18:36 +0200)]
s3:libsmb: add cli_state_server_session_key()

metze

12 years agos3:libsmb: make use of cli_state_security_mode()
Stefan Metzmacher [Tue, 13 Sep 2011 14:47:24 +0000 (16:47 +0200)]
s3:libsmb: make use of cli_state_security_mode()

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Sep 13 19:45:01 CEST 2011 on sn-devel-104

12 years agos3:winbindd_cm: make use of cli_state_security_mode()
Stefan Metzmacher [Tue, 13 Sep 2011 14:46:39 +0000 (16:46 +0200)]
s3:winbindd_cm: make use of cli_state_security_mode()

metze

12 years agos3:auth_server: make use of cli_state_security_mode()
Stefan Metzmacher [Tue, 13 Sep 2011 14:45:38 +0000 (16:45 +0200)]
s3:auth_server: make use of cli_state_security_mode()

metze

12 years agos3:libsmb: add cli_state_security_mode()
Stefan Metzmacher [Tue, 13 Sep 2011 14:45:04 +0000 (16:45 +0200)]
s3:libsmb: add cli_state_security_mode()

metze

12 years agos3:libsmb: make use of cli_state_max_requests() in cli_push_send()
Stefan Metzmacher [Tue, 13 Sep 2011 14:30:56 +0000 (16:30 +0200)]
s3:libsmb: make use of cli_state_max_requests() in cli_push_send()

metze

12 years agos3:libsmb: make use of cli_state_max_requests() in cli_pull_send()
Stefan Metzmacher [Tue, 13 Sep 2011 14:30:30 +0000 (16:30 +0200)]
s3:libsmb: make use of cli_state_max_requests() in cli_pull_send()

metze

12 years agos3:libsmb: add cli_state_max_requests()
Stefan Metzmacher [Tue, 13 Sep 2011 14:24:35 +0000 (16:24 +0200)]
s3:libsmb: add cli_state_max_requests()

metze

12 years agos3:libsmb: make sure cli->max_mux is valid in the return of the server
Stefan Metzmacher [Tue, 13 Sep 2011 15:05:51 +0000 (17:05 +0200)]
s3:libsmb: make sure cli->max_mux is valid in the return of the server

metze

12 years agos3:libsmb: set the MID to 0 in cli_setup_packet_buf()
Stefan Metzmacher [Tue, 13 Sep 2011 13:06:03 +0000 (15:06 +0200)]
s3:libsmb: set the MID to 0 in cli_setup_packet_buf()

It's allocated when sending the request.

metze

12 years agos3:libsmb: check that max_xmit is not less than 1024
Stefan Metzmacher [Tue, 13 Sep 2011 14:02:16 +0000 (16:02 +0200)]
s3:libsmb: check that max_xmit is not less than 1024

metze

12 years agos3:libsmb: better expect a max_xmit of 1024 instead of 0xFFFF for the CORE protocol
Stefan Metzmacher [Tue, 13 Sep 2011 13:59:37 +0000 (15:59 +0200)]
s3:libsmb: better expect a max_xmit of 1024 instead of 0xFFFF for the CORE protocol

metze

12 years agos3:torture: there's no need to alter cli->max_xmit in order to test large writes
Stefan Metzmacher [Tue, 13 Sep 2011 11:14:41 +0000 (13:14 +0200)]
s3:torture: there's no need to alter cli->max_xmit in order to test large writes

metze

12 years agos3:libsmb: don't mix smb2 share capabilities with smb1 capabilities
Stefan Metzmacher [Tue, 13 Sep 2011 11:49:15 +0000 (13:49 +0200)]
s3:libsmb: don't mix smb2 share capabilities with smb1 capabilities

metze

12 years agos3:libsmb: the smb2 server capabilities from the session setup are 32-bit
Stefan Metzmacher [Tue, 13 Sep 2011 11:48:03 +0000 (13:48 +0200)]
s3:libsmb: the smb2 server capabilities from the session setup are 32-bit

metze

12 years agoldb:pyldb.c - "py_ldb_rename" remove superflous "ldb" pointer
Matthias Dieter Wallnöfer [Tue, 13 Sep 2011 13:01:51 +0000 (15:01 +0200)]
ldb:pyldb.c - "py_ldb_rename" remove superflous "ldb" pointer

Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Sep 13 18:11:18 CEST 2011 on sn-devel-104

12 years agos4-s3-upgrade Improve samba-tool domain samba3upgrade behaviour
Andrew Bartlett [Tue, 13 Sep 2011 11:02:43 +0000 (21:02 +1000)]
s4-s3-upgrade Improve samba-tool domain samba3upgrade behaviour

The --realm argument is again optional (the previous code would take the default
from the default smb.conf, not the one specified) and --targetdir is now a
named argument much like it is to provision.

We now test the --testparm option to ensure it behaves the way we expect.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Sep 13 16:30:31 CEST 2011 on sn-devel-104

12 years agos4:upgrade_from_s3 - restore "get_testparm_var" method
Matthias Dieter Wallnöfer [Mon, 12 Sep 2011 18:57:10 +0000 (20:57 +0200)]
s4:upgrade_from_s3 - restore "get_testparm_var" method

This has accidentally been removed by commit 8268c2d4e231b05b439bc70331b75342b35daa4e.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos3:torture: use CLI_BUFFER_SIZE instead of cli->max_xmit
Stefan Metzmacher [Tue, 13 Sep 2011 11:12:09 +0000 (13:12 +0200)]
s3:torture: use CLI_BUFFER_SIZE instead of cli->max_xmit

The max_data parameter of trans2/nttrans calls are not bound
to cli->max_xmit. Even with cli->max_xmit, which means the max
size of the whole SMB pdu, we would get fragmented trans2/nttrans
replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Sep 13 14:52:35 CEST 2011 on sn-devel-104

12 years agos3:libsmb: make use of cli_state_available_size() in cli_smbwrite()
Stefan Metzmacher [Tue, 13 Sep 2011 11:10:33 +0000 (13:10 +0200)]
s3:libsmb: make use of cli_state_available_size() in cli_smbwrite()

metze

12 years agos3:libsmb: make use of cli_state_available_size() in cli_write_max_bufsize()
Stefan Metzmacher [Tue, 13 Sep 2011 09:39:07 +0000 (11:39 +0200)]
s3:libsmb: make use of cli_state_available_size() in cli_write_max_bufsize()

metze

12 years agos3:libsmb: make use of cli_state_available_size() in cli_read_max_bufsize()
Stefan Metzmacher [Tue, 13 Sep 2011 09:38:21 +0000 (11:38 +0200)]
s3:libsmb: make use of cli_state_available_size() in cli_read_max_bufsize()

metze

12 years agos3:libsmb: make use of cli_state_available_size() in cli_list_old_send()
Stefan Metzmacher [Tue, 13 Sep 2011 09:37:20 +0000 (11:37 +0200)]
s3:libsmb: make use of cli_state_available_size() in cli_list_old_send()

metze

12 years agos3:libsmb: make use of cli_state_available_size() in cli_sesssetup_blob_send()
Stefan Metzmacher [Tue, 13 Sep 2011 09:35:53 +0000 (11:35 +0200)]
s3:libsmb: make use of cli_state_available_size() in cli_sesssetup_blob_send()

metze

12 years agos3:libsmb: make use of cli_state_available_size() in cli_trans_format()
Stefan Metzmacher [Tue, 13 Sep 2011 09:34:33 +0000 (11:34 +0200)]
s3:libsmb: make use of cli_state_available_size() in cli_trans_format()

metze

12 years agos3:libsmb: add cli_state_available_size()
Stefan Metzmacher [Tue, 13 Sep 2011 09:23:49 +0000 (11:23 +0200)]
s3:libsmb: add cli_state_available_size()

metze

12 years agos3:clitar: remove unused/not existing extern variables
Stefan Metzmacher [Tue, 13 Sep 2011 06:44:17 +0000 (08:44 +0200)]
s3:clitar: remove unused/not existing extern variables

metze

12 years agos3: Fix Coverity ID 2613 -- UNINIT
Volker Lendecke [Tue, 13 Sep 2011 08:47:15 +0000 (10:47 +0200)]
s3: Fix Coverity ID 2613 -- UNINIT

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Sep 13 12:39:10 CEST 2011 on sn-devel-104

12 years agos3: Fix Coverity ID 2614 -- UNINIT
Volker Lendecke [Tue, 13 Sep 2011 08:46:32 +0000 (10:46 +0200)]
s3: Fix Coverity ID 2614 -- UNINIT

12 years agos3: Make saf_join_key() use talloc
Volker Lendecke [Mon, 12 Sep 2011 19:11:57 +0000 (21:11 +0200)]
s3: Make saf_join_key() use talloc

12 years agos3: Make saf_key() use talloc
Volker Lendecke [Mon, 12 Sep 2011 19:07:16 +0000 (21:07 +0200)]
s3: Make saf_key() use talloc

12 years agos3: Disentangle resolve_name() a bit
Volker Lendecke [Mon, 12 Sep 2011 18:56:13 +0000 (20:56 +0200)]
s3: Disentangle resolve_name() a bit

12 years agos3: Remove a reference to smbd_server_conn
Volker Lendecke [Mon, 12 Sep 2011 15:33:26 +0000 (17:33 +0200)]
s3: Remove a reference to smbd_server_conn

12 years agos3: Remove a reference to smbd_server_conn
Volker Lendecke [Mon, 12 Sep 2011 15:32:39 +0000 (17:32 +0200)]
s3: Remove a reference to smbd_server_conn

12 years agos3: Remove a reference to smbd_server_conn
Volker Lendecke [Mon, 12 Sep 2011 15:30:51 +0000 (17:30 +0200)]
s3: Remove a reference to smbd_server_conn

12 years agos3: Remove a reference to smbd_server_conn
Volker Lendecke [Mon, 12 Sep 2011 15:30:40 +0000 (17:30 +0200)]
s3: Remove a reference to smbd_server_conn

12 years agos3: Remove a reference to smbd_server_conn
Volker Lendecke [Mon, 12 Sep 2011 15:23:07 +0000 (17:23 +0200)]
s3: Remove a reference to smbd_server_conn

12 years agos3: Fix some nonempty blank lines
Volker Lendecke [Mon, 12 Sep 2011 15:19:27 +0000 (17:19 +0200)]
s3: Fix some nonempty blank lines

12 years agos3-selftest use a more portable shell syntax
Andrew Bartlett [Tue, 13 Sep 2011 05:19:46 +0000 (15:19 +1000)]
s3-selftest use a more portable shell syntax

"$10" evaulates to $1 and 0, not the 10th argument.

Thanks to Amitay for pointing this out!

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Sep 13 09:34:49 CEST 2011 on sn-devel-104

12 years agoscript/librelease.sh: automate Samba4 alpha releases
Andrew Bartlett [Tue, 13 Sep 2011 05:18:52 +0000 (15:18 +1000)]
script/librelease.sh: automate Samba4 alpha releases

12 years agos4-subdomain: match windows form for trustAuthInOutBlob
Andrew Tridgell [Wed, 7 Sep 2011 07:22:49 +0000 (17:22 +1000)]
s4-subdomain: match windows form for trustAuthInOutBlob

Windows does not put a version element in the array

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

12 years agos4-subdomain: fixed domain guid choice for subdomain join
Andrew Tridgell [Wed, 7 Sep 2011 07:21:07 +0000 (17:21 +1000)]
s4-subdomain: fixed domain guid choice for subdomain join

We need to use the domain GUID that the server choose in the ncName
link

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

12 years agos4-subdomain: don't delete account DN not created in subdomain join
Andrew Tridgell [Mon, 5 Sep 2011 07:23:48 +0000 (17:23 +1000)]
s4-subdomain: don't delete account DN not created in subdomain join

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

12 years agos4-subdomain: use a password length of 128
Andrew Tridgell [Mon, 5 Sep 2011 06:45:28 +0000 (16:45 +1000)]
s4-subdomain: use a password length of 128

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>

12 years agos4-join: fixed non-subdomain join
Andrew Tridgell [Mon, 5 Sep 2011 06:43:26 +0000 (16:43 +1000)]
s4-join: fixed non-subdomain join

these two vars need to be initialised for general join

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

12 years agos4-subdomain: fixed invocationID and hostIPs in subdomain join
Andrew Tridgell [Fri, 2 Sep 2011 05:12:11 +0000 (15:12 +1000)]
s4-subdomain: fixed invocationID and hostIPs in subdomain join

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

12 years agos4-subdomain more work on sub-domain join
Andrew Bartlett [Fri, 26 Aug 2011 03:23:41 +0000 (13:23 +1000)]
s4-subdomain more work on sub-domain join

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>

12 years agos4: add createtrust tool for testing
Andrew Bartlett [Fri, 2 Sep 2011 00:35:46 +0000 (10:35 +1000)]
s4: add createtrust tool for testing

12 years agoselftest: add test for subdomain support
Andrew Bartlett [Thu, 25 Aug 2011 11:47:03 +0000 (21:47 +1000)]
selftest: add test for subdomain support

12 years agos4-join Add a partitions DN when we join a subdomain
Andrew Bartlett [Fri, 26 Aug 2011 06:07:05 +0000 (16:07 +1000)]
s4-join Add a partitions DN when we join a subdomain

12 years agos4-provision Perform 'modify' operations as system
Andrew Bartlett [Thu, 25 Aug 2011 09:15:13 +0000 (19:15 +1000)]
s4-provision Perform 'modify' operations as system

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

12 years agos4-join supply the NTDS GUID to the provision
Andrew Bartlett [Thu, 25 Aug 2011 09:13:34 +0000 (19:13 +1000)]
s4-join supply the NTDS GUID to the provision

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

12 years agos4-provision Split addition of users and well known principals
Andrew Bartlett [Thu, 25 Aug 2011 03:18:43 +0000 (13:18 +1000)]
s4-provision Split addition of users and well known principals

If we are provisioning a subdomain, then these are already in
cn=configuration.

Andrew Bartlett

12 years agos4-provision Add initial support for joining as a new subdomain
Andrew Bartlett [Wed, 24 Aug 2011 05:39:51 +0000 (15:39 +1000)]
s4-provision Add initial support for joining as a new subdomain

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

12 years agostart work on Samba 4.0 alpha18
Andrew Bartlett [Tue, 13 Sep 2011 01:39:09 +0000 (11:39 +1000)]
start work on Samba 4.0 alpha18

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Sep 13 05:44:47 CEST 2011 on sn-devel-104

12 years agoRelease Samba 4.0 alpha17
Andrew Bartlett [Tue, 13 Sep 2011 01:38:30 +0000 (11:38 +1000)]
Release Samba 4.0 alpha17

12 years agoWHATSNEW: more information on running dbcheck
Andrew Tridgell [Tue, 13 Sep 2011 02:05:00 +0000 (12:05 +1000)]
WHATSNEW: more information on running dbcheck

12 years agos4-python: Fix some formatting issues.
Jelmer Vernooij [Mon, 12 Sep 2011 23:27:50 +0000 (01:27 +0200)]
s4-python: Fix some formatting issues.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Sep 13 03:51:13 CEST 2011 on sn-devel-104

12 years agos4-python: Consistently use spaces rather than tabs, fix headers in several places.
Jelmer Vernooij [Mon, 12 Sep 2011 23:10:37 +0000 (01:10 +0200)]
s4-python: Consistently use spaces rather than tabs, fix headers in several places.

12 years agoAdd samba.tests.source, which checks Python files for copyright lines, license header...
Jelmer Vernooij [Mon, 12 Sep 2011 23:09:16 +0000 (01:09 +0200)]
Add samba.tests.source, which checks Python files for copyright lines, license headers and invalid characters (dos newlines, tabs).

12 years agotestparm.py: Use standard formatting of header.
Jelmer Vernooij [Mon, 12 Sep 2011 22:20:57 +0000 (00:20 +0200)]
testparm.py: Use standard formatting of header.

12 years agogroup.py: Remove tab characters.
Jelmer Vernooij [Mon, 12 Sep 2011 22:20:17 +0000 (00:20 +0200)]
group.py: Remove tab characters.

12 years agodrs.py: Remove tab characters.
Jelmer Vernooij [Mon, 12 Sep 2011 22:20:03 +0000 (00:20 +0200)]
drs.py: Remove tab characters.

12 years agodomain.py: Remove tab characters.
Jelmer Vernooij [Mon, 12 Sep 2011 22:19:51 +0000 (00:19 +0200)]
domain.py: Remove tab characters.

12 years agodelegation.py: Remove tab characters.
Jelmer Vernooij [Mon, 12 Sep 2011 22:19:45 +0000 (00:19 +0200)]
delegation.py: Remove tab characters.

12 years agodrs_utils.py: Remove tab characters.
Jelmer Vernooij [Mon, 12 Sep 2011 22:19:24 +0000 (00:19 +0200)]
drs_utils.py: Remove tab characters.

12 years agos4:lib/socket/interface.c - "ifaces" strictly needs to be initialised
Matthias Dieter Wallnöfer [Mon, 12 Sep 2011 13:45:11 +0000 (15:45 +0200)]
s4:lib/socket/interface.c - "ifaces" strictly needs to be initialised

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

12 years agoMove the talloc_move call until *after* the check on status. Don't want to move somet...
Jeremy Allison [Mon, 12 Sep 2011 18:23:17 +0000 (11:23 -0700)]
Move the talloc_move call until *after* the check on status. Don't want to 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

12 years agos3:libsmb: check the wct of the incoming SMBnegprot responses
Stefan Metzmacher [Mon, 12 Sep 2011 05:13:56 +0000 (07:13 +0200)]
s3:libsmb: check the wct of the incoming SMBnegprot responses

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Sep 12 20:50:27 CEST 2011 on sn-devel-104

12 years agos3:libsmb: let cli_pull_raw_error() return NT_STATUS_OK as DOS-Error success
Stefan Metzmacher [Mon, 12 Sep 2011 07:45:13 +0000 (09:45 +0200)]
s3:libsmb: let cli_pull_raw_error() return NT_STATUS_OK as DOS-Error success

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Sep 12 19:12:21 CEST 2011 on sn-devel-104

12 years agos3-auth: fix uninitialized server_info
Sumit Bose [Mon, 12 Sep 2011 13:50:31 +0000 (15:50 +0200)]
s3-auth: fix uninitialized server_info

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

12 years agos3-lsa: Add conversion for auth info structs
Sumit Bose [Thu, 1 Sep 2011 16:18:31 +0000 (18:18 +0200)]
s3-lsa: Add conversion for auth info structs

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

12 years agodoc: suggest samba-tool dbcheck in upgrading-samba4.txt
Andrew Bartlett [Mon, 12 Sep 2011 10:41:29 +0000 (20:41 +1000)]
doc: suggest samba-tool dbcheck in upgrading-samba4.txt

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Sep 12 14:24:20 CEST 2011 on sn-devel-104

12 years agos4-s3-upgrade Remove upgrade_from_s3 script, use samba-tool domain samba3upgrade
Andrew Bartlett [Mon, 12 Sep 2011 10:21:53 +0000 (20:21 +1000)]
s4-s3-upgrade Remove upgrade_from_s3 script, use samba-tool domain samba3upgrade

12 years agostart Samba 4.0alpha17 release notes
Andrew Bartlett [Mon, 12 Sep 2011 04:16:12 +0000 (14:16 +1000)]
start Samba 4.0alpha17 release notes

12 years agos3-selftest: Set path to bin/net and bin/wbinfo in command line to test scripts
Andrew Bartlett [Sat, 10 Sep 2011 22:16:50 +0000 (08:16 +1000)]
s3-selftest: Set path to bin/net and bin/wbinfo in command line to test scripts

This makes it easier to reproduce these tests outside the test
environment, as we rely less on environment variables.

Andrew Bartlett

12 years agosamba-tool: Add "domain samba3upgrade" subcommand
Amitay Isaacs [Mon, 12 Sep 2011 06:03:34 +0000 (16:03 +1000)]
samba-tool: Add "domain samba3upgrade" subcommand

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>
12 years agos4-s3-upgrade: Check for duplicate sids before provisioning
Amitay Isaacs [Mon, 12 Sep 2011 05:09:49 +0000 (15:09 +1000)]
s4-s3-upgrade: Check for duplicate sids before provisioning

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-provision: Fix the informational message from dns provisioning
Amitay Isaacs [Mon, 12 Sep 2011 03:17:50 +0000 (13:17 +1000)]
s4-provision: Fix the informational message from dns provisioning

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-provision: Create private dir for dns in a separate function
Amitay Isaacs [Mon, 12 Sep 2011 03:14:42 +0000 (13:14 +1000)]
s4-provision: Create private dir for dns in a separate function

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-s3-upgrade: Check for common user/group names before provisioning
Amitay Isaacs [Mon, 12 Sep 2011 02:14:00 +0000 (12:14 +1000)]
s4-s3-upgrade: Check for common user/group names before provisioning

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-provision: Generate appropriate named.conf file depending on dns_backend
Amitay Isaacs [Thu, 8 Sep 2011 05:33:41 +0000 (15:33 +1000)]
s4-provision: Generate appropriate named.conf file depending on dns_backend

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>
12 years agos4-provision: Remove dupliate creation of dns/spn_update_list files
Amitay Isaacs [Thu, 8 Sep 2011 05:29:59 +0000 (15:29 +1000)]
s4-provision: Remove dupliate creation of dns/spn_update_list files

dns_update_list and spn_update_list are set up using
create_dns_update_list() function.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-provision: Add named.conf template for BIND9 with DLZ support
Amitay Isaacs [Thu, 8 Sep 2011 05:24:11 +0000 (15:24 +1000)]
s4-provision: Add named.conf template for BIND9 with DLZ support

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-provision: Add Seperate instructions for BIND 9.7.x and 9.8.x.
Amitay Isaacs [Thu, 8 Sep 2011 04:44:44 +0000 (14:44 +1000)]
s4-provision: Add Seperate instructions for BIND 9.7.x and 9.8.x.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4-provision: Enable SPNs for DNS
Amitay Isaacs [Mon, 5 Sep 2011 06:20:00 +0000 (16:20 +1000)]
s4-provision: Enable SPNs for DNS

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
12 years agos4:samba-tool/domain.py - rename arguments "domain" -> "domain-level", "forest" ...
Matthias Dieter Wallnöfer [Sun, 11 Sep 2011 15:31:38 +0000 (17:31 +0200)]
s4:samba-tool/domain.py - rename arguments "domain" -> "domain-level", "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

12 years agos4:samba-tool/domain.py - restore domain raise functionality
Matthias Dieter Wallnöfer [Fri, 9 Sep 2011 13:27:25 +0000 (15:27 +0200)]
s4:samba-tool/domain.py - restore domain raise functionality

The samba-tool command has accidentally been damaged by commit
2d4988c3d79e501003875cd26b7f9aaa72402b31.

Reviewed-by: Jelmer
12 years agoldb:ldb_controls.c - remove duplicate definition of "LDB_CONTROL_CMP"
Matthias Dieter Wallnöfer [Wed, 22 Jun 2011 12:48:33 +0000 (14:48 +0200)]
ldb:ldb_controls.c - remove duplicate definition of "LDB_CONTROL_CMP"

And fix the comment

Reviewed-by: Jelmer
12 years agoldb:pyldb.c - point out that "PyLdbResult_AsResult" does not convert everything
Matthias Dieter Wallnöfer [Tue, 21 Jun 2011 09:11:04 +0000 (11:11 +0200)]
ldb:pyldb.c - point out that "PyLdbResult_AsResult" does not convert everything

Reviewed-by: Jelmer
12 years agolib/util/charset: the comparsion must be against our charset modules
Andrew Bartlett [Sat, 10 Sep 2011 05:51:45 +0000 (15:51 +1000)]
lib/util/charset: the comparsion must be against our charset modules

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

12 years agolib/util/charset Use name of ISO-8859-1 that matches our internal implementation
Andrew Bartlett [Sat, 10 Sep 2011 05:41:14 +0000 (15:41 +1000)]
lib/util/charset Use name of ISO-8859-1 that matches our internal implementation

12 years agolib/util/charset: Improve toture assertions in iconv test
Andrew Bartlett [Sat, 10 Sep 2011 03:23:22 +0000 (13:23 +1000)]
lib/util/charset: Improve toture assertions in iconv test