Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-25 | Make us pass RAW-CHKPATH with a case sensitive share. | Jeremy Allison | 1 | -42/+105 | |
I know Volker will look at this closely so here's the explaination :-). Originally on a case-sensitive share we simply did a stat (or lstat) call and returned success of fail based on the result. However this failed to take account of incoming paths with a wildcard (which must always fail, and with different error messages depending on whether the wildcard is the last component or in the path). Also it failed to take account of a stat fail with ENOENT due to a missing component of the path as the last component (which is ok as it could be a new file) or if the ENOENT was due to the missing component within the path (not the last component) - which must return the correct error. What this means is that with "case sensitive = yes" we do one more talloc call (to get the parent directory) and one more stat call (on the parent directory) in the case where the stat call fails. I think this is an acceptable overhead to enable case sensitive shares to return the correct error messages for applications. Volker please examine carefully :-). Jeremy. | |||||
2009-11-25 | Add RAW-CHKPATH test with case-sensitive share. | Jeremy Allison | 2 | -0/+7 | |
Jeremy. | |||||
2009-11-25 | s3-build: try to fix QNX build ("delay" is defined in lib headers). | Günther Deschner | 1 | -7/+7 | |
Guenther | |||||
2009-11-25 | s3-registry: fix REG_MULTI_SZ handling in registry_push_value. | Günther Deschner | 1 | -3/+20 | |
Catched by smbconftort test on the buildfarm. Guenther | |||||
2009-11-25 | s3-kerberos: add check for prerequisite krb5/krb5.h header while checking ↵ | Günther Deschner | 1 | -2/+7 | |
for krb5/locate_plugin.h. (Needed for new Heimdal versions). Guenther | |||||
2009-11-25 | Fix bug 6892 - When a chown operation is issued via Windows Explorer, all ↵ | Jeremy Allison | 1 | -15/+36 | |
ACLS are wiped out. Merges existing DACLs when a ACL set operation comes in with only owner or group values set. Jeremy. | |||||
2009-11-25 | Fix crash due to uninitialized pointer (not a problem in 3.4.x or below). | Jeremy Allison | 1 | -2/+1 | |
Jeremy. | |||||
2009-11-25 | s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftest | Tim Prouty | 1 | -1/+1 | |
2009-11-25 | s3 setfileinfo: Open with FILE_WRITE_DATA when setting the file size | Tim Prouty | 1 | -1/+1 | |
This matches what is outlined here: http://msdn.microsoft.com/en-us/library/ms804363.aspx This is also inline with how winXP/win7 handle this. See RAW-SFILEINFO-END-OF-FILE* in smbtorture4. | |||||
2009-11-25 | s4 torture: Split up the torture suite setup for RAW-SFILEINFO | Tim Prouty | 1 | -2/+2 | |
A side effect of this change is that RAW-SFILEINFO now runs the whole suite instead of just the first test. I changed the name of the first test to RAW-SFILEINFO-BASE and changed all of the selftest scripts that call it. | |||||
2009-11-24 | Remove call into reduce_name if case sensitive. This allows us to pass | Jeremy Allison | 1 | -2/+1 | |
RAW-CHKPATH when case sensitive = yes, but isn't the correct way to do it. I'm testing a larger patch to smbd/filename.c that should fix this correctly, and will add a torture test to ensure RAW-CHKPATH is run against a case sensitive share once this is done. Jeremy. | |||||
2009-11-24 | Allow us to pass RAW-CHKPATH with FILE_FLAG_POSIX_SEMANTICS set or with | Jeremy Allison | 2 | -4/+13 | |
wide links = no. 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-24 | s3: Always try SamLogonEx | Volker Lendecke | 1 | -2/+6 | |
Required for cluster systems working in a Samba domain. With NT4 this won't work, but real NT4 DCs should not be around in environments that pay big bucks for a cluster... And if they are, they can always install a Samba DC trusting that NT4 domain. | |||||
2009-11-24 | s3-spoolss: re-arrange driver info level fillup functions. | Günther Deschner | 1 | -95/+95 | |
Guenther | |||||
2009-11-24 | s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server. | Günther Deschner | 2 | -3/+3 | |
Thanks Metze for review! Guenther | |||||
2009-11-24 | s3-registry: use push_reg_multi_sz() in registry_push_value(). | Günther Deschner | 1 | -59/+3 | |
Guenther | |||||
2009-11-24 | s3-registry: remove reg_pull_multi_sz(). | Günther Deschner | 3 | -30/+18 | |
Guenther | |||||
2009-11-24 | s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timer | Stefan Metzmacher | 2 | -33/+19 | |
metze | |||||
2009-11-24 | s3:torture/nbio: use timeval_current/timeval_elapsed instead of ↵ | Stefan Metzmacher | 1 | -2/+5 | |
start_timer/end_timer metze | |||||
2009-11-24 | s3:dbwrap_torture: use timeval_current/timeval_elapsed instead of ↵ | Stefan Metzmacher | 1 | -16/+3 | |
start_timer/end_timer metze | |||||
2009-11-24 | s3:fix the merged build of bin/smbtorture4 | Michael Adam | 7 | -6/+6 | |
Michael | |||||
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 | 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 | |