| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
| |
Guenther
Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
| |
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|
| |
|
| |
|
|
|
|
|
|
| |
NT_STATUS_RPC_* code
metze
|
|
|
|
|
|
|
| |
For now this only handles fault codes with we've seen yet
and for which we have explicit torture checks.
metze
|
|
|
|
|
|
|
|
| |
NT_STATUS_IS_ERR
Everything but NT_STATUS_OK is an error here.
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
alter_context requests
metze
|
| |
|
|
|
|
|
| |
We were creating a memory loop which caused havoc when the connection
was torn down.
|
| |
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
dcerpc_binding_handle stubs
metze
|
|
|
|
|
|
| |
dcerpc_binding_handle stubs
metze
|
|
|
|
| |
metze
|
| |
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
| |
cope with this. Jeremy"
This reverts commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f.
As tridge requested, we need this to work with older S3
servers, not just for smbtorture4.
Jeremy.
|
|
|
|
| |
with this. Jeremy
|
|
|
|
|
| |
This is not strictly needed as the ndr_pull_advance() checks it a few
lines further down, but I want to save Jeremy getting more grey hairs :-)
|
|
|
|
|
|
|
|
|
|
| |
The s3 RPC server returns a bind_nak if it gets a rpc bind with auth
padding. This change forces a padding length of zero to maximimise
compatibility with s3 servers.
I've left the padding code in as a #if 0 to make it easier for us to
test/fix the s3 server code, which should be changed to correctly
handle arbitrary auth padding in all rpc requests with auth trailers.
|
|
|
|
|
|
|
| |
The recent dcerpc padding changes made our padding relative to the
packet header, instead of the start of the stub. Surprisingly, this
broke w2k8r2 doing a dcpromo join to a s4 server. It seems that w2k8r2
is very fussy about the padding it gets in some circumstances.
|
|
|
|
| |
The last change broke net vampire against w2k8r2
|
|
|
|
|
|
| |
Cope with a wider range of auth padding in dcerpc bind_ack and
alter_context packets. We now use a helper function that calculates
the right auth padding.
|
|
|
|
| |
This was needed only by Python 2.3 which we no longer support.
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
| |
|
|
|
|
|
| |
If we don't include Python.h first then we get a pile of warnings due
to broken redefines of XOPEN_SOURCE in the Python includes.
|
|
|
|
|
|
| |
In order to implement root_fid in the s4 SMB server we need to declare
it as a handle type, just as for other fnum values in SMB. This
required some extensive (but simple) changes in many bits of code.
|
| |
|
|
|
|
|
|
|
| |
We were creating the name resolution context as a child of lp_ctx,
which meant when we gave up on a connection the timer on name
resolution kept running, and when it timed out the callback crashed as
the socket was already removed.
|
|
|
|
| |
This adds support for the nd464 binding string option
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
A dcerpc request may have a reference from a still completing async
callback, but we now consider the request to be complete. We want to
lose the main parent, leaving just the reference, if any.
|
|
|
|
|
|
| |
The upcoming talloc_free/talloc_reference changes change talloc_free
to be a macro. These two bits of code relied on it being a function
pointer
|
|
|
|
|
|
|
|
|
| |
We need to pass down flags to the DCE/RPC layer to allow fallback to
anonymous connections, as we can't log in with an expired password.
The anonymous connection can then change the password with SAMR.
Andrew Bartlett
|
|
|
|
|
| |
This helps with tools where setting the binding string is not
possible, such as net
|
| |
|
|
|
|
|
|
| |
The caller should decide if async is desired it should be harcoded per call.
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
| |
Over named pipes we can only do one smb_trans at a time,
otherwise we're getting NT_STATUS_PIPE_BUSY.
Async rpc calls need to use smb_read/write only.
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
In particular, this is the rename from creds_ to netlogon_creds_, as
well as other links to use the new common crypto.
Andrew Bartlett
|
|
|
|
| |
metze
|