ddiss/samba.git
11 years agosmb2_ioctl: only pass through to VFS on a valid fsp async_fsrvp_srv_wip_sxp2012_btrfs_enums_collapsed_ioctl
David Disseldorp [Mon, 17 Sep 2012 16:13:04 +0000 (18:13 +0200)]
smb2_ioctl: only pass through to VFS on a valid fsp

A null fsp is dereferenced on VFS call.

11 years agotorture: add locking tests for copychunk
David Disseldorp [Mon, 17 Sep 2012 01:18:13 +0000 (03:18 +0200)]
torture: add locking tests for copychunk

11 years agosmb2_ioctl: perform locking around copychunk requests
David Disseldorp [Sat, 15 Sep 2012 19:04:54 +0000 (21:04 +0200)]
smb2_ioctl: perform locking around copychunk requests

11 years agosmbd: split out file_fsp_get from file_fsp_smb2
David Disseldorp [Wed, 19 Sep 2012 02:06:07 +0000 (04:06 +0200)]
smbd: split out file_fsp_get from file_fsp_smb2

Obtain the files_struct from smb2req, persistent_id and
volatile_id.

11 years agodoc: add vfs_btrfs man page
David Disseldorp [Fri, 14 Sep 2012 18:55:40 +0000 (20:55 +0200)]
doc: add vfs_btrfs man page

11 years agofsrvp: use fss server state storage back-end
David Disseldorp [Wed, 12 Sep 2012 10:50:41 +0000 (12:50 +0200)]
fsrvp: use fss server state storage back-end

MS-FSRVP outlines the requirement for persistent server state storage,
retrieved on startup. Store fss server state following snapshot
creation, deletion and exposure.

Storage and retrieval errors are logged but otherwise ignored. In such
a case, manual snapshot cleanup may be required if the server is
restarted with snapshots in existence.

smap sc_share_name was not set until exposure time, meaning there was
nothing available as a unique identifier. The sc_share_name is now set
immediately on sc/smap creation.

11 years agotorture: add local fsrvp state tests
David Disseldorp [Tue, 11 Sep 2012 09:59:45 +0000 (11:59 +0200)]
torture: add local fsrvp state tests

Test the storage and retrieval of FSRVP server state.

11 years agofsrvp: add rpc server state storage back-end
David Disseldorp [Thu, 13 Sep 2012 12:51:27 +0000 (14:51 +0200)]
fsrvp: add rpc server state storage back-end

MS-FSRVP defines that the state of the rpc server must be persistent.
Use an fss_srv tdb to preserve such state.

11 years agofsrvp: add memory context to fss_global
David Disseldorp [Tue, 4 Sep 2012 13:14:41 +0000 (15:14 +0200)]
fsrvp: add memory context to fss_global

All shadow-copy sets are allocated using the fss_global context. Child
shadow-copy / share-map structures continue to be allocated using their
respective parents as a memory context.

11 years agofsrvp: split out srv_fss structs into a separate header
David Disseldorp [Fri, 31 Aug 2012 09:34:20 +0000 (11:34 +0200)]
fsrvp: split out srv_fss structs into a separate header

In preperation for adding server state storage functionality.

11 years agofsrvp: add permissions checking for operations
David Disseldorp [Thu, 30 Aug 2012 14:38:17 +0000 (16:38 +0200)]
fsrvp: add permissions checking for operations

Only grant fsrvp operation processing to users with:
- Built-in Administrators group membership, or
- Built-in Backup Operators group membership, or
- Backup Operator privileges

11 years agoXXX add lp_enable_copychunk to toggle copychunk support
David Disseldorp [Thu, 3 May 2012 11:52:32 +0000 (13:52 +0200)]
XXX add lp_enable_copychunk to toggle copychunk support

Usefull for benchmarking.
- DO NOT PUSH

11 years agos3-rpc: set fssd server defaults to external & disabled
David Disseldorp [Mon, 16 Apr 2012 14:59:45 +0000 (16:59 +0200)]
s3-rpc: set fssd server defaults to external & disabled

Also rename rpc_fss_mode to rpc_fssagentrpc_mode.

11 years agofsrvp: remove "vfs objects" parameter from snapshot shares
David Disseldorp [Tue, 1 May 2012 23:41:44 +0000 (01:41 +0200)]
fsrvp: remove "vfs objects" parameter from snapshot shares

11 years agofsrvp: add fss_agent rpc server
David Disseldorp [Tue, 10 Apr 2012 12:32:41 +0000 (14:32 +0200)]
fsrvp: add fss_agent rpc server

The Samba fss_agent rpc server is an implementation the the File Server
Remote VSS (Volume Shadow Copy) Protocol, or FSRVP for short.

FSRVP is new to Windows Server 2012, and allows authenticated clients to
remotely request the creation, exposure and deletion of share snapshots.

The fss_agent rpc server processes requests on the FssAgentRpc named
pipe, and dispatches relavent snapshot creation and deletion requests
through to the VFS asynchronously.
The registry smb.conf backend is used to expose snapshot shares, with
configuration parameters cloned from the base share.

There are three FSRVP client implementations that I'm aware of:
- Samba rpcclient includes fss_X commands.
- Windows Server 2012 includes diskshadow.exe.
- System Center 2012.

11 years agolibsmbconf: add smbconf_create_set_share
David Disseldorp [Fri, 20 Apr 2012 16:34:17 +0000 (18:34 +0200)]
libsmbconf: add smbconf_create_set_share

This call creates a new share definition, using the parameters provided
with a smbconf_service structure.
Such an interface allows for simple cloning of services with:
smbconf_get_share(conf_ctx, mem_ctx, base_sharename, &base_service_def);
base_service_def->name = clone_sharename;
smbconf_create_set_share(conf_ctx, clone_sharename, base_service_def);

11 years agovfs: add snapshot create/delete calls to vfs_btrfs
David Disseldorp [Tue, 4 Sep 2012 13:29:58 +0000 (15:29 +0200)]
vfs: add snapshot create/delete calls to vfs_btrfs

Issue BTRFS_IOC_SNAP_CREATE_V2 and BTRFS_IOC_SNAP_DESTROY ioctls
accordingly. Base share paths must exist as btrfs subvolumes in order to
be supported for snapshot operations.

The ioctl definitions are taken from the GPLv2 licensed btrfs_ioctl.h.
Such interface definitions do not equate to copyrightable information;
therefore, they may remain part of the GPLv3 licensed Samba source.

11 years agovfs: add rw flag to snap_create_send
David Disseldorp [Mon, 16 Apr 2012 17:37:40 +0000 (19:37 +0200)]
vfs: add rw flag to snap_create_send

11 years agovfs: add snapshot create/delete hooks
David Disseldorp [Tue, 10 Apr 2012 01:16:57 +0000 (03:16 +0200)]
vfs: add snapshot create/delete hooks

11 years agodoc: add FSRVP commands to rpcclient man page
David Disseldorp [Tue, 3 Apr 2012 12:17:35 +0000 (14:17 +0200)]
doc: add FSRVP commands to rpcclient man page

11 years agos4-torture: skip FSCTL_SRV_ENUM_SNAPS test when not supported
David Disseldorp [Thu, 20 Oct 2011 13:16:59 +0000 (15:16 +0200)]
s4-torture: skip FSCTL_SRV_ENUM_SNAPS test when not supported

If FSCTL_SRV_ENUM_SNAPS fails with NT_STATUS_NOT_SUPPORTED then skip the
test, this means we can run the full ioctl test suite as part of
autobuild.

11 years agoselftest: enable samba3.smb2.ioctl tests against s3fs
David Disseldorp [Mon, 12 Mar 2012 13:09:32 +0000 (14:09 +0100)]
selftest: enable samba3.smb2.ioctl tests against s3fs

These tests are now expected to pass with copy-chunk support now
implemented.

This reverts commit 632b1042aed94a71d810613fcdbbfecf615a25fa.

11 years agos3-vfs: add vfs_btrfs module
David Disseldorp [Tue, 4 Sep 2012 13:27:38 +0000 (15:27 +0200)]
s3-vfs: add vfs_btrfs module

Currently it only plumbs itself into the copy_chunk call path,
translating such requests into BTRFS_IOC_CLONE_RANGE calls.

11 years agos3-server: remove smb2 ioctl error response assumption
David Disseldorp [Wed, 12 Oct 2011 15:05:47 +0000 (17:05 +0200)]
s3-server: remove smb2 ioctl error response assumption

MS-SMB2 3.3.4.4 documents cases where a ntstatus indicating an error
should not be considered a failure. In such a case the output data
buffer should be sent to the client rather than an error response
packet.

Add a new fsctl copy_chunk test to confirm field limits are sent back
with NT_STATUS_INVALID_PARAMETER.

11 years agos3-vfs: add copy_chunk vfs hooks
David Disseldorp [Mon, 10 Oct 2011 12:31:55 +0000 (14:31 +0200)]
s3-vfs: add copy_chunk vfs hooks

copy_chunk copies n bytes from a source file at a specific offset to a
destination file at a given offset. This interface will be used in
handling smb2 FSCTL_SRV_COPYCHUNK ioctl requests.

Provide send and receive hooks for copy chunk VFS interface, allowing
asynchronous behaviour.

11 years agos3-server: add support for smb2 FSCTL_SRV_COPYCHUNK
David Disseldorp [Tue, 13 Mar 2012 11:34:10 +0000 (12:34 +0100)]
s3-server: add support for smb2 FSCTL_SRV_COPYCHUNK

SMB2 clients can issue FSCTL_SRV_COPYCHUNK requests in order to copy
data between files on the server side only, rather than reading data
then writing back from the client.

2.2.32.1 SRV_COPYCHUNK_RESPONSE in [MS-SMB2] describes the requirement
for the server to provide maximum copychunk request size limits in ioctl
responses carrying STATUS_INVALID_PARAMETER.

11 years agos3-server: add smb2 FSCTL_SRV_REQUEST_RESUME_KEY support
David Disseldorp [Wed, 28 Sep 2011 12:35:03 +0000 (14:35 +0200)]
s3-server: add smb2 FSCTL_SRV_REQUEST_RESUME_KEY support

Use existing ioctl IDL infrastructure for marshalling. Support for this
ioctl is a prerequisite for FSCTL_SRV_COPYCHUNK handling.
The client-opaque resume key is constructed using the server side
dev/inode file identifier.

11 years agos3-smb2: split ioctl handler code on device type
David Disseldorp [Wed, 28 Sep 2011 09:42:06 +0000 (11:42 +0200)]
s3-smb2: split ioctl handler code on device type

11 years agoioctl: split out smb2 ioctl handlers into separate fns
David Disseldorp [Thu, 9 Aug 2012 11:43:24 +0000 (13:43 +0200)]
ioctl: split out smb2 ioctl handlers into separate fns

11 years agopidl: add [async] function property
David Disseldorp [Sun, 29 Apr 2012 21:51:52 +0000 (23:51 +0200)]
pidl: add [async] function property

With the "async" function property defined, the Samba3 rpc-server
dispatches the request to the backend asynchronously.

11 years agopidl:s3-rpc: make pidl rpc server api calls async
David Disseldorp [Fri, 27 Apr 2012 15:11:20 +0000 (17:11 +0200)]
pidl:s3-rpc: make pidl rpc server api calls async

11 years agos3-rpc: make rpcint_dispatch async
David Disseldorp [Thu, 26 Apr 2012 12:53:33 +0000 (14:53 +0200)]
s3-rpc: make rpcint_dispatch async

11 years agos3-rpc: make api_rpcTNP async
David Disseldorp [Thu, 26 Apr 2012 11:26:04 +0000 (13:26 +0200)]
s3-rpc: make api_rpcTNP async

11 years agos3-rpc: make api_pipe_request async
David Disseldorp [Thu, 26 Apr 2012 09:56:23 +0000 (11:56 +0200)]
s3-rpc: make api_pipe_request async

11 years agos3-rpc: make process_request_pdu_send async
David Disseldorp [Thu, 26 Apr 2012 08:52:48 +0000 (10:52 +0200)]
s3-rpc: make process_request_pdu_send async

11 years agos3-rpc: convert process_complete_pdu and callers async
David Disseldorp [Wed, 25 Apr 2012 13:15:55 +0000 (15:15 +0200)]
s3-rpc: convert process_complete_pdu and callers async

11 years agos3-rpc: split process_complete_pdu from process_incoming_data
David Disseldorp [Tue, 24 Apr 2012 17:49:59 +0000 (19:49 +0200)]
s3-rpc: split process_complete_pdu from process_incoming_data

In preparation for making process_complete_pdu() asynchronous.

11 years agos3: Use SBVAL in put_long_date_timespec
Volker Lendecke [Tue, 18 Sep 2012 21:35:39 +0000 (14:35 -0700)]
s3: Use SBVAL in put_long_date_timespec

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Sep 19 01:16:25 CEST 2012 on sn-devel-104

11 years agos3: Fix some nonempty line endings
Volker Lendecke [Tue, 18 Sep 2012 18:56:03 +0000 (11:56 -0700)]
s3: Fix some nonempty line endings

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Sep 18 22:39:07 CEST 2012 on sn-devel-104

11 years agoreplace: fix 520c9b0b0ae33
Björn Jacke [Tue, 18 Sep 2012 12:04:06 +0000 (14:04 +0200)]
replace: fix 520c9b0b0ae33

fix typo in ifdef. Thanks to Joachim Schmitz for spotting this!

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Tue Sep 18 16:06:18 CEST 2012 on sn-devel-104

11 years agoquota: add supprt for gfs2
Björn Jacke [Tue, 18 Sep 2012 11:57:30 +0000 (13:57 +0200)]
quota: add supprt for gfs2

gfs2 uses the same generic quota interface as xfs and it has the same base
block/quota block size ratio and seems to work nice with the xfs quota module.

(People using gfs should be aware that quota reporting is lagging quite a bit
on gfs.  If you copy a file on a gfs volume the quota values are being updated
with a delay of 30s here with kernel 3.5. This reporting can lead to data
corruption if a client thinks he can write but actually he suddently can't.)

11 years agoRHEL packaging: Try to fix makerpms.sh on RHEL.
Karolin Seeger [Tue, 18 Sep 2012 09:08:17 +0000 (11:08 +0200)]
RHEL packaging: Try to fix makerpms.sh on RHEL.

Address bug #9165 - makerpms.sh can't create package fo RHEL.

Karolin

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Tue Sep 18 12:51:01 CEST 2012 on sn-devel-104

11 years agopanic action is defined as GLOBAL_VAR(szPanicAction) not GLOBAL_VAR(panic_action)
Matthieu Patou [Mon, 17 Sep 2012 23:51:02 +0000 (16:51 -0700)]
panic action is defined as GLOBAL_VAR(szPanicAction) not GLOBAL_VAR(panic_action)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep 18 06:12:00 CEST 2012 on sn-devel-104

11 years agopackaging/RHEL-CTDB: add "BUILD_GPFS=no configure.rpm" and "BUILD_GPFS=no makerpms.sh"
Stefan Metzmacher [Mon, 17 Sep 2012 16:15:03 +0000 (18:15 +0200)]
packaging/RHEL-CTDB: add "BUILD_GPFS=no configure.rpm" and "BUILD_GPFS=no makerpms.sh"

metze

11 years agopackaging/RHEL-CTDB: try harder to set $RPMVER
Stefan Metzmacher [Mon, 17 Sep 2012 16:15:03 +0000 (18:15 +0200)]
packaging/RHEL-CTDB: try harder to set $RPMVER

metze

11 years agopackaging/RHEL-CTDB: fix the build
Stefan Metzmacher [Mon, 17 Sep 2012 16:15:03 +0000 (18:15 +0200)]
packaging/RHEL-CTDB: fix the build

metze

11 years agosource3/script: fix installman.sh after the last build-manpages-nogit change
Michael Adam [Tue, 18 Sep 2012 00:30:27 +0000 (20:30 -0400)]
source3/script: fix installman.sh after the last build-manpages-nogit change

    commit cfdab79729e8507a7504b0224c60454d3bc40ffc
    Author: Michael Adam <obnox@samba.org>
    Date:   Wed Sep 12 15:46:35 2012 +0200

        release-scripts: let build-manpages-nogit store generated docs under ./bin/docs

        not under ./docs

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
11 years agoFix service control for non-internal services.
Vladimir Marek [Mon, 17 Sep 2012 20:50:55 +0000 (13:50 -0700)]
Fix service control for non-internal services.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 18 01:42:23 CEST 2012 on sn-devel-104

11 years agolibreplace: Bug 8107, Fix poll replacement to become a msleep replacement
Joachim Schmitz [Mon, 17 Sep 2012 12:26:31 +0000 (05:26 -0700)]
libreplace: Bug 8107, Fix poll replacement to become a msleep replacement

Signed-off-by: Jeremy Allison <jra@samba.org>
11 years agoldb: bump version to 1.1.13 so the 4.0 release can get the isprint fix ldb-1.1.13
Andrew Bartlett [Mon, 17 Sep 2012 18:57:33 +0000 (11:57 -0700)]
ldb: bump version to 1.1.13 so the 4.0 release can get the isprint fix

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Mon Sep 17 23:47:57 CEST 2012 on sn-devel-104

11 years agodocs: Remove another reference to security=share
Andrew Bartlett [Mon, 17 Sep 2012 18:56:28 +0000 (11:56 -0700)]
docs: Remove another reference to security=share

11 years agodocs: Remove references to specific windows versions, instead mention Home/Profession...
Andrew Bartlett [Mon, 17 Sep 2012 18:56:08 +0000 (11:56 -0700)]
docs: Remove references to specific windows versions, instead mention Home/Professional/Server

The flavours of windows seem to last longer than the individual products.

Andrew Bartlett

11 years agodocs: Remove references to mulitple passdb backends
Andrew Bartlett [Mon, 17 Sep 2012 18:55:12 +0000 (11:55 -0700)]
docs: Remove references to mulitple passdb backends

These are long-gone and confusing.

Andrew Bartlett

11 years agodocs: Remove references to sysv-style CUPS from TOSHARG-CUPS-printing
Andrew Bartlett [Mon, 17 Sep 2012 18:54:25 +0000 (11:54 -0700)]
docs: Remove references to sysv-style CUPS from TOSHARG-CUPS-printing

This also simplifies the cups config by not duplicating the printcap name parameter
that is already set by default when printing=cups is set.

Andrew Bartlett

11 years agodocs: Remove very outdated TOSHARG-Other-Clients section
Andrew Bartlett [Sat, 15 Sep 2012 22:55:55 +0000 (15:55 -0700)]
docs: Remove very outdated TOSHARG-Other-Clients section

11 years agodocs: Remove very outdated TOSHARG-Portability section
Andrew Bartlett [Sat, 15 Sep 2012 22:52:47 +0000 (15:52 -0700)]
docs: Remove very outdated TOSHARG-Portability section

11 years agodocs: Update FastStart: remove security=share, avoid disable spoolss
Andrew Bartlett [Sat, 15 Sep 2012 19:53:37 +0000 (12:53 -0700)]
docs: Update FastStart: remove security=share, avoid disable spoolss

As I understand it, all printing is via spoolss, so do not disable it!

Andrew Bartlett

11 years agodocs: Clarify TOSHARG-Bugs for 2012
Andrew Bartlett [Sat, 15 Sep 2012 06:13:33 +0000 (23:13 -0700)]
docs: Clarify TOSHARG-Bugs for 2012

11 years agodocs: Remove reference to inetd startup, it is not recommended
Andrew Bartlett [Sat, 15 Sep 2012 06:08:53 +0000 (23:08 -0700)]
docs: Remove reference to inetd startup, it is not recommended

11 years agodocs: Update BDC docs to recognise the AD DC and to exclusivly recommend LDAP
Andrew Bartlett [Sat, 15 Sep 2012 06:06:59 +0000 (23:06 -0700)]
docs: Update BDC docs to recognise the AD DC and to exclusivly recommend LDAP

The confusing references to the not-recommended techniques and
outdated steps (like net rpc getsid, replaced by simply having the SID
just be in LDAP) just detract from the clarity of this document.

Andrew Bartlett

11 years agodocs: Remove referenece to old Red Hat Linux habits on winbindd
Andrew Bartlett [Sat, 15 Sep 2012 05:30:06 +0000 (22:30 -0700)]
docs: Remove referenece to old Red Hat Linux habits on winbindd

11 years agodocs: Remove referenece to autogen.sh and document waf build instead
Andrew Bartlett [Sat, 15 Sep 2012 05:29:39 +0000 (22:29 -0700)]
docs: Remove referenece to autogen.sh and document waf build instead

11 years agodocs: Remove out of date links to pserver.samba.org and old tarballs
Andrew Bartlett [Sat, 15 Sep 2012 05:29:05 +0000 (22:29 -0700)]
docs: Remove out of date links to pserver.samba.org and old tarballs

11 years agodocs: Remove references to Subversion, replace with wiki link
Andrew Bartlett [Sat, 15 Sep 2012 05:28:19 +0000 (22:28 -0700)]
docs: Remove references to Subversion, replace with wiki link

11 years agodocs: Remove references to old kerberos behaviour
Andrew Bartlett [Fri, 14 Sep 2012 19:06:40 +0000 (12:06 -0700)]
docs: Remove references to old kerberos behaviour

I have not seen any issues using the SRV records with windows, and this certainly
does not apply to current versions.  Similarly, the need to change the admin password
does not apply now we require a krb5 lib with arcfour-hmac-md5 support.

Andrew Bartlett

11 years agodocs: Remove confusing reference to smb signing and client use spnego
Andrew Bartlett [Fri, 14 Sep 2012 19:04:00 +0000 (12:04 -0700)]
docs: Remove confusing reference to smb signing and client use spnego

This section is more confusing than helpful, as client support for both is on by default.

Andrew Bartlett

11 years agos3:libsmb fix a double free error
Christian Ambach [Mon, 17 Sep 2012 04:45:56 +0000 (21:45 -0700)]
s3:libsmb fix a double free error

t refers to self->thread_state that is freed a few lines below

Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Mon Sep 17 22:04:13 CEST 2012 on sn-devel-104

11 years agodocs-xml: fix build of winbindd- and krb5 locator-related manpages
Alexander Bokovoy [Mon, 17 Sep 2012 16:09:35 +0000 (19:09 +0300)]
docs-xml: fix build of winbindd- and krb5 locator-related manpages

These manpages depend on docs-xml infrastructure (samba DTDs)

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Mon Sep 17 19:52:53 CEST 2012 on sn-devel-104

11 years agodocs-xml: convert smb.conf.5 build to waf
Alexander Bokovoy [Mon, 17 Sep 2012 10:07:26 +0000 (13:07 +0300)]
docs-xml: convert smb.conf.5 build to waf

smb.conf(5) is different from other manpages because before it is
built, it gets merged together from a number of smaller files, one
per parameter. So we first create a parameters.all.xml file that
references all these files and then include it into master smb.conf.5.xml

One small issue is how to handle generated files in WAF build
from xi:include perspective as the files are generated in bin/default/docs-xml
rather than in docs-xml. We solve this by further expanding use of XML catalogs
and rewriting virtual path http://www.samba.org/samba/smbdotconf/ to proper
location.

Both docs-xml autoconf and waf builds work correctly now.

Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Mon Sep 17 14:18:31 CEST 2012 on sn-devel-104

11 years agos3:libsmb fix a potential crash
Christian Ambach [Sat, 15 Sep 2012 22:15:21 +0000 (00:15 +0200)]
s3:libsmb fix a potential crash

Signed-off-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Sun Sep 16 22:31:38 CEST 2012 on sn-devel-104

11 years agos3:vfs_gpfs: fix build
Christian Ambach [Sat, 15 Sep 2012 20:57:51 +0000 (22:57 +0200)]
s3:vfs_gpfs: fix build
after recent VFS changes

11 years agos3:auth fix a compiler warning
Christian Ambach [Sat, 15 Sep 2012 20:47:06 +0000 (22:47 +0200)]
s3:auth fix a compiler warning

11 years agos4-python: Formatting fixes, break lines.
Jelmer Vernooij [Sun, 16 Sep 2012 12:18:51 +0000 (14:18 +0200)]
s4-python: Formatting fixes, break lines.

Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sun Sep 16 15:58:04 CEST 2012 on sn-devel-104

11 years agosamba.netcmd: Formatting fixes, break lines.
Jelmer Vernooij [Sun, 16 Sep 2012 12:18:39 +0000 (14:18 +0200)]
samba.netcmd: Formatting fixes, break lines.

11 years agosamba.provision.common: Fix formatting.
Jelmer Vernooij [Sat, 15 Sep 2012 22:34:14 +0000 (00:34 +0200)]
samba.provision.common: Fix formatting.

11 years agosamba.provision.sambadns: Fix formatting.
Jelmer Vernooij [Sat, 15 Sep 2012 22:34:00 +0000 (00:34 +0200)]
samba.provision.sambadns: Fix formatting.

11 years agosamba.provision.backend: Fix formatting.
Jelmer Vernooij [Sat, 15 Sep 2012 22:33:09 +0000 (00:33 +0200)]
samba.provision.backend: Fix formatting.

11 years agosamba.provision: Fix formatting, NameErrors.
Jelmer Vernooij [Sat, 15 Sep 2012 22:32:52 +0000 (00:32 +0200)]
samba.provision: Fix formatting, NameErrors.

11 years agoreplace: add some includes for poll.h
Björn Jacke [Sun, 16 Sep 2012 00:21:39 +0000 (02:21 +0200)]
replace: add some includes for poll.h

See bug #8107

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sun Sep 16 04:05:08 CEST 2012 on sn-devel-104

11 years agoquota: also log which fs type we found
Björn Jacke [Fri, 14 Sep 2012 18:46:45 +0000 (20:46 +0200)]
quota: also log which fs type we found

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sat Sep 15 02:18:16 CEST 2012 on sn-devel-104

11 years agoautoconf: check for dn_expand also in libinet
Björn Jacke [Fri, 14 Sep 2012 18:32:15 +0000 (20:32 +0200)]
autoconf: check for dn_expand also in libinet

see bug #7472

11 years agowafbuild: check for dn_expand also in libinet
Björn Jacke [Fri, 14 Sep 2012 18:41:08 +0000 (20:41 +0200)]
wafbuild: check for dn_expand also in libinet

see bug #7472

11 years agoAdd 'bool use_privs' to smbd_calculate_access_mask().
Jeremy Allison [Fri, 14 Sep 2012 00:12:24 +0000 (17:12 -0700)]
Add 'bool use_privs' to smbd_calculate_access_mask().

Replaces blanket root allow if set. Set to 'false' for
all current callers.

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Sep 15 00:37:49 CEST 2012 on sn-devel-104

11 years agoFix bad string in debug message (remove it).
Jeremy Allison [Fri, 14 Sep 2012 00:08:43 +0000 (17:08 -0700)]
Fix bad string in debug message (remove it).

11 years agoAdd bool use_privs parameter to smbd_check_access_rights()
Jeremy Allison [Thu, 13 Sep 2012 23:11:31 +0000 (16:11 -0700)]
Add bool use_privs parameter to smbd_check_access_rights()

If this is set we should use it in preference to blindly assuming
root can do anything. Currently set to 'false' in (most) callers.

11 years agoAdd "backup_intent" bool.
Jeremy Allison [Thu, 13 Sep 2012 22:35:21 +0000 (15:35 -0700)]
Add "backup_intent" bool.

11 years agoDon't call can_write_to_file() if we already have 'fsp->can_write' set.
Jeremy Allison [Thu, 13 Sep 2012 21:36:57 +0000 (14:36 -0700)]
Don't call can_write_to_file() if we already have 'fsp->can_write' set.

11 years agobuild: Fix build on systems without ldap development headers
Andrew Bartlett [Fri, 14 Sep 2012 18:58:02 +0000 (11:58 -0700)]
build: Fix build on systems without ldap development headers

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Sep 14 22:53:30 CEST 2012 on sn-devel-104

11 years agodocs: update for modern kerberos libs
Andrew Bartlett [Fri, 14 Sep 2012 18:57:38 +0000 (11:57 -0700)]
docs: update for modern kerberos libs

11 years agodocs: remove references to security=server
Andrew Bartlett [Fri, 14 Sep 2012 18:57:05 +0000 (11:57 -0700)]
docs: remove references to security=server

11 years agodocs: Remove distinction between server and domain accounts
Andrew Bartlett [Fri, 14 Sep 2012 16:29:51 +0000 (09:29 -0700)]
docs: Remove distinction between server and domain accounts

Accounts on a server become accounts on the DC when upgraded.  If they do not
then this is simply a bug (in say tdbsam), not a feature to be documented.

Andrew Bartlett

11 years agodocs: Update docs to the modern age of Samba 4.0
Andrew Bartlett [Fri, 14 Sep 2012 16:28:06 +0000 (09:28 -0700)]
docs: Update docs to the modern age of Samba 4.0

This removes references to security=share, security=server and other outdated things.

It also updates to a world where encrypted passwords are the norm.

Andrew Bartlett

11 years agos4:torture: fix error reporting in the raw.oplock-brl3 test
Michael Adam [Thu, 13 Sep 2012 12:06:40 +0000 (14:06 +0200)]
s4:torture: fix error reporting in the raw.oplock-brl3 test

Error was assigned to a variable that was not returned.

Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Fri Sep 14 14:05:20 CEST 2012 on sn-devel-104

11 years agos3: fix the hpux acl module
Björn Jacke [Fri, 14 Sep 2012 08:01:33 +0000 (10:01 +0200)]
s3: fix the hpux acl module

This was not adopted to the recent VFS acl structure changes.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri Sep 14 12:23:23 CEST 2012 on sn-devel-104

11 years agos3: fix the tru64 acl module
Björn Jacke [Fri, 14 Sep 2012 07:40:07 +0000 (09:40 +0200)]
s3: fix the tru64 acl module

This was not adopted to the recent VFS acl structure changes.

11 years agos3: fix the aix acl module
Björn Jacke [Fri, 14 Sep 2012 07:35:53 +0000 (09:35 +0200)]
s3: fix the aix acl module

This was not adopted to the recent VFS acl structure changes.

11 years agoWHATSNEW: Fix some issues in the release notes.
Karolin Seeger [Fri, 14 Sep 2012 06:57:25 +0000 (08:57 +0200)]
WHATSNEW: Fix some issues in the release notes.

Karolin

Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Fri Sep 14 10:40:02 CEST 2012 on sn-devel-104

11 years agos3: Fix the vfs_solarisacl module to compile.
Ira Cooper [Fri, 14 Sep 2012 01:32:45 +0000 (01:32 +0000)]
s3: Fix the vfs_solarisacl module to compile.

This got broken with the recent VFS acl structure changes.

Autobuild-User(master): Ira Cooper <ira@samba.org>
Autobuild-Date(master): Fri Sep 14 05:21:29 CEST 2012 on sn-devel-104

11 years agopackaging: apply some solaris packaging fixes
Björn Jacke [Thu, 13 Sep 2012 22:25:38 +0000 (00:25 +0200)]
packaging: apply some solaris packaging fixes

Actually this might be outdated already. See bug #5670.
Thanks to Michal Ludvig.

Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Fri Sep 14 02:42:53 CEST 2012 on sn-devel-104

11 years agoautoconf: fix --with(out)-sendfile-support option handling
Björn Jacke [Thu, 13 Sep 2012 22:02:22 +0000 (00:02 +0200)]
autoconf: fix --with(out)-sendfile-support option handling

this fixes bug #8344