Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:msdfs: removed unused variables | Stefan Metzmacher | 2011-10-08 | 1 | -209/+0 |
| | | | | metze | ||||
* | s3:msdfs: implement setup_dfs_referral() on top of SMB_VFS_GET_DFS_REFERRALS() | Stefan Metzmacher | 2011-10-08 | 1 | -85/+31 |
| | | | | metze | ||||
* | s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooks | Stefan Metzmacher | 2011-10-08 | 1 | -0/+7 |
| | | | | metze | ||||
* | s3: Use the uid_wrapper | Volker Lendecke | 2011-10-06 | 1 | -0/+1 |
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> | ||||
* | Fix bug #8507 - smbd doesn't correctly honor the "force create mode" bits ↵ | Jeremy Allison | 2011-10-05 | 1 | -6/+6 |
| | | | | | | | | | from a cifsfs create. Don't manipulate the new_dos_attributes bits until we know it's not a POSIX open. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 5 01:19:17 CEST 2011 on sn-devel-104 | ||||
* | Move FSCTL handling into the VFS. Initial code changes. Passes smbtorture ↵ | Richard Sharpe | 2011-10-01 | 2 | -335/+49 |
| | | | | NTTRANS-FSCTL. Test added to selftests. | ||||
* | Fix bug #8493 - DFS breaks zip file extracting unless "follow symlinks = no" set | Jeremy Allison | 2011-10-01 | 1 | -11/+2 |
| | | | | | | | | If a client sends a mangled name as part of a DFS path, use the post-mangled name for the pathname walk, not the mangled name. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 1 00:45:59 CEST 2011 on sn-devel-104 | ||||
* | s3-smb2_server: fix ioctl InputOffset checking | David Disseldorp | 2011-09-29 | 1 | -1/+10 |
| | | | | | | | Currently the InputOffset is always check to point to the input data buffer, regardless of whether input data is present. Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3-smb2_server: SMB2_OP_IOCTL doesn't require at least 1 dyn byte | David Disseldorp | 2011-09-29 | 1 | -0/+1 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | s3:smb2_server: SMB2_OP_CANCEL requests don't have to be signed | Stefan Metzmacher | 2011-09-29 | 1 | -0/+2 |
| | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 02:58:41 CEST 2011 on sn-devel-104 | ||||
* | s3: Remove the smbd_server_conn ref from create_junction | Volker Lendecke | 2011-09-26 | 2 | -2/+4 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Sep 26 16:33:30 CEST 2011 on sn-devel-104 | ||||
* | s3: Remove the smbd_server_conn ref from setup_dfs_referral | Volker Lendecke | 2011-09-26 | 1 | -1/+1 |
| | |||||
* | s3: Remove the smbd_server_conn ref from get_referred_path | Volker Lendecke | 2011-09-26 | 2 | -5/+7 |
| | |||||
* | s3: Remove the smbd_server_conn ref from dfs_redirect | Volker Lendecke | 2011-09-26 | 1 | -1/+3 |
| | |||||
* | s3: Remove the smbd_server_conn ref from create_conn_struct | Volker Lendecke | 2011-09-26 | 2 | -8/+10 |
| | |||||
* | s3: Remove the smbd_server_conn ref from parse_dfs_path | Volker Lendecke | 2011-09-26 | 1 | -5/+8 |
| | |||||
* | s3:smbd: disconnect the socket if we got an unexpected request | Stefan Metzmacher | 2011-09-23 | 2 | -1/+20 |
| | | | | | | | | | | | If we got a SMB2_OP_NEGPROT after the protocol is already negotiated or if we got a non SMB2_OP_NEGPROT before the protocol was negotiated we should close the connection (as windows does). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Sep 23 12:30:50 CEST 2011 on sn-devel-104 | ||||
* | s3:smbd: don't call smbd_terminate_connection in smb2_validate_message_id() ↵ | Stefan Metzmacher | 2011-09-23 | 1 | -2/+3 |
| | | | | | | | | (bug #8476) Only return false and the caller will terminate the connection. metze | ||||
* | Fix bug #8477 - Map to guest can return uninitialized blob of data. | Jeremy Allison | 2011-09-23 | 1 | -1/+3 |
| | | | | | | | Found by Codenomicon at SNIA SDC. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 23 03:19:46 CEST 2011 on sn-devel-104 | ||||
* | s3:smb2_server: fix a logic error, we should sign non guest sessions | Stefan Metzmacher | 2011-09-22 | 1 | -1/+1 |
| | | | | metze | ||||
* | Fix bug #8476 - Samba asserts when SMB2 client breaks the crediting rules. | Jeremy Allison | 2011-09-22 | 1 | -1/+6 |
| | | | | | | | Just drop the connection, not SMB_ASSERT. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 22 19:41:31 CEST 2011 on sn-devel-104 | ||||
* | Fix bug #8458] - IE9 on Windows 7 cannot download files to samba 3.5.11 share | Jeremy Allison | 2011-09-21 | 1 | -0/+25 |
| | | | | Handle the SECINFO_LABEL flag in the same was as Win2k3. | ||||
* | Fix bug #8473 - smb2_find uses a hard coded max reply size of 0x10000 ↵ | Jeremy Allison | 2011-09-21 | 1 | -1/+1 |
| | | | | | | instead of smb2_max_trans. Use lp_smb2_max_trans() instead of 0x10000. | ||||
* | s3:smb2-server: session setup replies should always be signed (except for ↵ | Michael Adam | 2011-09-21 | 1 | -2/+7 |
| | | | | | | | | | | | guest sessions) not only if the session should be signed Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 21 11:00:09 CEST 2011 on sn-devel-104 | ||||
* | s3: Trim a debug to 80 chars | Volker Lendecke | 2011-09-18 | 1 | -6/+11 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Sep 18 01:15:02 CEST 2011 on sn-devel-104 | ||||
* | s3: Fix a cut&paste error | Volker Lendecke | 2011-09-17 | 1 | -1/+1 |
| | |||||
* | s3:smbd: SMB ReadX with size > 0xffff should only possible for samba clients. | Stefan Metzmacher | 2011-09-14 | 1 | -1/+10 |
| | | | | | | | | | | | | | | | Windows 2008 R2 (and others) ignore the high bits for the read size. Unless we're using the unix extentions and the client uses CIFS_UNIX_LARGE_READ_CAP, we should also ignore the high bits. But we still need to support old "smbclient" binaries and have to check if the client is "Samba". metze Signed-off-by: Jeremy Allison <jra@samba.org> | ||||
* | s3:smbd: remember the client unix capabilities on the connection | Stefan Metzmacher | 2011-09-14 | 2 | -43/+44 |
| | | | | | | metze Signed-off-by: Jeremy Allison <jra@samba.org> | ||||
* | s3:smb2_server: SMB2_OP_GETINFO doesn't require at least 1 dyn byte | Stefan Metzmacher | 2011-09-14 | 1 | -1/+13 |
| | | | | metze | ||||
* | s3:smbd: make use of better SMB signing negotiation | Stefan Metzmacher | 2011-09-14 | 4 | -4/+31 |
| | | | | | | | 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 signing | Stefan Metzmacher | 2011-09-14 | 1 | -3/+7 |
| | | | | | | We don't make use of it yet, but it will follow. metze | ||||
* | s3:smbd: echo FLAGS2_SMB_SECURITY_SIGNATURES* and the signature field in the ↵ | Stefan Metzmacher | 2011-09-14 | 1 | -3/+9 |
| | | | | | | | | reply This matches what windows is doing. metze | ||||
* | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 2011-09-13 | 1 | -1/+1 |
| | |||||
* | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 2011-09-13 | 1 | -1/+1 |
| | |||||
* | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 2011-09-13 | 1 | -2/+3 |
| | |||||
* | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 2011-09-13 | 1 | -1/+2 |
| | |||||
* | s3: Remove a reference to smbd_server_conn | Volker Lendecke | 2011-09-13 | 1 | -2/+10 |
| | |||||
* | s3: Fix some nonempty blank lines | Volker Lendecke | 2011-09-13 | 1 | -3/+3 |
| | |||||
* | libcli/smb: s/FLAGS2_UNKNOWN_BIT4/FLAGS2_SMB_SECURITY_SIGNATURES_REQUIRED | Stefan Metzmacher | 2011-09-10 | 1 | -1/+1 |
| | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Sep 10 00:34:50 CEST 2011 on sn-devel-104 | ||||
* | Second part of fix for bug #8443 - Default user entry is set to minimal ↵ | Jeremy Allison | 2011-09-09 | 1 | -8/+11 |
| | | | | | | | | | permissions on incoming ACL change with no user specified. Be smarter about setting default permissions when a ACL_USER_OBJ isn't given. Use the principle of least surprises for the user. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Sep 9 00:26:08 CEST 2011 on sn-devel-104 | ||||
* | First part of fix for bug #8443 - Default user entry is set to minimal ↵ | Jeremy Allison | 2011-09-08 | 1 | -58/+2 |
| | | | | | | | permissions on incoming ACL change with no user specified. create_default_mode() is not needed - it's taken care of by code inside ensure_canon_entry_valid(). | ||||
* | Revert "Part 4 of bugfix for bug #7509 - smb_acl_to_posix: ACL is invalid ↵ | Jeremy Allison | 2011-09-08 | 1 | -11/+8 |
| | | | | | | | | | | | | | for set (Invalid argument)" This belongs as part of the bugfix for bug #8443 - Default user entry is set to minimal permissions on incoming ACL change with no user specified. Not as part of #7509. This reverts commit 2a1453e2318af77a79180f3137f8a8d3f1240233. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 8 08:50:12 CEST 2011 on sn-devel-104 | ||||
* | s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in ↵ | Stefan Metzmacher | 2011-09-07 | 1 | -0/+8 |
| | | | | | | | | | SMB2_FIND/QUERY_DIRECTORY metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 12:15:51 CEST 2011 on sn-devel-104 | ||||
* | s3:smb2_server: return OBJECT_NAME_INVALID if the path is terminated in ↵ | Stefan Metzmacher | 2011-09-07 | 1 | -0/+8 |
| | | | | | | SMB2_CREATE metze | ||||
* | s3:smb2_server: return BAD_NETWORK_NAME if the path is terminated in SMB2_TCON | Stefan Metzmacher | 2011-09-07 | 1 | -0/+8 |
| | | | | metze | ||||
* | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_write.c | Stefan Metzmacher | 2011-09-07 | 1 | -12/+6 |
| | | | | metze | ||||
* | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_setinfo.c | Stefan Metzmacher | 2011-09-07 | 1 | -13/+5 |
| | | | | metze | ||||
* | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_read.c | Stefan Metzmacher | 2011-09-07 | 1 | -11/+5 |
| | | | | metze | ||||
* | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_notify.c | Stefan Metzmacher | 2011-09-07 | 1 | -12/+4 |
| | | | | metze | ||||
* | s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_lock.c | Stefan Metzmacher | 2011-09-07 | 1 | -11/+5 |
| | | | | metze |