summaryrefslogtreecommitdiff
path: root/source4/smb_server/smb2/negprot.c
AgeCommit message (Collapse)AuthorFilesLines
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-09-24we should terminate the connection on a bad negprot packet sizeAndrew Tridgell1-2/+2
2008-07-28smb2srv: correctly hold the signing state per sessionStefan Metzmacher1-1/+1
metze (This used to be commit 5b3ba3f3556e8031133128853cd2324ee3852aa1)
2008-06-07fixed mandatory signingAndrew Tridgell1-0/+2
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-1/+12
(This used to be commit 8e919dcb0826a5b25d037ee6144af5f7cb21f3ae)
2008-04-17make smb2 read and write size configurableAndrew Tridgell1-3/+6
(This used to be commit 2090e75e0c28f8d2aada305059bdb455f42ed0d5)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-0/+2
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-02-14updated SMB2 code for getinfo according to WSPP docsAndrew Tridgell1-4/+5
- Updated getinfo structures and field names - also updated the protocol revision number handling to reflect new docs (This used to be commit 3aaa2e86d94675c6c68d66d75292c3e34bfbc81b)
2008-02-14Convert SMB and SMB2 code to use a common buffer handling structureAndrew Tridgell1-0/+2
This converts our SMB and SMB2 code to use a common structure "struct request_bufinfo" for information on the buffer bounds of a packet, alignment information and string handling. This allows us to use a common backend for SMB and SMB2 code, while still using all the same string and blob handling functions. Up to now we had been passing a NULL req handle into these common routines from the SMB2 side of the server, which meant that we failed any operation which did a bounds checked string extraction (such as a RenameInformation setinfo call, which is what Vista uses for renaming files) There is still some more work to be done on this - for example we can now remove many of the SMB2 specific buffer handling functions that we had, and use the SMB ones. (This used to be commit ca6d9be6cb6a403a81b18fa6e9a6a0518d7f0f68)
2008-02-12fixed crash when 0 dialects (thanks metze!)Andrew Tridgell1-2/+4
(This used to be commit 252bcf207b8117f325075cbb7bd05063756ac283)
2008-02-12updated SMB2 header defines to match WSPP docsAndrew Tridgell1-6/+6
(This used to be commit d2c6ad55eca27f50a38fc6e2a85032eddb3f0aae)
2008-02-12converted the out side of SMB2 negprot handlingAndrew Tridgell1-29/+30
This follows the SMB2 PFIF docs. Current versions of Vista can now connect to Samba4 as a SMB2 server and do basic operations (This used to be commit 9dc284770df9393a1a619735dc7a148713936fa7)
2008-02-12fixed up the .in side of SMB2 negprotAndrew Tridgell1-5/+35
fixed the input side of the SMB2 negprot structure and parsers according to the documentation (This used to be commit 55af8acc7b32c24e4b1187e9d8d1c8f060e914b0)
2007-12-21r26430: require explicit specification of loadparm context.Jelmer Vernooij1-1/+1
(This used to be commit 1b947fe0e6e16318e5a8127bb4932d6b5d20bcf6)
2007-12-21r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and ↵Jelmer Vernooij1-2/+2
wbsrv_connection. (This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
2007-12-21r26260: Store loadparm context in gensec context.Jelmer Vernooij1-0/+1
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-10-10r25551: Convert to standard bool type.Jelmer Vernooij1-1/+1
(This used to be commit c9651e2c5c078edee7b91085e936a93625c8d708)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-1/+2
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
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-10r22866: handle incoming chained smb2 requests in our server code to letStefan Metzmacher1-12/+12
the windows explorer in longhorn beta3 work. metze (This used to be commit 2390c9f24daccec917608cac0870890cdc73cb1c)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-1/+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-10r17009: set the protocol version correctStefan Metzmacher1-0/+2
metze (This used to be commit 24ec382560de356704bcbf6cd1ee52182231e970)
2007-10-10r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher1-2/+2
is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
2007-10-10r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0Stefan Metzmacher1-1/+1
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-10r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requestsStefan Metzmacher1-0/+53
- the default max protocol is still NT1 metze (This used to be commit d1bae931b327dda28e648efc473e0462cf036f7c)
2007-10-10r12092: - add dummy functions for the missing SMB2 opcodesStefan Metzmacher1-2/+0
- implement keepalive and logoff metze (This used to be commit 859ab627f45a5acca1deb66b8abdc38eaf49e5a2)
2007-10-10r11789: - add the start of a SMB2 serverStefan Metzmacher1-0/+177
- 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)