kai/samba.git
7 years agos3:smbd: add a optional_support helper variable to reply_tcon_and_X() save-diskspace-tags/ldb-1.1.9
Stefan Metzmacher [Wed, 1 Aug 2012 10:01:07 +0000 (12:01 +0200)]
s3:smbd: add a optional_support helper variable to reply_tcon_and_X()

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Aug  1 18:25:26 CEST 2012 on sn-devel-104

7 years agos3:smbd: make use of TCONX_FLAG_DISCONNECT_TID define
Stefan Metzmacher [Wed, 1 Aug 2012 09:48:30 +0000 (11:48 +0200)]
s3:smbd: make use of TCONX_FLAG_DISCONNECT_TID define

metze

7 years agos3:libsmb: add a optional_support helper variable
Stefan Metzmacher [Wed, 1 Aug 2012 09:46:22 +0000 (11:46 +0200)]
s3:libsmb: add a optional_support helper variable

metze

7 years agos3:libsmb: add a tcon_flags helper variable
Stefan Metzmacher [Wed, 1 Aug 2012 09:45:36 +0000 (11:45 +0200)]
s3:libsmb: add a tcon_flags helper variable

metze

7 years agolibcli/smb: move some TCON related defines to smb_constants.h
Stefan Metzmacher [Wed, 1 Aug 2012 09:33:27 +0000 (11:33 +0200)]
libcli/smb: move some TCON related defines to smb_constants.h

metze

7 years agos3:rpc_client: rename pipe_auth_data->user_session_key to transport_session_key
Stefan Metzmacher [Wed, 1 Aug 2012 09:00:02 +0000 (11:00 +0200)]
s3:rpc_client: rename pipe_auth_data->user_session_key to transport_session_key

metze

7 years agos3:libsmb: remove unused cli_state->user_session_key
Stefan Metzmacher [Wed, 1 Aug 2012 08:50:30 +0000 (10:50 +0200)]
s3:libsmb: remove unused cli_state->user_session_key

metze

7 years agos3:utils/net_rpc*: make use of cli_get_session_key()
Stefan Metzmacher [Wed, 1 Aug 2012 08:48:53 +0000 (10:48 +0200)]
s3:utils/net_rpc*: make use of cli_get_session_key()

metze

7 years agos3:libnet_join: make use of cli_get_session_key() in libnet_join_joindomain_rpc()
Stefan Metzmacher [Wed, 1 Aug 2012 08:30:06 +0000 (10:30 +0200)]
s3:libnet_join: make use of cli_get_session_key() in libnet_join_joindomain_rpc()

metze

7 years agos3:rpc_client: make use of smbXcli_session_application_key()
Stefan Metzmacher [Wed, 1 Aug 2012 08:18:22 +0000 (10:18 +0200)]
s3:rpc_client: make use of smbXcli_session_application_key()

metze

7 years agos4:libcli/raw: remove unused smbcli_session->user_session_key
Stefan Metzmacher [Wed, 1 Aug 2012 07:41:53 +0000 (09:41 +0200)]
s4:libcli/raw: remove unused smbcli_session->user_session_key

metze

7 years agos4:librpc/dcerpc_smb2: sync smb2_session_key() with smb_session_key()
Stefan Metzmacher [Wed, 1 Aug 2012 07:10:09 +0000 (09:10 +0200)]
s4:librpc/dcerpc_smb2: sync smb2_session_key() with smb_session_key()

metze

7 years agos4:librpc/dcerpc_smb: make use of smbXcli_session_application_key()
Stefan Metzmacher [Wed, 1 Aug 2012 07:09:34 +0000 (09:09 +0200)]
s4:librpc/dcerpc_smb: make use of smbXcli_session_application_key()

metze

7 years agolibcli/smb: remove unused smb2cli_session_application_key()
Stefan Metzmacher [Wed, 1 Aug 2012 07:01:01 +0000 (09:01 +0200)]
libcli/smb: remove unused smb2cli_session_application_key()

metze

7 years agos4:librpc/dcerpc_smb2: make use of smbXcli_session_application_key()
Stefan Metzmacher [Wed, 1 Aug 2012 06:59:57 +0000 (08:59 +0200)]
s4:librpc/dcerpc_smb2: make use of smbXcli_session_application_key()

metze

7 years agolibcli/smb: add smbXcli_session_application_key()
Stefan Metzmacher [Wed, 1 Aug 2012 06:59:01 +0000 (08:59 +0200)]
libcli/smb: add smbXcli_session_application_key()

metze

7 years agos4:libcli/smb_composite: make use of smb1cli_session_set_session_key()
Stefan Metzmacher [Wed, 1 Aug 2012 06:57:40 +0000 (08:57 +0200)]
s4:libcli/smb_composite: make use of smb1cli_session_set_session_key()

metze

7 years agos4:libcli/smb_composite: always use set_user_session_key() helper
Stefan Metzmacher [Wed, 1 Aug 2012 06:55:49 +0000 (08:55 +0200)]
s4:libcli/smb_composite: always use set_user_session_key() helper

metze

7 years agos3:libsmb: make use of smb1cli_session_set_session_key()
Stefan Metzmacher [Wed, 1 Aug 2012 06:54:51 +0000 (08:54 +0200)]
s3:libsmb: make use of smb1cli_session_set_session_key()

metze

7 years agolibcli/smb: allow resetting of the smb1 application_key
Stefan Metzmacher [Wed, 1 Aug 2012 12:14:39 +0000 (14:14 +0200)]
libcli/smb: allow resetting of the smb1 application_key

We need this untill we have fixed all callers...

metze

7 years agolibcli/smb: let smb1cli_session_set_id() reset the application_key
Stefan Metzmacher [Wed, 1 Aug 2012 11:25:18 +0000 (13:25 +0200)]
libcli/smb: let smb1cli_session_set_id() reset the application_key

We have some callers which reuse smbXcli_session,
e.g. cli_state_set_uid()

metze

7 years agolibcli/smb: add smb1cli_session_set_session_key()
Stefan Metzmacher [Wed, 1 Aug 2012 06:53:30 +0000 (08:53 +0200)]
libcli/smb: add smb1cli_session_set_session_key()

metze

7 years agos3:ctdbd_conn: use unitX_t types consistently throughout the module
Michael Adam [Mon, 30 Jul 2012 13:31:59 +0000 (09:31 -0400)]
s3:ctdbd_conn: use unitX_t types consistently throughout the module

Signed-off-by: Stefan Metzmacher <metze@samba.org>
7 years agoAdd two flags to allow for handling of Extended Signatures (Session Key Protection...
Richard Sharpe [Wed, 1 Aug 2012 02:36:18 +0000 (19:36 -0700)]
Add two flags to allow for handling of Extended Signatures (Session Key Protection) on a TCON_AND_X request and response.

Autobuild-User(master): Richard Sharpe <sharpe@samba.org>
Autobuild-Date(master): Wed Aug  1 06:36:37 CEST 2012 on sn-devel-104

7 years agoMake it possible to build under Solaris make as well as FreeBSD and Linux. Also add...
Richard Sharpe [Sun, 3 Jun 2012 05:27:22 +0000 (22:27 -0700)]
Make it possible to build under Solaris make as well as FreeBSD and Linux. Also add comments on changes that might be needed

7 years agoVERSION: Move on to beta6!
Andrew Bartlett [Tue, 31 Jul 2012 02:25:56 +0000 (12:25 +1000)]
VERSION: Move on to beta6!

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 31 16:09:23 CEST 2012 on sn-devel-104

7 years agoVERSION: Mark as the beta5 release save-diskspace-tags/samba-4.0.0beta5
Andrew Bartlett [Tue, 31 Jul 2012 02:25:16 +0000 (12:25 +1000)]
VERSION: Mark as the beta5 release

7 years agoWHATSNEW: prepare for 4.0 beta5
Andrew Bartlett [Tue, 31 Jul 2012 02:24:49 +0000 (12:24 +1000)]
WHATSNEW: prepare for 4.0 beta5

7 years agos4-repl: Add tests for add replication conflicts and use of LostAndFound
Andrew Bartlett [Mon, 30 Jul 2012 06:00:58 +0000 (16:00 +1000)]
s4-repl: Add tests for add replication conflicts and use of LostAndFound

LostAndFound is used when we find children of a deleted object that are not themselves deleted.

Andrew Bartlett

7 years agos4-dsdb: Replace any existing lastKnownParent attribute during delete
Andrew Bartlett [Tue, 31 Jul 2012 00:47:57 +0000 (10:47 +1000)]
s4-dsdb: Replace any existing lastKnownParent attribute during delete

This allows a lastKnownParent from LostAndFound to be replaced.

Andrew Bartlett

7 years agos4-dsdb: Improve tracing in repl_meta_data
Andrew Bartlett [Tue, 31 Jul 2012 00:18:43 +0000 (10:18 +1000)]
s4-dsdb: Improve tracing in repl_meta_data

When we call ldb_module_done() rather than just calling the callback, we make log entries
that are critical in debugging.

Andrew Bartlett

7 years agos4-dsdb: Handle rename conflicts in both directions
Andrew Bartlett [Mon, 30 Jul 2012 02:11:35 +0000 (12:11 +1000)]
s4-dsdb: Handle rename conflicts in both directions

Previously we would only consider renaming the local object, now we can cope with
renaming the remote object as well.

This should avoid most of the cases where Samba AD replication can just stop.

Andrew Bartlett

7 years agolib/ldb: Ensure rename target does not exist before deleting old record
Andrew Bartlett [Tue, 31 Jul 2012 00:17:20 +0000 (10:17 +1000)]
lib/ldb: Ensure rename target does not exist before deleting old record

This is all in a transaction, but when we are handling rename errors in the repl_meta_data
module, we key off the error, and do not close the transaction.  We found that the
old record was gone and so could not try renaming it again to a conflict DN.

Andrew Bartlett

7 years agos4-dsdb: Request extended DN and show deleted when searching for a possible parent
Andrew Bartlett [Tue, 31 Jul 2012 07:10:42 +0000 (17:10 +1000)]
s4-dsdb: Request extended DN and show deleted when searching for a possible parent

This fixes up the lastKnownParent attribute on lostAndFound objects to have a GUID

(found by dbcheck).

Andrew Bartlett

7 years agos3: Fix Coverity ID 710791 Resource leak
Volker Lendecke [Mon, 30 Jul 2012 12:50:52 +0000 (14:50 +0200)]
s3: Fix Coverity ID 710791 Resource leak

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul 31 13:34:53 CEST 2012 on sn-devel-104

7 years agos3: Fix Coverity ID 710803 Resource leak
Volker Lendecke [Mon, 30 Jul 2012 12:48:28 +0000 (14:48 +0200)]
s3: Fix Coverity ID 710803 Resource leak

Signed-off-by: Stefan Metzmacher <metze@samba.org>
7 years agos3: Fix Coverity ID 710818 Resource leak
Volker Lendecke [Mon, 30 Jul 2012 12:45:25 +0000 (14:45 +0200)]
s3: Fix Coverity ID 710818 Resource leak

Signed-off-by: Stefan Metzmacher <metze@samba.org>
7 years agos3: Fix Coverity ID 710827 Resource leak
Volker Lendecke [Mon, 30 Jul 2012 12:41:42 +0000 (14:41 +0200)]
s3: Fix Coverity ID 710827 Resource leak

Signed-off-by: Stefan Metzmacher <metze@samba.org>
7 years agotevent: Refer to the correct header in testsuite.c
Volker Lendecke [Mon, 30 Jul 2012 07:00:13 +0000 (09:00 +0200)]
tevent: Refer to the correct header in testsuite.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
7 years agos3: Make request_timed_out() static
Volker Lendecke [Wed, 30 May 2012 09:31:13 +0000 (11:31 +0200)]
s3: Make request_timed_out() static

Signed-off-by: Stefan Metzmacher <metze@samba.org>
7 years agos3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IP
Stefan Metzmacher [Sun, 29 Jul 2012 21:23:09 +0000 (23:23 +0200)]
s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IP

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Jul 31 11:33:27 CEST 2012 on sn-devel-104

7 years agos3:smbd: use print_sockaddr() instead of client_socket_addr()
Stefan Metzmacher [Sun, 29 Jul 2012 21:27:56 +0000 (23:27 +0200)]
s3:smbd: use print_sockaddr() instead of client_socket_addr()

We already have a server address in sockaddr_storage format.

Also the name "client_socket" was very miss leading,
as it returns the local address of the socket.

metze

7 years agos3:smbd: move smbd_register_ips() next to release_ip()
Stefan Metzmacher [Sun, 29 Jul 2012 21:25:12 +0000 (23:25 +0200)]
s3:smbd: move smbd_register_ips() next to release_ip()

metze

7 years agos3:dbwrap_ctdb: initialize db_record->db
Stefan Metzmacher [Tue, 31 Jul 2012 07:30:29 +0000 (09:30 +0200)]
s3:dbwrap_ctdb: initialize db_record->db

metze

7 years agoldb: Add parameter to avoid NULL format string flagged by -Werror=format
Andrew Bartlett [Mon, 30 Jul 2012 11:53:15 +0000 (21:53 +1000)]
ldb: Add parameter to avoid NULL format string flagged by -Werror=format

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 15:48:53 CEST 2012 on sn-devel-104

7 years agos3-utils: Add cast to fix error found by -Werror=format
Andrew Bartlett [Mon, 30 Jul 2012 07:54:39 +0000 (17:54 +1000)]
s3-utils: Add cast to fix error found by -Werror=format

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 11:51:02 CEST 2012 on sn-devel-104

7 years agobuild: Add more -Werror flags now the tree is clean of these errors
Andrew Bartlett [Mon, 30 Jul 2012 03:40:57 +0000 (13:40 +1000)]
build: Add more -Werror flags now the tree is clean of these errors

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 08:23:24 CEST 2012 on sn-devel-104

7 years agos4-torture: Fix format string errors found by -Werror=format
Andrew Bartlett [Mon, 30 Jul 2012 04:05:50 +0000 (14:05 +1000)]
s4-torture: Fix format string errors found by -Werror=format

7 years agolib/tdb: Fix format string errors found by -Werror=format in tdb tests
Andrew Bartlett [Mon, 30 Jul 2012 03:40:37 +0000 (13:40 +1000)]
lib/tdb: Fix format string errors found by -Werror=format in tdb tests

7 years agolib/ntdb: Fix format string errors found by -Werror=format in ntdb tests
Andrew Bartlett [Mon, 30 Jul 2012 03:40:19 +0000 (13:40 +1000)]
lib/ntdb: Fix format string errors found by -Werror=format in ntdb tests

7 years agolib/ccan: Fix format string errors found by -Werror=format in ccan failtest
Andrew Bartlett [Mon, 30 Jul 2012 03:39:41 +0000 (13:39 +1000)]
lib/ccan: Fix format string errors found by -Werror=format in ccan failtest

7 years agoauth/kerberos: Do not do pointer arithmatic on a void *
Andrew Bartlett [Mon, 30 Jul 2012 03:22:16 +0000 (13:22 +1000)]
auth/kerberos: Do not do pointer arithmatic on a void *

Found with -Werror=pointer-arith

Andrew Bartlett

7 years agos4-samba-tool ldapcmp: Fix synopsis
Andrew Bartlett [Fri, 6 Jul 2012 06:11:09 +0000 (16:11 +1000)]
s4-samba-tool ldapcmp: Fix synopsis

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Jul 30 06:25:46 CEST 2012 on sn-devel-104

7 years agos4-samba-tool ldapcmp: Add ridNextRID and rIDPreviousAllocationPool as per-DC attributes
Andrew Bartlett [Fri, 6 Jul 2012 06:10:35 +0000 (16:10 +1000)]
s4-samba-tool ldapcmp: Add ridNextRID and rIDPreviousAllocationPool as per-DC attributes

7 years agodfs_server_ad: s/acct/aname as acct() is a function
Stefan Metzmacher [Sun, 29 Jul 2012 23:21:16 +0000 (01:21 +0200)]
dfs_server_ad: s/acct/aname as acct() is a function

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jul 30 03:17:49 CEST 2012 on sn-devel-104

7 years agodfs_server_ad: return STATUS_NOT_FOUND if the client connects to an ip address
Stefan Metzmacher [Sun, 29 Jul 2012 22:49:13 +0000 (00:49 +0200)]
dfs_server_ad: return STATUS_NOT_FOUND if the client connects to an ip address

metze

7 years agos4-dsdb: Fill in lastKnownParent when moving to lostAndFound
Andrew Bartlett [Sat, 28 Jul 2012 05:27:26 +0000 (15:27 +1000)]
s4-dsdb: Fill in lastKnownParent when moving to lostAndFound

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jul 29 16:51:34 CEST 2012 on sn-devel-104

7 years agos4-dsdb: Do not strip base components off DN before searching for NC root
Andrew Bartlett [Sun, 29 Jul 2012 05:03:21 +0000 (15:03 +1000)]
s4-dsdb: Do not strip base components off DN before searching for NC root

7 years agos4-dsdb: Change move to lostAndFound to use container in this partiion and add debugging
Andrew Bartlett [Fri, 27 Jul 2012 23:40:39 +0000 (09:40 +1000)]
s4-dsdb: Change move to lostAndFound to use container in this partiion and add debugging

The logic looking for LostAndFound failed for a user, so add extensive
debugging to make this eaiser to trace down in future.

Andrew Bartlett

7 years agos4-dsdb: Provide a way to force incoming renames to take priority
Andrew Bartlett [Fri, 8 Jun 2012 02:26:32 +0000 (12:26 +1000)]
s4-dsdb: Provide a way to force incoming renames to take priority

This should mean that a samba-tool drs replicate --full-sync forces a
replication of all objects, regardless of if we think the local name
is newer and regards any local name as being in conflict.

Andrew Bartlett

7 years agos4-dsdb: Provide a way to handle conflicts due to rename
Andrew Bartlett [Fri, 8 Jun 2012 02:25:29 +0000 (12:25 +1000)]
s4-dsdb: Provide a way to handle conflicts due to rename

This allows us to proceed with replication when the source DC is sending us an object
which has a matching object in this NC (by name) but not by GUID.

Andrew Bartlett

7 years agos4-librpc: Fix private context for dcerpc_connect_timeout_handler
Andrew Bartlett [Sun, 29 Jul 2012 10:37:39 +0000 (20:37 +1000)]
s4-librpc: Fix private context for dcerpc_connect_timeout_handler

This was incorrect in 02a356ea775a3ba589cb50af3c861ab86aaffa0b.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jul 29 14:54:33 CEST 2012 on sn-devel-104

7 years agos4-repl: Use ldb_dn_new() to create the rootDSE DN
Andrew Bartlett [Sun, 29 Jul 2012 08:47:24 +0000 (18:47 +1000)]
s4-repl: Use ldb_dn_new() to create the rootDSE DN

Based on a patch proposal by Matthieu Patou <mat@matws.net>.

Andrew Bartlett

7 years agos4-repl: Use NULL for pointer test when checking for ldb_msg_new() failure
Andrew Bartlett [Sun, 29 Jul 2012 08:46:40 +0000 (18:46 +1000)]
s4-repl: Use NULL for pointer test when checking for ldb_msg_new() failure

7 years agos3-libsmbclient: Add missing talloc_stackframe() calls
Andrew Bartlett [Sun, 29 Jul 2012 01:25:04 +0000 (11:25 +1000)]
s3-libsmbclient: Add missing talloc_stackframe() calls

These caused a panic with the new assertion on the talloc stackframe being
in place.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sun Jul 29 05:21:24 CEST 2012 on sn-devel-104

7 years agos4-dbcheck: Add lastKnownParent when moving an object to lostAndFound
Andrew Bartlett [Sat, 28 Jul 2012 00:59:09 +0000 (10:59 +1000)]
s4-dbcheck: Add lastKnownParent when moving an object to lostAndFound

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Jul 28 05:40:43 CEST 2012 on sn-devel-104

7 years agolib/param: Rename "socket address" to "nbt client socket address" to clarify role
Andrew Bartlett [Fri, 27 Jul 2012 02:56:22 +0000 (12:56 +1000)]
lib/param: Rename "socket address" to "nbt client socket address" to clarify role

This parameter is only used in our NBT client code and in nmbd as a
fallback when we fail to select a better interface from "interfaces"
to use directly.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104

7 years agolib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server
Andrew Bartlett [Fri, 27 Jul 2012 02:31:28 +0000 (12:31 +1000)]
lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and server

In these other cases, control of the sockets to bind to can be obtained using
"bind interfaces only = yes" and "interfaces = ".

Andrew Bartlett

7 years agolib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char *
Andrew Bartlett [Fri, 27 Jul 2012 01:11:58 +0000 (11:11 +1000)]
lib/param: Mark lpcfg_cachedir and lpcfg_statedir as const char *

This matters as we sync up the declarations with the source3/param code.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Jul 27 05:26:45 CEST 2012 on sn-devel-104

7 years agolib/param: Remove unused "paranoid server security"
Andrew Bartlett [Fri, 27 Jul 2012 00:34:05 +0000 (10:34 +1000)]
lib/param: Remove unused "paranoid server security"

This became unused when security=server went away.

Andrew Bartlett

7 years agodocs: Mark "socket address" as deprecated
Andrew Bartlett [Mon, 23 Jul 2012 03:15:23 +0000 (13:15 +1000)]
docs: Mark "socket address" as deprecated

7 years agoparam: Make socket_address common, Revert 611ef42053eb99f4c29d4efa86eaea9f1ca06286
Andrew Bartlett [Sun, 22 Jul 2012 23:23:04 +0000 (09:23 +1000)]
param: Make socket_address common, Revert 611ef42053eb99f4c29d4efa86eaea9f1ca06286

This essentially reverts the commit 611ef42053eb99f4c29d4efa86eaea9f1ca06286
Author: Yasuma Takeda <yasuma@osstech.co.jp>
Date:   Fri Dec 5 13:37:51 2008 -0800

    Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf

Intead, the documentation is fixed so that the correct default is
recorded.  Removing the special case handling here allows this to be
dealt with in the same way as all other parameters.

Andrew Bartlett

7 years agolib/param: Merge parameter tables into a common file
Andrew Bartlett [Mon, 23 Jul 2012 03:53:16 +0000 (13:53 +1000)]
lib/param: Merge parameter tables into a common file

This file is then included into both loadparm systems.

Andrew Bartlett

Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

7 years agolib/param: Merge in source3 parameters into parmeter table
Andrew Bartlett [Thu, 26 Jul 2012 23:07:19 +0000 (09:07 +1000)]
lib/param: Merge in source3 parameters into parmeter table

This finishes the series to remove the various warnings from smb.conf
loading when a source3 parameter is used.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Security Options" section from source3/param
Andrew Bartlett [Fri, 27 Jul 2012 00:15:10 +0000 (10:15 +1000)]
lib/param: Merge "Security Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Logging Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 23:54:39 +0000 (09:54 +1000)]
lib/param: Merge "Logging Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agos3-param: Merge "log file" parameter with lib/param
Andrew Bartlett [Fri, 27 Jul 2012 00:01:44 +0000 (10:01 +1000)]
s3-param: Merge "log file" parameter with lib/param

The lib/param code uses a special handler for setting the log file.

We need to set this here, so that we can make this table common.

Andrew Bartlett

7 years agolib/param: Merge "Protocol Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:45:59 +0000 (16:45 +1000)]
lib/param: Merge "Protocol Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Tuning Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:37:21 +0000 (16:37 +1000)]
lib/param: Merge "Tuning Options" section from source3/param

This will reduced the weight of the eventual merge of all of source3/param.

Andrew Bartlett

7 years agolib/param: Merge "Printing Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:33:47 +0000 (16:33 +1000)]
lib/param: Merge "Printing Options" section from source3/param

This will reduced the weight of the eventual merge of all of source3/param.

Andrew Bartlett

7 years agos3-build: Make recursive waf build a developer build again (to build developer test...
Andrew Bartlett [Thu, 26 Jul 2012 22:53:54 +0000 (08:53 +1000)]
s3-build: Make recursive waf build a developer build again (to build developer test facilities)

My commit f446506608ba93303b9c671bdaacd692f72bad28 was to work around the automatic ABI check
in the waf developer build.  However, now that the validity of loadparm options depends on
this being a developer build, we need to change back, but disable the ABI check.

Andrew Bartlett

7 years agos3:vlp: fix build on OS X
Björn Jacke [Thu, 26 Jul 2012 23:04:33 +0000 (01:04 +0200)]
s3:vlp: fix build on OS X

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri Jul 27 03:13:59 CEST 2012 on sn-devel-104

7 years agobuildtools: use egrep when we need the "-f patternfile" option
Björn Jacke [Thu, 26 Jul 2012 16:55:43 +0000 (18:55 +0200)]
buildtools: use egrep when we need the "-f patternfile" option

Solaris' default grep doesn't know the -f option

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Jul 26 20:49:18 CEST 2012 on sn-devel-104

7 years agos3/aio_fork: fix build on irix
Björn Jacke [Thu, 26 Jul 2012 16:27:40 +0000 (18:27 +0200)]
s3/aio_fork: fix build on irix

IRIX needs _XOPEN_SOURCE defined for SCM_RIGHTS to be available

7 years agos3: use libreplace in pthreadpooltest to fix some builds
Björn Jacke [Thu, 26 Jul 2012 16:07:29 +0000 (18:07 +0200)]
s3: use libreplace in pthreadpooltest to fix some builds

7 years agos3: add Darwin sendfile support and merge with the FreeBSD code
Björn Jacke [Fri, 29 Jun 2012 18:16:18 +0000 (20:16 +0200)]
s3: add Darwin sendfile support and merge with the FreeBSD code

This is based on the adpotion of the FreeBSD sendfile code that was done by
James Peach for Darwin.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Thu Jul 26 17:19:09 CEST 2012 on sn-devel-104

7 years agos3:waf: add Darwin sendfile() test
Björn Jacke [Mon, 2 Jul 2012 10:47:06 +0000 (12:47 +0200)]
s3:waf: add Darwin sendfile() test

7 years agos3:configure: add Darwin sendfile() test
Björn Jacke [Fri, 29 Jun 2012 18:13:57 +0000 (20:13 +0200)]
s3:configure: add Darwin sendfile() test

7 years agolib/param: Merge "Filename Handling" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:32:11 +0000 (16:32 +1000)]
lib/param: Merge "Filename Handling" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Jul 26 14:16:02 CEST 2012 on sn-devel-104

7 years agolib/param: Merge "Domain Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:28:51 +0000 (16:28 +1000)]
lib/param: Merge "Domain Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Logon Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:25:29 +0000 (16:25 +1000)]
lib/param: Merge "Logon Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Browse Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:03:09 +0000 (16:03 +1000)]
lib/param: Merge "Browse Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "WINS Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 06:00:40 +0000 (16:00 +1000)]
lib/param: Merge "WINS Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Locking Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 05:58:54 +0000 (15:58 +1000)]
lib/param: Merge "Locking Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Ldap Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 05:56:15 +0000 (15:56 +1000)]
lib/param: Merge "Ldap Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "EventLog Options" section from source3/param
Andrew Bartlett [Thu, 26 Jul 2012 05:54:25 +0000 (15:54 +1000)]
lib/param: Merge "EventLog Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agolib/param: Merge "Miscellaneous Options" section from source3/param
Andrew Bartlett [Mon, 23 Jul 2012 23:44:03 +0000 (09:44 +1000)]
lib/param: Merge "Miscellaneous Options" section from source3/param

This will make the merge of the whole table smoother.

Based on an earlier patch
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>

Andrew Bartlett

7 years agos3:smb2_negprot: return the current system time in the SMB2 NEGPROT response
Stefan Metzmacher [Thu, 26 Jul 2012 07:55:29 +0000 (09:55 +0200)]
s3:smb2_negprot: return the current system time in the SMB2 NEGPROT response

metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jul 26 11:56:02 CEST 2012 on sn-devel-104

7 years agos3:smbd: fix compiler warnings in notify_internal.c
Stefan Metzmacher [Thu, 26 Jul 2012 06:37:43 +0000 (08:37 +0200)]
s3:smbd: fix compiler warnings in notify_internal.c

metze

7 years agolibcli/smb: add basic session->smb2.channel_sequence handling
Stefan Metzmacher [Wed, 25 Jul 2012 23:54:33 +0000 (01:54 +0200)]
libcli/smb: add basic session->smb2.channel_sequence handling

metze