| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* Add chained NTCREATEX_READX test which first tries to open/read
a non-existant file failing on the open, then attempts the same
operation on a file that does exist, opening and reading
successfully.
* Add test for open_dispositions on directories.
|
|
|
|
|
|
| |
I want to use this in source3/smbd/
metze
|
|
|
|
|
|
| |
This will hold code that's shared between source3 and source4.
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These references were triggering the ambiguous talloc_free errors from
the recent talloc changes when the server is run using the 'standard'
process model instead of the 'single' process model. I am aiming to
move the build farm to use the 'standard' process model soon, as part
of an effort to make our test environment better match the real
deployment of Samba4.
The references are not needed as the way that the event context is
used is as the 'top parent', so when the event context is freed then
all of the structures that were taking a reference to the event
context were actually freed as well, thus making the references
redundent.
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Metze; "make test" on git master outputs exactly the same test summary
with our without this patch (apart from the "using seed" lines)]
If the transport socket is writable, then push the queue along
rather than wait until the caller returns back to the tevent loop.
This strategy keeps the sockets piping hot, and is particularly good
for cases where reading requests from one socket causes lots of
writes on another socket, or where lots of writes are made in a batch.
It doesn't matter if the socket is not writeable yet, packet_queue_run
will return quite cheaply in such a case.
Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
We should not try to parse the result if the status is not NT_STATUS_OK.
metze
|
|
|
|
| |
return NULL also for RAW_CLOSE_GENERIC
|
|
|
|
|
| |
Add the structures and marshalling for the lease break variants of the
oplock break / oplock break ack messages.
|
|
|
|
| |
Add the structures, constants, and marshalling for SMB2.1 leases.
|
| |
|
|
|
|
| |
consistency with Samba 3.
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
| |
metze
(partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
|
|
|
|
|
|
| |
Eventually, we should move some of these parameters into a separate
struct (perhaps into smb_transport_options?), to avoid the long lists of
parameters.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
make them wrappers around convert_string{,talloc}_convenience().
|
| |
|
| |
|
|
|
|
| |
global_loadparm.
|
|
|
|
| |
functions.
|
|
|
|
| |
remove some unused functions.
|
| |
|
| |
|
| |
|
|
|
|
| |
using global_loadparm.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Even if signing is mandatory.
With NTLMSSP this happens for the session setup:
request1 => BSRSPYL
response1 => BSRSPYL
request2 => BSRSPYL
response2 => <SIGNATURE>
and with krb5:
request1 => BSRSPYL
response1 => <SIGNATURE>
metze
|
| |
| |
| |
| | |
metze
|
| |
| |
| |
| |
| |
| | |
the _recv functions
metze
|
| |
| |
| |
| | |
Guenther
|
|/ |
|
|
|
|
|
|
|
| |
Pinched from b53e6387e30010509034835acf88b91b380ff44a by metze.
Andrew Bartlett
(This used to be commit d55602e23e7947462cb402b20b2d354b96aa7ba3)
|
|
|
|
|
|
|
| |
We now reuse ignored values for the ntvfs backend private flags.
metze
(This used to be commit 14eda93aeface307e1ffd1ea012d8f236fa78290)
|
|
|
|
|
|
|
|
|
|
|
| |
Also in particular the 'sync' flags (which Samba has traditionally
ignored).
Thanks to Olivier Salamin <olivier.salamin@gmail.com> for pointing out
more flags that needed to be handled.
Andrew Bartlett
(This used to be commit 370bb39cd79fe49efd36a1ceb3e896d386e6d3ce)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The MS-SMB document explains that some of these options should be
ignored. The test proves it.
/* Must be ignored by the server, per MS-SMB 2.2.8 */
/* Must be ignored by the server, per MS-SMB 2.2.8 */
If we implement HSM in samba4 (likely) we should honour this bit.
/* Don't pull this file off tape in a HSM system */
Andrew Bartlett
(This used to be commit 502739ff90d56d2c9aabe8e224317f6ceb175c17)
|