Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-03 | s4:smb_server/smb2: add the same SMB_SIGNING_AUTO logic as for smb1 | Stefan Metzmacher | 1 | -2/+25 | |
metze | |||||
2011-10-31 | s4:smb_server/smb2: correctly implement related compound requests | Stefan Metzmacher | 2 | -0/+15 | |
We need to remember the session id and tree id. metze | |||||
2011-10-31 | s4:smb_server/smb2: always grant the requested credits | Stefan Metzmacher | 3 | -20/+20 | |
At least one credit, if the client asked for 0. metze | |||||
2011-10-31 | s4:smb_server/smb2: echo back more header fields | Stefan Metzmacher | 1 | -3/+7 | |
metze | |||||
2011-10-19 | s4:smb_server/smb2: make use of _smb_setlen_tcp() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-10-18 | gensec: move event context from gensec_*_init() to gensec_update() | Andrew Bartlett | 1 | -1/+1 | |
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> | |||||
2011-09-29 | s4:smb_server/smb2: make sure we sign the final session setup | Stefan Metzmacher | 1 | -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-05 | s4:smb_server: make use of PROTOCOL_SMB2_02 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-08-03 | gensec: clarify memory ownership for gensec_session_info() and ↵ | Andrew Bartlett | 1 | -1/+1 | |
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 | |||||
2011-03-04 | s4-nterr: move auth_nt_status_squash to nt_status_squash and move to nterr.c | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-12-01 | s4-smb_server Return why the ntvfs_connect() failed. | Andrew Bartlett | 1 | -1/+1 | |
Andrew Bartlett | |||||
2010-10-31 | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 1 | -19/+0 | |
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104 | |||||
2010-10-11 | smb2: Add missing dependency on NDR_DFSBLOBS. | Jelmer Vernooij | 1 | -1/+1 | |
2010-09-15 | s4-smb: serialise session setup operations | Andrew Tridgell | 1 | -0/+9 | |
the mixture of async and sync code in gensec makes a EOF on a socket during a session setup cause a crash. The simplest solution is to stop processing events on the socket until the session setup is complete. | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 2 | -5/+5 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-29 | s4:smb_server/smb2/find.c - remove unused code | Matthias Dieter Wallnöfer | 1 | -3/+0 | |
Spotted by the Solaris 10 compiler | |||||
2010-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 2 | -3/+3 | |
2010-04-27 | s4:smb_server: pass tsocket_addresses to the ntvfs layer | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2010-04-06 | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 1 | -4/+0 | |
we won't be using the mk -> wscript generator again | |||||
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 1 | -0/+2 | |
them | |||||
2010-04-06 | build: commit all the waf build files in the tree | Andrew Tridgell | 1 | -0/+10 | |
2010-02-02 | Change uint_t to unsigned int in source4 | Matt Kraai | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-24 | s4:gensec: change gensec_update_send/recv to tevent_req | Stefan Metzmacher | 1 | -5/+12 | |
metze | |||||
2009-12-10 | s4-server: use GUID_to_ndr_blob() in cldap and smb servers | Andrew Tridgell | 1 | -3/+2 | |
2009-12-10 | s4-smb2: use new GUID function in smb2 negprot | Andrew Tridgell | 1 | -3/+2 | |
2009-11-27 | s4:smb_server/smb2: don't reset highest_smb2_seqnum on SMB2 Cancel | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2009-11-27 | s4-smb2: sequence numbers are not checked in SMB2_OP_CANCEL | Andrew Tridgell | 1 | -1/+2 | |
2009-11-25 | s4/libcli: rename previously reserved field in SMB2 LOCK struct | Steven Danneman | 1 | -1/+1 | |
The lock.in.reserved field has been renamed lock_sequence in the SMB 2.1 dialect. See MS-SMB 2.2.26. | |||||
2009-09-19 | s4-smbd: minimise includes in smbd/ and smb_server | Andrew Tridgell | 8 | -15/+0 | |
2009-06-09 | s4:smb2srv: don't allow the related flag on the first request in a ↵ | Stefan Metzmacher | 1 | -0/+7 | |
compounded chain metze | |||||
2009-06-09 | s4:smb2srv: correctly fail remaining compounded requests after a failure | Stefan Metzmacher | 2 | -5/+18 | |
metze | |||||
2009-06-09 | s4:smb2srv: remove old TODO comment, we already check the seqnum | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2009-06-09 | s4:smb2srv: fix handling of multiple compounded requests | Stefan Metzmacher | 1 | -7/+12 | |
metze | |||||
2009-06-09 | s4:smb2srv: remove the chained file handle on close | Stefan Metzmacher | 1 | -0/+4 | |
metze | |||||
2009-05-26 | s4:smb2srv: We only support SMB 2.002. | Stefan Metzmacher | 1 | -5/+12 | |
We need to loop over all given dialects and check if we can find SMB2_DIALECT_REVISION_202. metze | |||||
2009-05-20 | Have ntvfs_connect() accept union smb_tcon *tcon instead of char* sharename | Sam Liddicott | 1 | -7/+7 | |
This change brings ntvfs_connect into compliance with other ntvfs functions which take an ntvfs module, an ntvfs request and an smb io union. It now becomes the responsibility of ntvfs modules to examine tcon->generic.level themselves and derive the share name and any other options directly; e.g. const char *sharename; switch (tcon->generic.level) { case RAW_TCON_TCON: sharename = tcon->tcon.in.service; break; case RAW_TCON_TCONX: sharename = tcon->tconx.in.path; break; case RAW_TCON_SMB2: default: return NT_STATUS_INVALID_LEVEL; } if (strncmp(sharename, "\\\\", 2) == 0) { char *p = strchr(sharename+2, '\\'); if (p) { sharename = p + 1; } } service.c smbsrv_tcon_backend() is called before ntvfs_connect and fills in some of the tcon->..out values. For the case of RAW_TCON_TCONX, it filles out tcon->tconx.out.tid and tcon->tconx.out.options For the case of RAW_TCON_TCON it fills out tcon->tcon.out.tid and tcon->tcon.out.max_xmit Thus the ntvfs_connect function for vfs modules may override these values if desired, but are not required to. ntvfs_connect functions are required to fill in the tcon->tconx.out.*_type fields, for RAW_TCON_TCONX, perhaps something like: if (tcon->generic.level == RAW_TCON_TCONX) { tcon->tconx.out.fs_type = ntvfs->ctx->fs_type; tcon->tconx.out.dev_type = ntvfs->ctx->dev_type; } Signed-off-by: Sam Liddicott <sam@liddicott.com> (I fixed the ntvfs_connect() in the smb_server/smb2/ and the RAW_TCON_SMB2 switch case in the modules) Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-05-11 | s4:smb_server: return after we have processed an invalid smb2 request | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2009-02-13 | Remove auth/ntlm as a dependency of GENSEC by means of function pointers. | Andrew Bartlett | 3 | -21/+22 | |
When starting GENSEC on the server, the auth subsystem context must be passed in, which now includes function pointers to the key elements. This should (when the other dependencies are fixed up) allow GENSEC to exist as a client or server library without bundling in too much of our server code. Andrew Bartlett | |||||
2009-02-02 | s4:smb_server: s/private/private_data | Stefan Metzmacher | 2 | -4/+4 | |
metze | |||||
2008-12-05 | Let ntvfs request transport close via ntvfs_request state | Sam Liddicott | 1 | -0/+10 | |
[I can't swear that this covers all the smb2 cases, there are some reply functions that I can't trace properly] Add NTVFS_ASYNC_STATE_CLOSE bit to ntvfs_request->async_states->state so that the ntvfs layer can signify that the client transport should be closed, most useful for proxy servies, and most likely due to a forwarding transport having been closed. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-11-02 | Add gensec_settings structure. This wraps loadparm_context for now, but | Jelmer Vernooij | 2 | -2/+2 | |
should in the future only contain some settings required for gensec. | |||||
2008-10-24 | Remove unused include param/param.h. | Jelmer Vernooij | 1 | -1/+0 | |
2008-10-24 | Remove iconv_convenience parameter from simple string push/pull | Jelmer Vernooij | 1 | -1/+1 | |
functions. | |||||
2008-09-24 | we need different error handling for truncated packets in NETPROT and | Andrew Tridgell | 1 | -2/+39 | |
other SMB2 operations. | |||||
2008-09-24 | we should terminate the connection on a bad negprot packet size | Andrew Tridgell | 1 | -2/+2 | |
2008-09-24 | cope with body_size zero in SMB2 receive | Andrew Tridgell | 1 | -1/+2 | |
2008-09-24 | check for a 0 byte in the buffer in SMB2 read | Andrew Tridgell | 1 | -0/+6 | |
2008-09-24 | the offset is 16 bits in SMB2 fileinfo | Andrew Tridgell | 1 | -1/+1 | |
2008-09-24 | fixed error code for bad keepalive | Andrew Tridgell | 1 | -1/+1 | |
2008-09-24 | stricter checking of SMB2 echo body (per the spec) | Andrew Tridgell | 1 | -1/+6 | |
thanks to the bluearc test suite |