summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-12-16Fix old bug in openX code, exposed when "strict allocate" is set to true.Jeremy Allison1-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
2010-12-15Change strict allocate to default to true. (cherry picked from commit ↵Jeremy Allison1-1/+1
820ea22a07b062b1717d35de8fa7051fc1067c3f)
2010-12-15Fix bug 7866 - "net" in v3-6-test broken.Jeremy Allison3-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
2010-12-15s3:rpc_client: implement rpc_transport_np_init() on top of ↵Stefan Metzmacher2-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
2010-12-15s3:rpc_client: implement rpc_transport_sock_init() on top of ↵Stefan Metzmacher1-231/+13
rpc_transport_tstream_init() metze
2010-12-15s3:rpc_client/rpc_transport_tstream.c: add some logic to handle cli_np tstreamsStefan Metzmacher1-2/+197
metze
2010-12-15s3:rpc_client/rpc_transport_tstream: timeout should be unsigned intStefan Metzmacher1-1/+1
metze
2010-12-15s3:rpc_client: let rpc_transport_tstream_init() create read and write queueStefan Metzmacher3-28/+17
metze
2010-12-15s3:libsmb: add tstream_cli_np_get_cli_state()Stefan Metzmacher2-0/+10
metze
2010-12-15s3:libsmb: add tstream_cli_np_set_timeout()Stefan Metzmacher2-0/+18
metze
2010-12-15s3:libsmb: add tstream_cli_np_use_trans() and the needed logicStefan Metzmacher2-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
2010-12-15s3:libsmb: add tstream_is_cli_np()Stefan Metzmacher2-0/+15
metze
2010-12-15s3:libsmb: add cli_np_tstream.cStefan Metzmacher3-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
2010-12-15s3-waf: use shared libwbclient wscript_build.Günther Deschner1-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
2010-12-15s3-waf: fix winbind-client subsystem.Günther Deschner1-7/+9
Guenther
2010-12-15s3-waf: add libkrb5 winbind locator plugin.Günther Deschner1-0/+6
Guenther
2010-12-15s3-waf: rework rpc_server handling a bit.Günther Deschner2-21/+21
Guenther
2010-12-15Protect the onefs sendfile from EAGAIN/EWOULDBLOCK.Jeremy Allison1-1/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 03:26:43 CET 2010 on sn-devel-104
2010-12-15Implement "use sendfile = yes" for SMB2. (cherry picked from commit ↵Jeremy Allison4-3/+164
95cb7adcd03a1abbd0af395b6c96dd8e0eebd3d1) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 02:24:08 CET 2010 on sn-devel-104
2010-12-15Fix read/write calls over sockets to cope with EAGAIN/EWOULDBLOCK for ↵Jeremy Allison2-16/+68
non-blocking sockets.
2010-12-15Change interface of schedule_smb2_aio_read() to allocate the return DATA_BLOB.Jeremy Allison3-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
2010-12-15s3-waf: libwbclient does not depend on talloc anymore.Günther Deschner1-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
2010-12-14s3-waf: add missing libnss_wins.so.2 library.Günther Deschner1-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
2010-12-14s3-waf: recurse into ../libcli/ldap.Günther Deschner1-13/+7
Guenther
2010-12-14s3-waf: recurse into ../libcli/smb.Günther Deschner1-1/+2
Guenther
2010-12-14s3-waf: recurse into ../libcli/samsync.Günther Deschner1-3/+3
Guenther
2010-12-14s3-waf: recurse into ../libcli/named_pipe_auth.Günther Deschner1-8/+3
Guenther
2010-12-14s3-waf: recurse into ../libcli/drsuapi.Günther Deschner1-3/+3
Guenther
2010-12-14s3-waf: add pam_ and nss_winbind.Günther Deschner1-1/+14
Guenther
2010-12-14s3-waf: check for "WITH_PAM_MODULES" to determine pam_smbpass build.Günther Deschner1-1/+1
Guenther
2010-12-14s3-waf: fix pamsmbpass libwbclient dependency.Günther Deschner1-1/+1
Guenther
2010-12-14s3-waf: recurse into ../libcli/auth.Günther Deschner1-12/+6
Guenther
2010-12-14s3-waf: add CHARSET subsystem.Günther Deschner1-5/+11
Guenther
2010-12-14s3-waf: convert UTIL_SRC into a subsystem samba-util, similar to the s4 one.Günther Deschner1-2/+6
Guenther
2010-12-14s3-waf: convert lib/util_tdb.c into a subsystem.Günther Deschner1-2/+5
Guenther
2010-12-14s3-waf: use shared LIBASYNC_REQ subsystem.Günther Deschner1-2/+3
Guenther
2010-12-14s3/net: don't use external "date" to make "net time set" more portableBjörn Jacke1-14/+10
the "date" syntax is different for example on *BSD Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Dec 14 15:31:03 CET 2010 on sn-devel-104
2010-12-14Ensure we use vfs_fsp_stat(), not VFS_STAT directly, and store into ↵Jeremy Allison1-19/+20
fsp->fsp_name->st instead of a SMB_STRUCT_STAT on the stack. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 14 05:05:50 CET 2010 on sn-devel-104
2010-12-14s3-libsmb Improve error message when denying LM encryptionAndrew Bartlett1-9/+9
Now that 'client ntlmv2 auth = yes' is the default, make it more clear what options a user may need to enable to get this to work. Andrew Bartlett
2010-12-14Change crediting so that the credits are returned on the interim async response.Jeremy Allison1-4/+7
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 14 01:09:05 CET 2010 on sn-devel-104
2010-12-13As we handle missing sendfile() inside lib/sendfile.c, remove the ↵Jeremy Allison2-9/+0
WITH_SENDFILE ifdefs. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 13 23:47:07 CET 2010 on sn-devel-104
2010-12-13We need to start off with smb2.credits_granted == 0. That wayJeremy Allison1-2/+3
when processing the faked up SMB2 NegProt from the SMB1 packet we always allocate one credit on reply. Jeremy.
2010-12-13Remove extra unused credit arg. to smbd_smb2_request_setup_out()Jeremy Allison1-3/+3
2010-12-13s3-waf: try to fix the build with snow leopard.Günther Deschner1-1/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 13 15:03:08 CET 2010 on sn-devel-104
2010-12-13s3:selftest: fix knownfail for ↵Stefan Metzmacher1-1/+1
samba3.posix_s3.rpc.spoolss.*printserver.enum_printers_old The name is in lowercase since commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated.) This should avoid intermittent failures in make test. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 13 13:52:18 CET 2010 on sn-devel-104
2010-12-13s3-selftest: support differing VFSLIBDIR in autoconf and waf build.Günther Deschner2-0/+2
With this change make test in the s3 waf build (w/o s4 smbtorture yet) works! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
2010-12-13s3-waf: add -Wl,--export-dynamic to LDFLAGS.Günther Deschner1-0/+2
Our binaries did not export symbols so e.g. smbd could not load vfs modules. Patch from tridge. We might remove this later on, once we decide to resolve all symbols and fix all dependencies in s3 modules. Guenther
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2-57/+50
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-10Add a SMB2 crediting algorithm, by default the same as Windows. Defaults to ↵Jeremy Allison5-28/+163
128 credits. Jeremy.
2010-12-10s3-vfstest: fixed paths in vfstestAndrew Tridgell1-0/+2
vfstest tries to create /messages.tdb as loadparm has not been initialised