Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-12-08 | s3-spoolss: use driver level info8 everywhere in spoolss server internally. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-12-03 | Refactor reply_rmdir to use handle based code. All | Jeremy Allison | 1 | -3/+0 | |
calls are now handle based. Put rmdir into close.c and make it private. Jeremy. | |||||
2009-12-02 | Remove unneeded argument from can_set_delete_on_close(). Ensure | Jeremy Allison | 1 | -2/+1 | |
can_set_delete_on_close() is correctly called before any setting of the disposition bit (clean up the do_unlink() call). Jeremy. | |||||
2009-12-02 | Restructure the ACL code some more, get the internal semantics | Jeremy Allison | 1 | -0/+1 | |
right. The previous bugs were due to the fact that get_nt_acl_internal() could return an NTSTATUS error if there was no stored ACL blob, but otherwise would return the underlying ACL from the filysystem. Fix this so it always returns a valid acl if it can, and if it does not its an error to be reported back to the client. This then changes the inherit acl code. Previously we were trying to match Windows by setting a minimal ACL on a new file that didn't inherit anything from a parent directory. This is silly - the returned ACL wouldn't match the underlying UNIX permissions. The current code will correctly inherit from a parent if a parent has any inheritable ACE entries that apply to the new object, but will return a mapping from the underlying UNIX permissions if the parent has no inheritable entries. This makes much more sense for new files/directories. Jeremy. | |||||
2009-12-02 | s3: prefer posix_fallocate for doing "strict allocate" | Björn Jacke | 1 | -0/+1 | |
posix_fallocate is more efficient than manual zero'ing the file. When preallocation in kernel space is supported it's extremely fast. Support for preallocation at fs layer via posix_fallocate and fallocate at kernel site can be found in Linux kernel 2.6.23/glibc 2.10 with ext4, XFS and OCFS2. Other systems that I know of which support fast preallocation in kernel space are AIX 6.1 with JFS2 and recent Solaris versions with ZFS maybe UFS2, too. People who have a system with preallocation in kernel space might want to set "strict allocate = yes". This reduces file fragentation and it's also safer for setups with quota being turned on. As of today most systems still don't have preallocation in kernel space, and that's why "strict allocate = no" will stay the default for now. | |||||
2009-11-29 | s3: Restore "fake directory create times" as a share parameter | Volker Lendecke | 1 | -1/+1 | |
2009-11-29 | s3: Move directory_exist_stat to testparm.c, it only looks at the mode | Volker Lendecke | 1 | -1/+0 | |
2009-11-29 | s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers ↵ | Volker Lendecke | 1 | -1/+2 | |
look at the mtime | |||||
2009-11-29 | s3: Pass the "fake dir create times" parameter to sys_*stat | Volker Lendecke | 1 | -3/+6 | |
Step 0 to restore it as a per-share paramter | |||||
2009-11-26 | s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵ | Günther Deschner | 1 | -15/+3 | |
samba. Guenther | |||||
2009-11-24 | s3-registry: remove reg_pull_multi_sz(). | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2009-11-23 | Remove unused code. | Jeremy Allison | 1 | -3/+0 | |
Jeremy. | |||||
2009-11-23 | s3:torture: move the torture-specific headers to new torture/torture.h | Michael Adam | 1 | -55/+0 | |
Michael | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match() explicit" | Volker Lendecke | 1 | -2/+1 | |
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵ | Volker Lendecke | 1 | -2/+1 | |
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 1 | -2/+1 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵ | Volker Lendecke | 1 | -2/+1 | |
explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -2/+2 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-23 | s3-printing: use spoolss types and structs while getting and deleting drivers. | Günther Deschner | 1 | -6/+9 | |
Guenther | |||||
2009-11-23 | s3-printing: use spoolss types and structs while adding drivers. | Günther Deschner | 1 | -5/+7 | |
Guenther | |||||
2009-11-21 | s3: Remove a struct typedef | Volker Lendecke | 1 | -1/+1 | |
2009-11-21 | s3: Make alloc_sub_basic() static | Volker Lendecke | 1 | -2/+0 | |
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -2/+2 | |
2009-11-21 | s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit | Volker Lendecke | 1 | -1/+2 | |
2009-11-21 | s3: Make the implicit reference to Protocol in is_in_path() explicit | Volker Lendecke | 1 | -1/+2 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match_list() explicit | Volker Lendecke | 1 | -1/+2 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match() explicit | Volker Lendecke | 1 | -1/+2 | |
2009-11-21 | s3: Convert cli_get_fs_attr_info to the async API | Volker Lendecke | 1 | -1/+5 | |
2009-11-21 | s3: Cache brlock.tdb entries for the fast read&write strict locking code path | Volker Lendecke | 1 | -2/+1 | |
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file takes around 4% less. | |||||
2009-11-19 | s3: Factor timeval_string out of current_timestring() | Volker Lendecke | 1 | -0/+1 | |
2009-11-18 | s3: Do not talloc in readdir | Volker Lendecke | 1 | -3/+4 | |
This is a hot codepath (called from the stat cache) | |||||
2009-11-17 | Remove "store create time" code, cause create time to be stored | Jeremy Allison | 1 | -5/+3 | |
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-16 | Don't overwrite a dynamic pointer with the address of a stack | Jeremy Allison | 1 | -1/+1 | |
variable. Jeremy. | |||||
2009-11-14 | s3: Add min_setup, min_param and min_data to cli_trans_recv | Volker Lendecke | 1 | -6/+9 | |
Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus. | |||||
2009-11-14 | Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/ | Volker Lendecke | 1 | -0/+3 | |
2009-11-14 | s3: Convert cli_set_unix_extensions_capabilities_send to async | Volker Lendecke | 1 | -2/+7 | |
2009-11-14 | s3:passdb: remove the uid_to_rid method - we only need uid_to_sid | Michael Adam | 1 | -1/+0 | |
Michael | |||||
2009-11-13 | s3: Convert cli_unix_extensions_version to async | Volker Lendecke | 1 | -2/+10 | |
2009-11-12 | Ensure all callers to the rpc_client/cli_pipe functions correctly | Jeremy Allison | 1 | -13/+0 | |
initialize return variables. Jeremy. | |||||
2009-11-11 | Second part of bugfix for 6865 - acl_xattr module: Has dependency that ↵ | Jeremy Allison | 1 | -1/+0 | |
inherit acls = yes or xattrs are removed. We also need dos filemode = true set as well. Jeremy. | |||||
2009-11-10 | s3: Convert libsmb/cli_message to the async API | Volker Lendecke | 1 | -7/+8 | |
2009-11-10 | s3-chgpasswd: split out a check_password_complexity() function. | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2009-11-08 | Revert "s3: Do not directly reference the ndr_table_* in rpcclient" | Volker Lendecke | 1 | -2/+0 | |
This reverts commit 70c698fd547c4bc19cf77693608bbb34acac40b5. | |||||
2009-11-08 | Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly" | Volker Lendecke | 1 | -11/+5 | |
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a. | |||||
2009-11-08 | Revert "s3: Consolidate getting the name out of a pipes_struct" | Volker Lendecke | 1 | -1/+0 | |
This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f. | |||||
2009-11-08 | Revert "s3: Do not reference ndr_table when calling rpc_srv_register" | Volker Lendecke | 1 | -2/+3 | |
This reverts commit 494b2aff8826947e3bd556aecb175746163da485. | |||||
2009-11-08 | s3: Do not reference ndr_table when calling rpc_srv_register | Volker Lendecke | 1 | -3/+2 | |
2009-11-08 | s3: Consolidate getting the name out of a pipes_struct | Volker Lendecke | 1 | -0/+1 | |
2009-11-08 | s3: Do not reference ndr_table_<pipe> in the cli_ routines directly | Volker Lendecke | 1 | -5/+11 | |
2009-11-08 | s3: Do not directly reference the ndr_table_* in rpcclient | Volker Lendecke | 1 | -0/+2 | |