Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-31 | s3: Fix Coverity ID 710827 Resource leak | Volker Lendecke | 1 | -0/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-07-31 | s3: Make request_timed_out() static | Volker Lendecke | 2 | -4/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-07-31 | s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IP | Stefan Metzmacher | 1 | -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-31 | s3:smbd: use print_sockaddr() instead of client_socket_addr() | Stefan Metzmacher | 1 | -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-31 | s3:smbd: move smbd_register_ips() next to release_ip() | Stefan Metzmacher | 1 | -27/+23 | |
metze | |||||
2012-07-27 | lib/param: Remove use of lp{cfg,}_socket_address outside the NBT client and ↵ | Andrew Bartlett | 1 | -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-26 | s3:smb2_negprot: return the current system time in the SMB2 NEGPROT response | Stefan Metzmacher | 1 | -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-26 | s3:smbd: fix compiler warnings in notify_internal.c | Stefan Metzmacher | 1 | -3/+5 | |
metze | |||||
2012-07-26 | s3:smb2_sesssetup: reject SMB2_SESSION_FLAG_BINDING requests | Stefan Metzmacher | 1 | -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-25 | s3:smb2_ioctl: fix GUID_compare() check in FSCTL_VALIDATE_NEGOTIATE_INFO | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-07-25 | s3:smb2_ioctl: allow clients to send padding at the end of ↵ | Stefan Metzmacher | 1 | -1/+1 | |
FSCTL_VALIDATE_NEGOTIATE_INFO metze | |||||
2012-07-25 | s3:smb2_ioctl: remove FSCTL_VALIDATE_NEGOTIATE_INFO_224 implementation | Stefan Metzmacher | 1 | -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-25 | s3:smb2_server: simplify the talloc_pool handling for smbd_smb2_request | Stefan Metzmacher | 2 | -39/+4 | |
metze | |||||
2012-07-24 | lib/param: Move all enum declarations to lib/param | Andrew Bartlett | 3 | -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-24 | param: Make the 'unicode' parameter common | Andrew Bartlett | 1 | -1/+5 | |
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett | |||||
2012-07-24 | Fix unused variable. | Jeremy Allison | 1 | -1/+0 | |
2012-07-24 | Fix compiler warning. | Jeremy Allison | 1 | -1/+1 | |
2012-07-23 | Fix problem found by Andrew Bartlett - correctly check encrypted flag. | Jeremy Allison | 1 | -2/+6 | |
2012-07-23 | s3:smb2_tcon: reject access to shares mark as "smb encrypt = required" | Stefan Metzmacher | 1 | -0/+8 | |
We do not support SMB2 transport encryption yet. metze | |||||
2012-07-23 | s3:smbd: if a fsp has fsp->deferred_close, clients shouldn't be able to use it | Stefan Metzmacher | 1 | -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-19 | Move everything to use the common pidfile functions. | Jeremy Allison | 2 | -2/+4 | |
The extra code in source3/lib/pidfile.c is no longer needed. | |||||
2012-07-19 | Make the s3 pidfile use the common code inside lib/util/pidfile.c | Jeremy Allison | 1 | -1/+1 | |
2012-07-19 | Move source4/smbd/pidfile into lib/util in preparation for making it in common. | Jeremy Allison | 2 | -2/+2 | |
2012-07-19 | lib/param: bring lp_smb_ports() into common by making it a list everywhere | Andrew Bartlett | 1 | -21/+10 | |
2012-07-19 | s3-aio: Panic if we try to close a fsp with outstanding aio requests | Volker Lendecke | 3 | -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-18 | s3-smb2: Postpone close_file until all aio is handled | Volker Lendecke | 1 | -0/+52 | |
Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3-smb1: Postpone close_file until all aio is handled | Volker Lendecke | 2 | -1/+86 | |
Thanks to Jeremy for this simple idea Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Slightly simplify reply_close() | Volker Lendecke | 1 | -25/+13 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3-aio: Make the strict sync after write async | Volker Lendecke | 1 | -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-18 | s3: Add a _nosync version of smb2_write_complete | Volker Lendecke | 2 | -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-18 | s3-vfs: async fsync | Volker Lendecke | 1 | -0/+62 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Fix the build | Volker Lendecke | 1 | -0/+1 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Make us survive base-delaywrite with aio enabled | Volker Lendecke | 1 | -0/+4 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Move the aio_pthread read/write functionality to vfs_default | Volker Lendecke | 1 | -0/+6 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3-aio: Remove unused VFS functions and more | Volker Lendecke | 3 | -133/+0 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Add vfs_aio_posix | Volker Lendecke | 3 | -6/+0 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Make smbd/aio.c not depend on aio.h anymore | Volker Lendecke | 1 | -72/+20 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Remove the unused completion handling from aio.c | Volker Lendecke | 3 | -344/+1 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Properly handle shutdown with the _send/_recv based aio | Volker Lendecke | 5 | -119/+105 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Use SMB_VFS_PWRITE_SEND in schedule_smb2_aio_write | Volker Lendecke | 1 | -5/+55 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Use SMB_VFS_PREAD_SEND in schedule_smb2_aio_read | Volker Lendecke | 1 | -5/+61 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Use SMB_VFS_PWRITE_SEND in schedule_aio_write_and_X | Volker Lendecke | 1 | -3/+113 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Use SMB_VFS_PREAD_SEND in schedule_aio_read_and_X | Volker Lendecke | 1 | -3/+76 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3-vfs: async pread | Volker Lendecke | 1 | -0/+64 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3-vfs: async pwrite | Volker Lendecke | 1 | -0/+65 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *. | Rusty Russell | 24 | -161/+181 | |
They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-07-13 | s3: Make us survive smb2.lock.rw-shared with aio enabled | Volker Lendecke | 1 | -1/+1 | |
schedule_aio_smb2_write can return NT_STATUS_FILE_LOCK_CONFLICT. This is a valid error code that smb2.lock.rw-shared expects and checks for. The code before this patch maps this to NT_STATUS_FILE_CLOSED, masking the real, correct error message. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 13 21:53:51 CEST 2012 on sn-devel-104 | |||||
2012-07-13 | s3-auth Remove unused global_machine_account_needs_changing | Andrew Bartlett | 1 | -5/+0 | |
This boolean was only set if the old machine account store (with an MD4 hash in it) was returned. We have not set that password type for years. If this call ever worked, it would store a plaintext password, so we could only ever be here if we had set a password using a version of Samba so old as not to store plaintext, and then never honered the flag anyway. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 13 07:52:40 CEST 2012 on sn-devel-104 | |||||
2012-07-12 | Set fsp->initial_allocation_size before calling open_file_ntcreate(). | Jeremy Allison | 1 | -0/+5 | |
Allows an SMB_VFS_OPEN() vfs module to do something interesting with the request. | |||||
2012-07-12 | Make sure we reset fsp->initial_allocation_size to zero if we didn't create ↵ | Jeremy Allison | 1 | -0/+2 | |
the file. This will become important as we set fsp->initial_allocation_size before create. |