summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Move checks inside file_set_sparse() to allow it to be called from anywhere.Jeremy Allison2010-12-172-19/+21
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Dec 17 21:56:38 CET 2010 on sn-devel-104
* file_set_sparse needs to be a handle based call.Jeremy Allison2010-12-173-12/+10
|
* s3:smbd: implement FSCTL_SET_SPARSE more correctlyBjörn Jacke2010-12-171-5/+43
| | | | | | | | | | | | | | this is a port of a patch from metze for 3.3: We don't do the "strict allocation" when the sparse bit isn't set, but that shouldn't matter. We now allow windows applications to set and unset the sparse bit. Note that in order to implement this 100% like described in [MS-FSA], we'd have to change our data model and support the sparse flag per stream.
* Update our attribute flags.Jeremy Allison2010-12-171-1/+6
|
* s3:smbd: add file_set_sparse() functionBjörn Jacke2010-12-172-0/+52
| | | | this is based on a patch for 3.3 from metze
* s3/vfs_gpfs: map SPARSE attribute to/from WINATTRs, tooBjörn Jacke2010-12-171-2/+8
|
* s3: remove set_sparse_flagBjörn Jacke2010-12-171-15/+1
| | | | | | | | we need to determine sparseness from the sparse flag we store not from the allocation size on the POSIX filesystem. This is how Windows works - in the first place sparseness is a file flag, not the allocation state of the file Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: add FILE_ATTRIBUTE_SPARSE to get_stat_dos_flagsBjörn Jacke2010-12-171-0/+2
|
* s3:net ads dns register: use "cluster addresses" option if configured (bug ↵Stefan Metzmacher2010-12-171-3/+11
| | | | | | | | | | | #7871) metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 17 16:49:14 CET 2010 on sn-devel-104
* s3:net ads dns register: add support for specifying addresse on the ↵Michael Adam2010-12-171-3/+40
| | | | | | | | | | | | commandline (bug #7871) In the clustering case, this is also made the only possiblity to do dns updates, since the list addresses on the local interfaces is not suitable in that case. This fixes the "net ads dns register" part of bug #7871. It might be extended by a parsing of the "cluster addresses" setting. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:net: add net_update_dns_ext() that accepts a list of addresses as ↵Michael Adam2010-12-171-12/+27
| | | | | | | | | | | | parameter (bug# 7871) This generalized form of net_update_dns() will be used to add support for specifying a list of addresses on the commandline of "net ads dns register". This prepares the "net ads dns register" part of the fix for bug #7871. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:net: disable dynamic dns updates at the end of "net ads join" in a ↵Michael Adam2010-12-171-0/+19
| | | | | | | | | | | | | | | cluster (bug #7871) In a clustered environment, registering the set of ip addresses that are assigned to the interfaces of the node that performs the join does usually not have the desired effect, since the local interfaces do not carry complete set of the cluster's public IP addresses. And it can also contain internal addresses that should not be visible to the outside at all. In order to do dns updates in a clustererd setup, use net ads dns register. This fixes the net ads join part of bug #7871. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-net: fix net sid type build warning.Günther Deschner2010-12-171-1/+1
| | | | Guenther
* s3/net: tz argument should be NULL of courseBjörn Jacke2010-12-171-1/+1
| | | | | Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Fri Dec 17 01:48:40 CET 2010 on sn-devel-104
* Do more vfs_stat_fsp calls instead of FSTAT - ensures fsp->fsp_name->st is ↵Jeremy Allison2010-12-161-13/+20
| | | | | | | kept up to date. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 16 23:41:06 CET 2010 on sn-devel-104
* spoolss: fill in PerMachineConnections add and delete IDL.Günther Deschner2010-12-161-9/+9
| | | | Guenther
* Fix old bug in openX code, exposed when "strict allocate" is set to true.Jeremy Allison2010-12-161-5/+9
| | | | | | | | | | | We need to return the file size here, not the allocation size, but we were not updating the stat struct after the vfs_set_filesize() call. Ensure we always use fresh data in openX replies. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 16 02:37:58 CET 2010 on sn-devel-104
* Change strict allocate to default to true. (cherry picked from commit ↵Jeremy Allison2010-12-151-1/+1
| | | | 820ea22a07b062b1717d35de8fa7051fc1067c3f)
* Fix bug 7866 - "net" in v3-6-test broken.Jeremy Allison2010-12-153-3/+22
| | | | | | | Someone wasn't careful about testing when not running as root :-). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 20:45:25 CET 2010 on sn-devel-104
* s3:rpc_client: implement rpc_transport_np_init() on top of ↵Stefan Metzmacher2010-12-152-400/+38
| | | | | | | | | | | rpc_transport_tstream_init() This also makes use of tstream_cli_np_open() to get the tstream. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Dec 15 16:12:30 CET 2010 on sn-devel-104
* s3:rpc_client: implement rpc_transport_sock_init() on top of ↵Stefan Metzmacher2010-12-151-231/+13
| | | | | | rpc_transport_tstream_init() metze
* s3:rpc_client/rpc_transport_tstream.c: add some logic to handle cli_np tstreamsStefan Metzmacher2010-12-151-2/+197
| | | | metze
* s3:rpc_client/rpc_transport_tstream: timeout should be unsigned intStefan Metzmacher2010-12-151-1/+1
| | | | metze
* s3:rpc_client: let rpc_transport_tstream_init() create read and write queueStefan Metzmacher2010-12-153-28/+17
| | | | metze
* s3:libsmb: add tstream_cli_np_get_cli_state()Stefan Metzmacher2010-12-152-0/+10
| | | | metze
* s3:libsmb: add tstream_cli_np_set_timeout()Stefan Metzmacher2010-12-152-0/+18
| | | | metze
* s3:libsmb: add tstream_cli_np_use_trans() and the needed logicStefan Metzmacher2010-12-152-0/+183
| | | | | | | tstream_cli_np_use_trans() defers the next tstream_writev to the next tstream_readv and send both as an SMBtrans request. metze
* s3:libsmb: add tstream_is_cli_np()Stefan Metzmacher2010-12-152-0/+15
| | | | metze
* s3:libsmb: add cli_np_tstream.cStefan Metzmacher2010-12-153-0/+823
| | | | | | | | This abstracts a named pipe over smb as a tstream, which will make it easier to implement the dcerpc layer in a more generic way. metze
* s3-waf: use shared libwbclient wscript_build.Günther Deschner2010-12-151-12/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 15 11:42:16 CET 2010 on sn-devel-104
* s3-waf: fix winbind-client subsystem.Günther Deschner2010-12-151-7/+9
| | | | Guenther
* s3-waf: add libkrb5 winbind locator plugin.Günther Deschner2010-12-151-0/+6
| | | | Guenther
* s3-waf: rework rpc_server handling a bit.Günther Deschner2010-12-152-21/+21
| | | | Guenther
* Protect the onefs sendfile from EAGAIN/EWOULDBLOCK.Jeremy Allison2010-12-151-1/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 03:26:43 CET 2010 on sn-devel-104
* Implement "use sendfile = yes" for SMB2. (cherry picked from commit ↵Jeremy Allison2010-12-154-3/+164
| | | | | | | 95cb7adcd03a1abbd0af395b6c96dd8e0eebd3d1) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 02:24:08 CET 2010 on sn-devel-104
* Fix read/write calls over sockets to cope with EAGAIN/EWOULDBLOCK for ↵Jeremy Allison2010-12-152-16/+68
| | | | non-blocking sockets.
* Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB.Jeremy Allison2010-12-153-10/+27
| | | | | | | | | Change smb2_read code to allocate return DATA_BLOB just before the read. Preparing for SMB2 sendfile change which will not need to allocate return buffer. Jeremy
* s3-waf: libwbclient does not depend on talloc anymore.Günther Deschner2010-12-151-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 15 00:50:08 CET 2010 on sn-devel-104
* s3-waf: add missing libnss_wins.so.2 library.Günther Deschner2010-12-141-2/+8
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Dec 14 23:29:25 CET 2010 on sn-devel-104
* s3-waf: recurse into ../libcli/ldap.Günther Deschner2010-12-141-13/+7
| | | | Guenther
* s3-waf: recurse into ../libcli/smb.Günther Deschner2010-12-141-1/+2
| | | | Guenther
* s3-waf: recurse into ../libcli/samsync.Günther Deschner2010-12-141-3/+3
| | | | Guenther
* s3-waf: recurse into ../libcli/named_pipe_auth.Günther Deschner2010-12-141-8/+3
| | | | Guenther
* s3-waf: recurse into ../libcli/drsuapi.Günther Deschner2010-12-141-3/+3
| | | | Guenther
* s3-waf: add pam_ and nss_winbind.Günther Deschner2010-12-141-1/+14
| | | | Guenther
* s3-waf: check for "WITH_PAM_MODULES" to determine pam_smbpass build.Günther Deschner2010-12-141-1/+1
| | | | Guenther
* s3-waf: fix pamsmbpass libwbclient dependency.Günther Deschner2010-12-141-1/+1
| | | | Guenther
* s3-waf: recurse into ../libcli/auth.Günther Deschner2010-12-141-12/+6
| | | | Guenther
* s3-waf: add CHARSET subsystem.Günther Deschner2010-12-141-5/+11
| | | | Guenther
* s3-waf: convert UTIL_SRC into a subsystem samba-util, similar to the s4 one.Günther Deschner2010-12-141-2/+6
| | | | Guenther