summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2/sesssetup.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-15s4-smb: serialise session setup operationsAndrew Tridgell1-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.
2009-12-24s4:gensec: change gensec_update_send/recv to tevent_reqStefan Metzmacher1-5/+12
metze
2009-09-19s4-smbd: minimise includes in smbd/ and smb_serverAndrew Tridgell1-3/+0
2009-02-13Remove auth/ntlm as a dependency of GENSEC by means of function pointers.Andrew Bartlett1-9/+7
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
2008-11-02Add gensec_settings structure. This wraps loadparm_context for now, butJelmer Vernooij1-1/+1
should in the future only contain some settings required for gensec.
2008-07-28smb2srv: sign SMB2 Logoff repliesStefan Metzmacher1-3/+17
metze (This used to be commit 2844e361730a6bc640ea89d0e10059deca1ca867)
2008-07-28smb2srv: correctly hold the signing state per sessionStefan Metzmacher1-1/+13
metze (This used to be commit 5b3ba3f3556e8031133128853cd2324ee3852aa1)
2008-06-07fixed mandatory signingAndrew Tridgell1-2/+1
Metze pointed out that if signing is mandatory in the server then we need to reject packets without the signed flag if the packet contains a session id. (This used to be commit 056f16e664e581bab1c07759e99ad4f6685c58eb)
2008-06-06added server side SMB2 signingAndrew Tridgell1-0/+9
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
2008-05-29fix from WSPP SMB2 test 11Andrew Tridgell1-1/+2
(This used to be commit 81612b7854725837e8487bf97b87bff6548b6ad3)
2008-02-12updated SMB2 header defines to match WSPP docsAndrew Tridgell1-6/+6
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
2008-02-12converted SMB2 session setup to use WSPP protocol field namesAndrew Tridgell1-7/+8
(This used to be commit 3c2af0fdc4916dce32c2690e49dde0852d1a0c50)
2007-12-21r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and ↵Jelmer Vernooij1-1/+1
wbsrv_connection. (This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
2007-12-21r26260: Store loadparm context in gensec context.Jelmer Vernooij1-0/+2
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-10-10r25551: Convert to standard bool type.Jelmer Vernooij1-4/+4
(This used to be commit c9651e2c5c078edee7b91085e936a93625c8d708)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)Andrew Tridgell1-1/+5
(This used to be commit 9a8da730a725fc9fc1a3e407273e688f44eadfe1)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-0/+2
Break up auth/auth.h not to include the world. Add credentials_krb5.h with the kerberos dependent prototypes. Andrew Bartlett (This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r17341: pass a messaging context to auth_context_create()Stefan Metzmacher1-2/+4
and gensec_server_start(). calling them with NULL for event context or messaging context is no longer allowed! metze (This used to be commit 679ac74e71b111344f1097ab389c0b83a9247710)
2007-10-10r17297: Some compilers don't seem to like the ;;Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit f814fae4002241f73a3a411ade96e5c58f973055)
2007-10-10r17268: change the smb2 session setup to use the new ↵Stefan Metzmacher1-61/+91
gensec_update_send/recv() api metze (This used to be commit 14ecc563431335c99df33f4a454b3b02380ae165)
2007-10-10r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher1-7/+8
is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
2007-10-10r16708: the packet format of SMB2 SessionSetup has changed,Stefan Metzmacher1-39/+8
there're 8 more unknown bytes... Note: - vista-CTP also support this as a server, but uses the old format as client - but vista-beta2 only uses and accept the new format metze (This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10r15742: use union smb_sessetupStefan Metzmacher1-18/+19
metze (This used to be commit de7e856a464c1c986be3687a7b97527b734240ce)
2007-10-10r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0Stefan Metzmacher1-2/+2
also if the dynamic flag should be set metze (This used to be commit 7829100e1ee79f4f5d24004af221288e19c09b3e)
2007-10-10r15304: Fix smbd build, more updates on getting --enable-dso to build againJelmer Vernooij1-0/+1
(This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
2007-10-10r12113: in SMB2 we should only allocate a new sessionStefan Metzmacher1-6/+6
when the client sends UID = 0, otherwise we return NT_STATUS_USER_SESSION_DELETED metze (This used to be commit 15973be48e3da0a49130911b9d3f192338c23783)
2007-10-10r12102: for SMB2 we need to allocate tcons per sessionStefan Metzmacher1-0/+5
metze (This used to be commit 4d527ac005086c2db954578b4126ca128e436e01)
2007-10-10r12092: - add dummy functions for the missing SMB2 opcodesStefan Metzmacher1-8/+49
- implement keepalive and logoff metze (This used to be commit 859ab627f45a5acca1deb66b8abdc38eaf49e5a2)
2007-10-10r11789: - add the start of a SMB2 serverStefan Metzmacher1-0/+185
- 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 (This used to be commit 08b31d5f618d2e416cb9812ad3a49754cd7212b8)