Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-12-17 | s3:smbd: implement FSCTL_SET_SPARSE more correctly | Björn Jacke | 1 | -5/+43 | |
this is a port of a patch from metze for 3.3: We don't do the "strict allocation" when the sparse bit isn't set, but that shouldn't matter. We now allow windows applications to set and unset the sparse bit. Note that in order to implement this 100% like described in [MS-FSA], we'd have to change our data model and support the sparse flag per stream. | |||||
2010-11-24 | Add in fsp->access_mask checks. Not required (underlying system does this) | Jeremy Allison | 1 | -2/+4 | |
but makes logic cleaner. Pointed out by Metze. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 24 01:47:13 CET 2010 on sn-devel-104 | |||||
2010-11-03 | s3: Align nttrans replies the same way Windows does it | Volker Lendecke | 1 | -1/+1 | |
If you look at traces of "smbcacls" reading a secdesc from Samba and from W2k3 shows this difference in the querysecdesc nttrans reply. This patch is necessary to enable viewing previous versions via the shadow copy modules from Windows 2008. The other client versions seem not to care, but W2k8 does. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 3 17:04:28 UTC 2010 on sn-devel-104 | |||||
2010-10-21 | Add code to implement SeSecurityPrivilege in net rpc rights, and in the | Jeremy Allison | 1 | -0/+10 | |
open and get/set NT security descriptor code. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Oct 21 00:15:57 UTC 2010 on sn-devel-104 | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -0/+1 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-10-11 | Canonicalize incoming and outgoing ACLs. | Jeremy Allison | 1 | -4/+55 | |
Jeremy. | |||||
2010-10-01 | s3:smbd: Increase unsupported IOCTL debug message to 2 | Steven Danneman | 1 | -2/+4 | |
Even printing once per connection, level 0 was too spammy with Windows clients frequently sending FSCTL_GET_OBJECT_ID which is unsupported. | |||||
2010-09-15 | Fix all sid_parse returns to be checked. Tidy up some checks and error | Jeremy Allison | 1 | -5/+12 | |
messages. Jeremy. | |||||
2010-09-16 | s3-smbd: prevent call_nt_transact_ioctl() crash in FSCTL_FIND_FILES_BY_SID case. | Günther Deschner | 1 | -1/+4 | |
Jeremy, please check. Guenther | |||||
2010-09-15 | Add check for invalid data size. | Jeremy Allison | 1 | -1/+8 | |
Jeremy. | |||||
2010-09-09 | More paranoia to ensure SD's can't be set on read-only shares. | Jeremy Allison | 1 | -0/+4 | |
Jeremy. | |||||
2010-09-08 | Don't rely on the underlying ACL modules to enforce share level | Jeremy Allison | 1 | -0/+5 | |
security when setting ACLs, check at the call level as well. Jeremy. | |||||
2010-08-26 | s3-build: only include "fake_file.h" where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-24 | s3: Make srv_send_smb take an sconn instead of a sock fd | Volker Lendecke | 1 | -2/+2 | |
2010-08-16 | s3: Remove smbd_server_fd from send_nt_replies | Volker Lendecke | 1 | -2/+2 | |
2010-06-13 | s3: Remove fsp_belongs_conn | Volker Lendecke | 1 | -4/+4 | |
check_open_fsp does exactly the same | |||||
2010-06-12 | s3: Explicitly pass sconn to remove_pending_lock_requests_by_mid_smb1 | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Explicitly pass sconn to the remove_pending_change_notify_request_by_mid | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: change_notify_reply() does not need its "conn" argument | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_ntcancel | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from send_nt_replies | Volker Lendecke | 1 | -1/+1 | |
2010-06-03 | s3-security: use shared SECINFO_DACL define. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_SACL define. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_GROUP define. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_OWNER define. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-31 | s3-build: only use ndr_security.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 1 | -3/+3 | |
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | Implement missing info level SMB_FILE_LINK_INFORMATION. | Jeremy Allison | 1 | -0/+2 | |
Fix bug #7435 - SMB2 hardlink fails (invalid level). Found at the Microsoft plugsharing plugfest. Jeremy. | |||||
2010-05-18 | s3-secdesc: remove "typedef struct security_descriptor SEC_DESC". | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-05-18 | s3-build: fix the build. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 1 | -1/+1 | |
2010-04-29 | Carefully label SMB1-specific locking calls. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2010-04-28 | Connect set security descriptor into SMB2 code. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2010-04-26 | Plumb in get_nt_acl into SMB2. | Jeremy Allison | 1 | -40/+91 | |
Jeremy. | |||||
2010-04-12 | Move to using 64-bit mid values in our internal open file database. | Jeremy Allison | 1 | -1/+2 | |
This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy | |||||
2010-04-07 | s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does | Björn Jacke | 1 | -0/+6 | |
2010-04-05 | Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support. | Jeremy Allison | 1 | -0/+52 | |
Based on a patch reported and tested by Ira Cooper <samba@ira.wakeful.net>. Jeremy. | |||||
2010-03-30 | Second part of fix for bug #6494 - Incorrect FileStatus returned in ↵ | Jeremy Allison | 1 | -1/+19 | |
NT_CREATE_ANDX. Ensure we do this in nttrans create too. Jeremy. | |||||
2010-03-05 | Fix for bug #7189 - Open txt files with notepad on samba shares creates problem. | Jeremy Allison | 1 | -0/+4 | |
Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy. | |||||
2009-12-21 | Remove all calls to reply_doserror - turn them into | Jeremy Allison | 1 | -42/+42 | |
correct reply_nterror calls. Next rename reply_doserror -> reply_force_doserror and plumb in when NT_STATUS_DOS is used. Jeremy. | |||||
2009-12-17 | Vector correctly through reply_openerror() (which uses the same logic). | Jeremy Allison | 1 | -6/+1 | |
Jeremy. | |||||
2009-11-24 | Fix make test. Only do POSIX case conversion if FILE_FLAG_POSIX_SEMANTICS ↵ | Jeremy Allison | 1 | -8/+12 | |
set. Doh ! Jeremy. | |||||
2009-11-23 | Restore NtCreateX case handling with FILE_FLAG_POSIX_SEMANTICS to the way | Jeremy Allison | 1 | -5/+68 | |
it worked in 3.3.x and 3.2.x. UCF_POSIX_PATHNAMES may no longer be needed, as lp_posix_pathnames() being set isn't the same as case handling from NtCreateX (lp_posix_pathnames() changes the STAT calls to LSTAT, not the case semantics). Jeremy. | |||||
2009-11-23 | Proper fix for #6898 - Samba duplicates file content on appending. Pointed ↵ | Jeremy Allison | 1 | -12/+18 | |
out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy. | |||||
2009-11-23 | Fix bug #6898 - Samba duplicates file content on appending | Jeremy Allison | 1 | -0/+10 | |
Clients using a Windows open call should not be able to set FILE_FLAG_POSIX_SEMANTICS in an open. Jeremy. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -1/+1 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -1/+1 | |
2009-11-17 | Remove "store create time" code, cause create time to be stored | Jeremy Allison | 1 | -8/+10 | |
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy. | |||||
2009-11-05 | Got the logic simplification worked out so we still pass | Jeremy Allison | 1 | -1/+1 | |
BASE-DELAYWRITE and also RAW-CLOSE. Jeremy. | |||||
2009-11-05 | Revert commit "0551284dc08eb93ef7b2b2227a45e5ec21d482fb" - simplify | Jeremy Allison | 1 | -1/+1 | |
the logic. This was incorrect (I'll revisit this tomorrow). Jeremy. |