Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-23 | Remove unused code. | Jeremy Allison | 2 | -49/+0 | |
Jeremy. | |||||
2009-11-23 | Proper fix for #6898 - Samba duplicates file content on appending. Pointed ↵ | Jeremy Allison | 3 | -13/+21 | |
out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy. | |||||
2009-11-23 | s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrap | Michael Adam | 2 | -1/+369 | |
This can be used to also test tdb transactions on clustered installations throught ctdb. The test is modeled after the ctdb_transaction.c test program from the ctdb source code. It runs transactions in a tight loop on a test database called "transactions.tdb" (by default), increasing a counter in each iteration. In a clustered environment, a counter is maintained for each node. Michael | |||||
2009-11-23 | s3:torture: move the torture-specific headers to new torture/torture.h | Michael Adam | 8 | -55/+87 | |
Michael | |||||
2009-11-23 | s3:idmap_ldap: fix indentation: tab/space mixup | Michael Adam | 1 | -14/+14 | |
Michael | |||||
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 | s3-spoolss: Fix GetPrinter level 101. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match() explicit" | Volker Lendecke | 5 | -18/+10 | |
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵ | Volker Lendecke | 3 | -12/+6 | |
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 10 | -22/+15 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵ | Volker Lendecke | 3 | -9/+5 | |
explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 19 | -66/+53 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-23 | s3-winbind: In _wbint_CheckMachineAccount, there is only one child domain ever | Volker Lendecke | 1 | -1/+1 | |
2009-11-23 | s3: Move a variable declaration to its only use | Volker Lendecke | 1 | -1/+1 | |
2009-11-23 | s3-printing: remove duplicate code while cleaning up driver structs. | Günther Deschner | 1 | -68/+39 | |
Guenther | |||||
2009-11-23 | s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they ↵ | Günther Deschner | 1 | -67/+0 | |
belong. Guenther | |||||
2009-11-23 | s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs. | Günther Deschner | 1 | -41/+0 | |
Guenther | |||||
2009-11-23 | s3-printing: use spoolss types and structs while getting and deleting drivers. | Günther Deschner | 5 | -375/+362 | |
Guenther | |||||
2009-11-23 | s3-printing: use spoolss types and structs while adding drivers. | Günther Deschner | 3 | -484/+184 | |
Guenther | |||||
2009-11-23 | s3-spoolss: fix spoolss_EnumPrinterKey client and server code. | Günther Deschner | 2 | -7/+40 | |
Guenther | |||||
2009-11-22 | s3: Fix bug 6338 -- net rpc trustdom list always display "none" | Volker Lendecke | 1 | -10/+23 | |
2009-11-21 | s3: Fix some nonempty blank lines | Volker Lendecke | 9 | -568/+468 | |
2009-11-21 | s3: Remove a struct typedef | Volker Lendecke | 3 | -9/+9 | |
2009-11-21 | s3: Make alloc_sub_basic() static | Volker Lendecke | 3 | -20/+22 | |
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 19 | -53/+66 | |
2009-11-21 | s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit | Volker Lendecke | 3 | -5/+9 | |
2009-11-21 | s3: Make the implicit reference to Protocol in is_in_path() explicit | Volker Lendecke | 10 | -15/+22 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match_list() explicit | Volker Lendecke | 3 | -6/+12 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match() explicit | Volker Lendecke | 5 | -10/+18 | |
2009-11-21 | s3: Fix some nonempty blank lines | Volker Lendecke | 3 | -77/+75 | |
2009-11-21 | s3: Avoid two calls to strcmp() | Volker Lendecke | 1 | -4/+4 | |
2009-11-21 | s3: Fix a bool/enum mismatch | Volker Lendecke | 1 | -1/+1 | |
2009-11-21 | s3: Convert cli_get_fs_attr_info to the async API | Volker Lendecke | 6 | -44/+102 | |
2009-11-21 | s3: Tune if-conditions in a very hot codepath | Volker Lendecke | 1 | -1/+1 | |
This looks innocent, but it is visible in a netbench run. Due to boolean short-circuiting we don't have to execute the conditions on the right-hand side of the &&. So putting the less likely condition left gains a bit. | |||||
2009-11-21 | s3: Remove a pointless memset | Volker Lendecke | 1 | -1/+0 | |
We are assigning the complete structure now (we used to assign individual fields), so this is obsolete. | |||||
2009-11-21 | s3: Cache brlock.tdb entries for the fast read&write strict locking code path | Volker Lendecke | 4 | -17/+74 | |
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file takes around 4% less. | |||||
2009-11-21 | ntlm_auth: use data_blob_talloc() to allocate session key | Kai Blin | 1 | -2/+2 | |
Thanks to Shibu Piriyath <shibunair80@ymail.com> for spotting the issue. | |||||
2009-11-20 | Fix logic bug where high bits tests was being | Jeremy Allison | 1 | -1/+1 | |
done on both Windows and POSIX mkdirs instead of only on Windows mkdir (as intended). The variable "file_attributes" had already had FILE_FLAG_POSIX_SEMANTICS removed above in the function if it had already been set. Jeremy. | |||||
2009-11-21 | s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901) | Michael Adam | 1 | -4/+6 | |
Michael | |||||
2009-11-21 | s3:fix endianness bug in dbwrap_change_uint32_atomic() (bug #6901) | Michael Adam | 1 | -4/+6 | |
Michael | |||||
2009-11-20 | s3-build: delete more object files for "make clean". | Günther Deschner | 1 | -2/+3 | |
Guenther | |||||
2009-11-20 | s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init | Michael Adam | 1 | -0/+2 | |
When idmap backend is specified as idmap backend = ldap:"ldap://server1 ldap://server2" then currently "ldap://server1 ldap://server2" was passed to ldap_initialize including the quotes, leading to an ldap error. Michael | |||||
2009-11-20 | s3:idmap_ldap: trim the " chars from the location string in ↵ | Michael Adam | 1 | -0/+2 | |
idmap_ldap_alloc_init When idmap alloc backend is specified as idmap alloc backend = ldap:"ldap://server1 ldap://server2" then currently "ldap://server1 ldap://server2" was passed to ldap_initialize including the quotes, leading to an ldap error. Michael | |||||
2009-11-19 | s3: Avoid races to change the machine password in winbind | Volker Lendecke | 1 | -0/+18 | |
The machine password handler has code to deal with every node in the cluster trying to change the machine password at the same time. However, it is not very nice to the DC if everyone tries this simultaneously. This adds a random 0-255 second offset to our timed event. When this fires a bit later than strictly calculated, someone else might have stepped in and have already changed it. The timed event handler will handle this gracefully, it won't even try to do it again. | |||||
2009-11-19 | s3: Protect against flooding the DC with pwchange requests | Volker Lendecke | 1 | -14/+24 | |
When there is a temporary problem changing passwords we flooded the DC with pwchange requests. This gives the DC a 60-second break to recover. | |||||
2009-11-19 | s3: Re-check the timeout in machine_password_change_handler() | Volker Lendecke | 1 | -0/+6 | |
Someone else might have come in between and changed the password since we created that timed request | |||||
2009-11-19 | s3: Add some debugs to the winbind machine pwchange machinery | Volker Lendecke | 1 | -0/+16 | |
2009-11-19 | s3: Factor timeval_string out of current_timestring() | Volker Lendecke | 2 | -12/+14 | |
2009-11-19 | s3: Do not kill the whole smb session if a machine pwchange failed | Volker Lendecke | 1 | -1/+1 | |
2009-11-19 | s3:pdb_ldap: fix a comment typo | Michael Adam | 1 | -1/+1 | |
Michael |