| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows server doesn't set the SMB2_SESSION_FLAG_IS_GUEST nor
SMB2_SESSION_FLAG_IS_NULL flag.
This fix makes sure we don't try to verify a signature on the
final session setup response.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Apr 16 14:44:46 CEST 2012 on sn-devel-104
|
|
|
|
| |
metze
|
|
|
|
|
| |
The latter pulls in a fair number of other libraries, including popt and the Samba registry library.
|
|
|
|
|
| |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Mar 15 02:57:59 CET 2012 on sn-devel-104
|
|
|
|
|
|
| |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
| |
|
| |
|
|
|
|
| |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
|
| |
|
|
|
|
| |
smb2_create_recv()
|
| |
|
| |
|
|
|
|
| |
previous_session argument
|
| |
|
|
|
|
| |
So that we can do a session reconnect.
|
|
|
|
|
| |
We only need the session, and under some circumstances, it might complicate
things for the caller to have to cope with the whole structure (talloc...).
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
signing_key
The signing_key is fix across all channels and is used for session setups
on a channel binding.
Note:
- the last session setup response is signed with the new channel signing key.
- the reauth session setups are signed with the channel signing key.
It's also not needed to remember the main session key.
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
smb2_transport_init()
This GUID is used in the smb2 negprot when max protocol is bigger than 0x0202.
According to section 2.2.3 of the MS-SMB2 document, the Client GUID filed in the
SMB2 negotiate request must be filled with a (non-zero) GUID if there are other
dialects than 0x0202 in the dialects field.
http://msdn.microsoft.com/en-us/library/cc246543%28v=prot.13%29.aspx
Apart from corresponding to the docs, this change makes some of our durable-open
tests (e.g reopen2 and open-oplock) _not_ hang when running against windows 8
preview (which might be still buggy).
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Feb 23 03:23:57 CET 2012 on sn-devel-104
|
|
|
|
|
|
| |
in smb2_connect()
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
|
|
| |
instead of smb2_tree arguement.
Only the tree->session is needed. This way it is less confusing.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Dec 9 15:13:11 CET 2011 on sn-devel-104
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
client for now
metze
|
|
|
|
|
|
| |
This matches the smb1 behavior.
metze
|
|
|
|
| |
buffer smb2_create.out.durable_open
|
| |
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
| |
This avoids keeping the event context around on a the gensec_security
context structure long term.
In the Samba3 server, the event context we either supply is a NULL
pointer as no server-side modules currently use the event context.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
session
metze
|
|
|
|
|
|
| |
NT_STATUS_USER_SESSION_DELETED
metze
|
| |
|
| |
|
|
|
|
|
|
|
| |
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced
by generated PIDL output.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gensec_session_key()
This is slightly less efficient, because we no longer keep a cache on
the gensec structures, but much clearer in terms of memory ownership.
Both gensec_session_info() and gensec_session_key() now take a mem_ctx
and put the result only on that context.
Some duplication of memory in the callers (who were rightly uncertain
about who was the rightful owner of the returned memory) has been
removed to compensate for the internal copy.
Andrew Bartlett
|
|
|
|
|
| |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Jul 23 23:20:51 CEST 2011 on sn-devel-104
|
|
|
|
|
|
|
|
|
|
|
|
| |
The two error tables need to be combined, but for now seperate the names.
(As the common parts of the tree now use the _common function,
errmap_unix.c must be included in the s3 autoconf build).
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
smb2_session_setup_spnego_send() should be on the top of
the smb2_session_setup_spnego_* block.
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_session_done().
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_negprot_done().
metze
|
|
|
|
|
|
| |
It should be after smb2_connect_socket_done().
metze
|