summaryrefslogtreecommitdiffstats
path: root/source3/smbd/signing.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:smbd: move sconn->smb1.signing_state to xconn->smb1.signing_stateStefan Metzmacher2014-08-061-8/+8
| | | | | | | | This prepares the structures for multi-channel support. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:smbd: always allow SMB1 signing, but only announce it if configured.Stefan Metzmacher2014-04-161-2/+5
| | | | | | | | | | | Always allow the client to turn on SMB1 signing using FLAGS2_SMB_SECURITY_SIGNATURES_REQUIRED. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Apr 16 10:07:56 CEST 2014 on sn-devel-104
* lib/param: Consolidate code to enable smb signing on the server, always ↵Andrew Bartlett2013-11-221-12/+9
| | | | | | | | | | | | | | | enable on AD DC This uses the code from the source4/ SMB server (the NTVFS smb server) in common, to force SMB Signing to be on when we are an AD DC. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Nov 22 13:13:05 CET 2013 on sn-devel-104
* libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt headerStefan Metzmacher2012-08-041-2/+8
| | | | metze
* s3:smbd: skip nbt header in srv_check_sign_mac()Stefan Metzmacher2012-08-041-4/+10
| | | | metze
* s3:smbd/signing: use smbd_server_connection as talloc parent for its smb1 ↵Stefan Metzmacher2012-05-251-2/+2
| | | | | | | | | signing state metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 25 00:23:53 CEST 2012 on sn-devel-104
* s3:smbd: make use of SMB_SIGNING_* constantsStefan Metzmacher2011-11-031-3/+4
| | | | metze
* s3:param: the behavior of "client/server signing = auto" is the same as "true"Stefan Metzmacher2011-11-031-2/+0
| | | | | | So remove the special case for 'Auto'. metze
* libcli/smb: move smb_signing.[ch] to the toplevelStefan Metzmacher2011-10-251-1/+1
| | | | metze
* s3:smbd: make use of better SMB signing negotiationStefan Metzmacher2011-09-141-2/+11
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 14 09:41:02 CEST 2011 on sn-devel-104
* s3:smb_signing: add support for easier negotiation of SMB signingStefan Metzmacher2011-09-141-3/+7
| | | | | | We don't make use of it yet, but it will follow. metze
* s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett2011-05-311-2/+2
| | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3:smbd: use anonymous_shared_free() for shared memory signing stateStefan Metzmacher2011-01-201-0/+7
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 20 07:48:29 CET 2011 on sn-devel-104
* lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/Stefan Metzmacher2011-01-201-1/+1
| | | | metze
* s3-build: only include smb_signing.h where needed.Günther Deschner2010-08-181-1/+1
| | | | Guenther
* s3: Attempt to fix the build on AIX, shm_ptr seems to be a macro thereVolker Lendecke2010-03-291-5/+6
|
* s3:smbd: setup a shared memory area for the signing stateStefan Metzmacher2010-03-221-0/+80
| | | | metze
* s3:smbd: add an option to skip signings checks srv_check_sign_mac for ↵Stefan Metzmacher2010-03-221-1/+23
| | | | | | trusted channels metze
* s3:smbd: move SMB1 specific stuff into a substructure of smbd_server_connectionStefan Metzmacher2009-05-261-13/+13
| | | | metze
* s3:smbd: use new simplified snb_signing code in the serverStefan Metzmacher2009-03-231-0/+158
We keep the seqnum/mid mapping in the smb_request structure. This also moves one global variable into the smbd_server_connection struct. metze