summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-01Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵Richard Sharpe6-336/+413
NTTRANS-FSCTL. Test added to selftests.
2011-10-01Add a torture test to test existing FSCTL responsesRichard Sharpe4-0/+290
2011-10-01Fix bug #8493 - DFS breaks zip file extracting unless "follow symlinks = no" setJeremy Allison1-11/+2
If a client sends a mangled name as part of a DFS path, use the post-mangled name for the pathname walk, not the mangled name. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 1 00:45:59 CEST 2011 on sn-devel-104
2011-09-30s3-docs: Fix typos.Karolin Seeger3-3/+3
Thanks to Samba-JP oota <ribbon@samba.gr.jp> for reporting! Karolin Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Fri Sep 30 23:12:35 CEST 2011 on sn-devel-104
2011-09-30s3-docs: some corrections for wbinfoChristian Ambach1-4/+4
Parameters for --group-info and --gid-info were not listed properly in the SYNOPSIS and the OPTIONS section Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Fri Sep 30 18:44:34 CEST 2011 on sn-devel-104
2011-09-30s3:wscript_build - add dependency on "tdb-wrap3" for libnet dssyncMatthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Sep 30 16:40:12 CEST 2011 on sn-devel-104
2011-09-30build: Add dep on tdb-wrap3 to get tdb headersAndrew Bartlett1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2011-09-30s3: Re-add (), fix a gcc hintVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Sep 30 15:06:47 CEST 2011 on sn-devel-104
2011-09-30s3: Remove an unused variableVolker Lendecke1-2/+0
2011-09-30s3: Fix an uninitialized variable warningVolker Lendecke1-1/+1
2011-09-30s3: Fix a C++ warningVolker Lendecke1-1/+2
2011-09-30s3: Fix a C++ warningVolker Lendecke1-1/+2
2011-09-30Second part of bug #8494 - Remove "experimental" label on VFS ACL modules.Jeremy Allison2-8/+0
Fix the docs. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 30 03:50:43 CEST 2011 on sn-devel-104
2011-09-29Bug 7551: Return error of cli_push when 'put - /some/file' is usedBram1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 29 23:47:02 CEST 2011 on sn-devel-104
2011-09-29s3:smb2cli: fix the num_expected == 0 logic in smb2cli_req_recv()Stefan Metzmacher1-3/+7
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 22:15:06 CEST 2011 on sn-devel-104
2011-09-29s4:smb_server/smb2: make sure we sign the final session setupStefan Metzmacher1-3/+10
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 18:59:54 CEST 2011 on sn-devel-104
2011-09-29s4: add SMB2_FSCTL opcodesDavid Disseldorp3-3/+18
Also, skip samba4.smb2.ioctl for now. Snapshots are not supported by default. Autobuild-User: David Disseldorp <ddiss@samba.org> Autobuild-Date: Thu Sep 29 14:47:05 CEST 2011 on sn-devel-104
2011-09-29s3-smb2_server: fix ioctl InputOffset checkingDavid Disseldorp1-1/+10
Currently the InputOffset is always check to point to the input data buffer, regardless of whether input data is present. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-29s3-smb2_server: SMB2_OP_IOCTL doesn't require at least 1 dyn byteDavid Disseldorp1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-29s4-torture: add smb2 ioctl test suiteDavid Disseldorp3-1/+89
Currently only covers FSCTL_GET_SHADOW_COPY_DATA. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-29s4-torture: remove unchecked read from smb2 createDavid Disseldorp2-9/+9
Add a corresponding test case to smb2.read. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-09-29socket_wrapper: correctly handle dup()/dup2() ref countingStefan Metzmacher1-85/+81
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 13:13:56 CEST 2011 on sn-devel-104
2011-09-29socket_wrapper: pass down the fd explictly from the swrap_*() to the ↵Stefan Metzmacher1-10/+11
real_*() calls metze
2011-09-29s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signedStefan Metzmacher1-0/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 02:58:41 CEST 2011 on sn-devel-104
2011-09-29test commit to see it push works for me.Herb Lewis1-1/+1
Autobuild-User: Herb Lewis <herb@samba.org> Autobuild-Date: Thu Sep 29 00:51:16 CEST 2011 on sn-devel-104
2011-09-28s4:torture/smb2/lock: remove samba4 specific checks for ↵Stefan Metzmacher1-12/+14
NETWORK_NAME_DELETED/USER_SESSION_DELETED Most Windows versions have a strange order to verify the session id, tree id and file id. (They should be checked in that order, but windows seems to check the file id before the others). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 21:12:07 CEST 2011 on sn-devel-104
2011-09-28s4:libcli/smb2: ignore SMB2_OP_CANCEL responsesStefan Metzmacher1-0/+10
If there're a problem with signing or the session doesn't exists any more the server responses with a failure, instead of not sending a response. For now we ignore the reponse, as there's not much we could do with it and it's not likely that we generate bad requests, which trigger that behavior, except for testing. metze
2011-09-28s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a ↵Stefan Metzmacher1-0/+1
session metze
2011-09-28s4:libcli/smb2: don't try to check the signing if we got ↵Stefan Metzmacher1-1/+2
NT_STATUS_USER_SESSION_DELETED metze
2011-09-28s3:dbwrap_ctdb: improve the check for skipping the __db_sequence_number__ ↵Michael Adam1-2/+1
record in traverse It did not compare the last charcter (usually '\0') Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Sep 28 16:54:59 CEST 2011 on sn-devel-104
2011-09-28libcli: Install libcli.h.Jelmer Vernooij2-4/+289
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Sep 28 14:19:20 CEST 2011 on sn-devel-104
2011-09-28smb_unix_ext.h: Protect against multiple inclusion.Jelmer Vernooij1-0/+4
2011-09-28Install headers included by smb_common.h.Jelmer Vernooij1-2/+2
2011-09-28s4:libcli/resolve: only try broadcast messages to ipv4 addressesStefan Metzmacher1-2/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 05:10:53 CEST 2011 on sn-devel-104
2011-09-28dns: Do as BIND and MS DNS and drop quries with qdcount != 1Kai Blin1-5/+11
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Sep 28 03:37:22 CEST 2011 on sn-devel-104
2011-09-28dns: The QCLASS is called IN, not IPKai Blin2-7/+7
2011-09-28s3 net: Fix a discard const warningKai Blin1-1/+1
2011-09-28errormap: Add unix_to_werror() functionKai Blin2-0/+10
While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org>
2011-09-28s3:libsmb: remove unused TALLOC_FREE(subreq) calls inStefan Metzmacher1-5/+0
Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 28 02:01:09 CEST 2011 on sn-devel-104
2011-09-28s3:libsmb: call TALLOC_FREE(subreq) directly after cli_sesssetup_blob_recv()Stefan Metzmacher1-3/+2
cli_sesssetup_blob_recv() talloc moves stuff that's needed on the given memory context. metze
2011-09-28s3-messaging Do not ever send a kill to -1Andrew Bartlett1-0/+3
This from a report by Olaf Flebbe <o.flebbe@science-computing.de> Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Sep 28 00:23:44 CEST 2011 on sn-devel-104
2011-09-27s3-messaging Ensure that the message is of the correct legnthAndrew Bartlett1-1/+1
By using ndr_pull_struct_blob_all we are more robust against wrongly formatted messages. Andrew Bartlett
2011-09-27s4-ldap_server: Fix segfault on startup failure of ldap serverAndrew Bartlett1-2/+2
2011-09-27s3-pdb_samba4: Remove unused attribute from domain searchAndrew Bartlett1-1/+0
2011-09-27These modules are no longer experimental but production-ready (especiallyJeremy Allison2-4/+0
the acl_xattr code). Remove the "experimental" tag. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Sep 27 21:00:12 CEST 2011 on sn-devel-104
2011-09-27Free the memory talloc'dRichard Sharpe1-1/+6
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Sep 27 18:51:47 CEST 2011 on sn-devel-104
2011-09-26s3-samr: Remove fstring in samr.Andreas Schneider1-5/+14
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Sep 26 19:56:04 CEST 2011 on sn-devel-104
2011-09-26s3-passdb: Cleanup use of fstring and move to talloc.Simo Sorce4-24/+61
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-09-26s3-group-mapping: Remove unused functions.Simo Sorce2-36/+0
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-09-26s3: Slightly simplify print_kdc_line()Volker Lendecke1-10/+8
No code change except for an early "return talloc_asprintf(..)" making an else branch obsolete. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 18:24:25 CEST 2011 on sn-devel-104