| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
metze
|
|
|
|
|
|
| |
to use it in torture tests too
metze
|
|
|
|
| |
metze
|
| |
|
| |
|
| |
|
|
|
|
| |
this fixes a valgrind error
|
|
|
|
|
|
|
| |
socket_connect_send() rather than the lower level socket code. Also
simplified the state structures a fair bit, and added name resolution,
fixing a bug where the multi-port connect code did a separate name
resolution for each port being tried.
|
|
|
|
| |
a bit more consistent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removed the duplicate calls to socket_connect(), instead creating a
common function socket_send_connect() used by both code paths
- fixed some NULL ptr checks (probably was cut-and-paste bugs)
- ensure we use the result of the name resolution
- added a few comments
- use 'fde' for the file description event. The variable name
'connect_ev' immediately made me think of an event context, not a
fde. Using common variable name conventions makes code a bit easier
to read
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removed the struct dcerpc_request_state as all the state
information is already available on the dcerpc_pipe structure, so just
use that
- added a single dcerpc_recv_data() handler for receiving packets
from the transport layer. This then does the initial decoding of
the dcerpc packet, and then looks at the packet type in order to
work out who to dispatch it to. This should allow in-flight async
rpc requests to still work while a new bind or alter context is
happening
- ensure that if the transport indicates the connection is dead that
any in-flight bind or alter context requests are given an error
- removed full_request_private and instead use separate bind_private
and alter_private pointers
- added a few comments for some bits I found hard to understand
|
|
|
|
|
|
|
| |
option torture:quick=yes/no. This should be used in all slow tests to
enable a quick mode
- enabled the test_rpc_quick.sh tests in 'make quicktest'
|
|
|
|
|
| |
revision 11809 had removed the change to the session key function
after authentication succeeds.
|
|
|
|
|
|
| |
ncacn_ip_tcp/ncalrpc. The problem was that svn revision 11809 removed
the logic that forced the CONNECT auth type for authenticated binds
which don't have an explicit SIGN or SEAL flag set.
|
|
|
|
| |
rafal
|
|
|
|
|
|
|
|
| |
2) Set credentials workstation name, otherwise rpc bind function
segfaults on auth stage
rafal
|
|
|
|
|
|
|
| |
utilities to set the context field.
rafal
|
|
|
|
|
|
|
|
| |
hack for the
winbind "bug" :-)
Volker
|
|
|
|
|
|
|
|
|
|
| |
to the
resolve_name if it's not used?
I know this is my code, but I don't understand why it breaks tests.
Volker
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This also removes dcerpc_bind_auth_password, the only user of
dcerpc_bind_auth. And this was not only passwords anyway.
Andrew Bartlett, as usual: Please take a close look.
Thanks,
Volker
|
| |
|
|
|
|
|
|
| |
closely. Survives RPC-ALTERCONTEXT.
Volker
|
| |
|
| |
|
|
|
|
|
|
|
| |
Tridge et al, please take a close look at this. It survives my basic rpc-login
test as well as rpc-lsa, but this is critical I think.
Volker
|
|
|
|
|
|
|
|
|
|
|
| |
fun to see
hundreds of logins from a single process.... :-)
Does not do all that is necessary yet. But as the old one was #ifdef'ed out,
this does not hurt much I think.
Volker
|
|
|
|
|
|
|
| |
- fix crash bug when running as non root
- add extra comments in the output
metze
|
|
|
|
|
|
| |
- added SMB2-SCANFIND test
- cleaned up continue flags in EAs and find requests
|
|
|
|
| |
- allow setting of the ALL_EAS flags bits in SMB2 getinfo
|
|
|
|
|
| |
<dtucker@zip.com.au>
Jeremy.
|
| |
|
|
|
|
| |
certainly make the code more compact.
|
|
|
|
|
|
|
|
|
| |
after the function has returned (the *address variable was assigned
into the state).
- changed libnet to use event_context_find() instead of
event_context_init(), so it works as a child of existing code that
uses a event context
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- it does Negprot and SessionSetup yet
the rest returns NT_STATUS_NOT_IMPLEMENTED
- it's off by default, enable with:
smbsrv:enable smb2 = yes
- negotition in the SMB Negprot isn't supported yet
- it's only tested with smbtorture SMB2-CONNECT
not with vista as client
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
| |
- add an idtree_limit to limit the max VUID we give the clients
it's UINT16_MAX (0xffff) for the SMB protocol
- add auth_time to the smbsrv_session statistics
- use the session_info as marker for finished and non-finished
session setups
metze
|
|
|
|
|
|
|
|
|
| |
them
- add a idtree_limit to the tcons substructure of smbsrv_connection
this controls what the highest TID is we give away to the client
it's UINT16_MAX (0xFFFF) for the SMB protocol
metze
|
|
|
|
|
|
| |
smbsrv_connection
metze
|
|
|
|
|
| |
request that the server return its own MxAc blob which contains the
maximum allowed access_mask for the returned file handle
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
| |
context for the current request
- just use '0', I'll remove the UID_FIELD_INVALID macro completly later
- why search for the session we have just create
- add TODO notices, I need to dicuss them with abartlet...
metze
|
| |
|
| |
|
|
|
|
| |
an ACL
|
|
|
|
|
|
|
|
|
| |
smb_server.c
- add a generic incoming packet handler, which handles the first incoming packet
and passes to the protocol specifc packet handler
metze
|