summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2012-08-04s3:smbd: add support for SMB_EXTENDED_SIGNATURES in SMBtconXStefan Metzmacher1-1/+9
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Aug 4 14:28:04 CEST 2012 on sn-devel-104
2012-08-04s3:smbd: setup the application session key with the first tcon on a sessionStefan Metzmacher2-31/+87
Look for Server.Session.SessionKeyState in [MS-SMB]. The first SMBtconX sets the state to available, which makes it possible to protect the session key at that stage, if client and server support TREE_CONNECT_ANDX_EXTENDED_SIGNATURE. metze
2012-08-04s3:smbd: setup session->global->signing_/application_key during SPNEGO SMB1 ↵Stefan Metzmacher1-2/+57
session setups metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Aug 4 11:09:42 CEST 2012 on sn-devel-104
2012-08-04s3:smbd: setup session->global->signing_/application_key during old SMB1 ↵Stefan Metzmacher1-2/+60
session setups metze
2012-08-04s3:smbd: keep the "application session key" during SMB1 reauthStefan Metzmacher1-2/+12
metze
2012-08-04libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt headerStefan Metzmacher1-2/+8
metze
2012-08-04s3:smbd: skip nbt header in srv_check_sign_mac()Stefan Metzmacher1-4/+10
metze
2012-08-02s3-pysmbd: Add hook for get_nt_acl()Andrew Bartlett1-0/+26
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 2 13:27:55 CEST 2012 on sn-devel-104
2012-08-02s3-pysmbd: fix DEBUGAndrew Bartlett1-1/+1
2012-08-02s3-pysmbd: Add my copyrightAndrew Bartlett1-1/+3
2012-08-02s3-pysmbd: Add set_nt_acl() function based on parts of vfstestAndrew Bartlett1-0/+111
This will allow us to set the full NT ACL on a file, using the VFS layer, during provision of the AD DC. Andrew Bartlett
2012-08-01s3:smbd: add a optional_support helper variable to reply_tcon_and_X()Stefan Metzmacher1-4/+7
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Aug 1 18:25:26 CEST 2012 on sn-devel-104
2012-08-01s3:smbd: make use of TCONX_FLAG_DISCONNECT_TID defineStefan Metzmacher1-1/+1
metze
2012-07-31s3: Fix Coverity ID 710818 Resource leakVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31s3: Fix Coverity ID 710827 Resource leakVolker Lendecke1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31s3: Make request_timed_out() staticVolker Lendecke2-4/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-31s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IPStefan Metzmacher1-15/+37
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 31 11:33:27 CEST 2012 on sn-devel-104
2012-07-31s3:smbd: use print_sockaddr() instead of client_socket_addr()Stefan Metzmacher1-1/+1
We already have a server address in sockaddr_storage format. Also the name "client_socket" was very miss leading, as it returns the local address of the socket. metze
2012-07-31s3:smbd: move smbd_register_ips() next to release_ip()Stefan Metzmacher1-27/+23
metze
2012-07-27lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and ↵Andrew Bartlett1-6/+3
server In these other cases, control of the sockets to bind to can be obtained using "bind interfaces only = yes" and "interfaces = ". Andrew Bartlett
2012-07-26s3:smb2_negprot: return the current system time in the SMB2 NEGPROT responseStefan Metzmacher1-1/+2
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jul 26 11:56:02 CEST 2012 on sn-devel-104
2012-07-26s3:smbd: fix compiler warnings in notify_internal.cStefan Metzmacher1-3/+5
metze
2012-07-26s3:smb2_sesssetup: reject SMB2_SESSION_FLAG_BINDING requestsStefan Metzmacher1-0/+13
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jul 26 02:08:56 CEST 2012 on sn-devel-104
2012-07-25s3:smb2_ioctl: fix GUID_compare() check in FSCTL_VALIDATE_NEGOTIATE_INFOStefan Metzmacher1-1/+1
metze
2012-07-25s3:smb2_ioctl: allow clients to send padding at the end of ↵Stefan Metzmacher1-1/+1
FSCTL_VALIDATE_NEGOTIATE_INFO metze
2012-07-25s3:smb2_ioctl: remove FSCTL_VALIDATE_NEGOTIATE_INFO_224 implementationStefan Metzmacher1-77/+0
Only Windows8 Beta uses this and it's broken, the client send wrong capabilities. Just returning an error seems to be fine for the Windows8 Beta client. metze
2012-07-25s3:smb2_server: simplify the talloc_pool handling for smbd_smb2_requestStefan Metzmacher2-39/+4
metze
2012-07-24lib/param: Move all enum declarations to lib/paramAndrew Bartlett3-0/+3
This is in preperation for the parameter table being made common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-24param: Make the 'unicode' parameter commonAndrew Bartlett1-1/+5
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
2012-07-24Fix unused variable.Jeremy Allison1-1/+0
2012-07-24Fix compiler warning.Jeremy Allison1-1/+1
2012-07-23Fix problem found by Andrew Bartlett - correctly check encrypted flag.Jeremy Allison1-2/+6
2012-07-23s3:smb2_tcon: reject access to shares mark as "smb encrypt = required"Stefan Metzmacher1-0/+8
We do not support SMB2 transport encryption yet. metze
2012-07-23s3:smbd: if a fsp has fsp->deferred_close, clients shouldn't be able to use itStefan Metzmacher1-2/+18
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jul 23 16:22:03 CEST 2012 on sn-devel-104
2012-07-19Move everything to use the common pidfile functions.Jeremy Allison2-2/+4
The extra code in source3/lib/pidfile.c is no longer needed.
2012-07-19Make the s3 pidfile use the common code inside lib/util/pidfile.cJeremy Allison1-1/+1
2012-07-19Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison2-2/+2
2012-07-19lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett1-21/+10
2012-07-19s3-aio: Panic if we try to close a fsp with outstanding aio requestsVolker Lendecke3-18/+15
The core smbd must have taken care of this. If we don't do this properly, we have a race of the close(2) against a pwrite(2). We might end up writing to the wrong file. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jul 19 03:40:17 CEST 2012 on sn-devel-104
2012-07-18s3-smb2: Postpone close_file until all aio is handledVolker Lendecke1-0/+52
Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-smb1: Postpone close_file until all aio is handledVolker Lendecke2-1/+86
Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Slightly simplify reply_close()Volker Lendecke1-25/+13
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-aio: Make the strict sync after write asyncVolker Lendecke1-18/+103
This restores cb405947caa9f4bdb962483860a9093a364ecbf2, which was lost during the refactoring of aio.c and vfs_aio_pthread.c. Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add a _nosync version of smb2_write_completeVolker Lendecke2-7/+25
This will be used in aio.c to avoid a second fsync after write Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-vfs: async fsyncVolker Lendecke1-0/+62
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Fix the buildVolker Lendecke1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Make us survive base-delaywrite with aio enabledVolker Lendecke1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Move the aio_pthread read/write functionality to vfs_defaultVolker Lendecke1-0/+6
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3-aio: Remove unused VFS functions and moreVolker Lendecke3-133/+0
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18s3: Add vfs_aio_posixVolker Lendecke3-6/+0
Signed-off-by: Jeremy Allison <jra@samba.org>