summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3-build: try to fix QNX build ("delay" is defined in lib headers).Günther Deschner2009-11-251-7/+7
| | | | Guenther
* s3-registry: fix REG_MULTI_SZ handling in registry_push_value.Günther Deschner2009-11-251-3/+20
| | | | | | Catched by smbconftort test on the buildfarm. Guenther
* s3-kerberos: add check for prerequisite krb5/krb5.h header while checking ↵Günther Deschner2009-11-251-2/+7
| | | | | | | | for krb5/locate_plugin.h. (Needed for new Heimdal versions). Guenther
* Fix bug 6892 - When a chown operation is issued via Windows Explorer, all ↵Jeremy Allison2009-11-251-15/+36
| | | | | | | ACLS are wiped out. Merges existing DACLs when a ACL set operation comes in with only owner or group values set. Jeremy.
* Fix crash due to uninitialized pointer (not a problem in 3.4.x or below).Jeremy Allison2009-11-251-2/+1
| | | | Jeremy.
* s3 selftest: Add RAW-SFILEINFO-END-OF-FILE to selftestTim Prouty2009-11-251-1/+1
|
* s3 setfileinfo: Open with FILE_WRITE_DATA when setting the file sizeTim Prouty2009-11-251-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.
* s4 torture: Split up the torture suite setup for RAW-SFILEINFOTim Prouty2009-11-251-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.
* Remove call into reduce_name if case sensitive. This allows us to passJeremy Allison2009-11-241-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.
* Allow us to pass RAW-CHKPATH with FILE_FLAG_POSIX_SEMANTICS set or withJeremy Allison2009-11-242-4/+13
| | | | | wide links = no. Jeremy.
* Fix make test. Only do POSIX case conversion if FILE_FLAG_POSIX_SEMANTICS ↵Jeremy Allison2009-11-241-8/+12
| | | | | | set. Doh ! Jeremy.
* s3: Always try SamLogonExVolker Lendecke2009-11-241-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.
* s3-spoolss: re-arrange driver info level fillup functions.Günther Deschner2009-11-241-95/+95
| | | | Guenther
* s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.Günther Deschner2009-11-242-3/+3
| | | | | | Thanks Metze for review! Guenther
* s3-registry: use push_reg_multi_sz() in registry_push_value().Günther Deschner2009-11-241-59/+3
| | | | Guenther
* s3-registry: remove reg_pull_multi_sz().Günther Deschner2009-11-243-30/+18
| | | | Guenther
* s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timerStefan Metzmacher2009-11-242-33/+19
| | | | metze
* s3:torture/nbio: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher2009-11-241-2/+5
| | | | | | start_timer/end_timer metze
* s3:dbwrap_torture: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher2009-11-241-16/+3
| | | | | | start_timer/end_timer metze
* s3:fix the merged build of bin/smbtorture4Michael Adam2009-11-247-6/+6
| | | | Michael
* Restore NtCreateX case handling with FILE_FLAG_POSIX_SEMANTICS to the wayJeremy Allison2009-11-231-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.
* Remove unused code.Jeremy Allison2009-11-232-49/+0
| | | | Jeremy.
* Proper fix for #6898 - Samba duplicates file content on appending. Pointed ↵Jeremy Allison2009-11-233-13/+21
| | | | out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy.
* s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrapMichael Adam2009-11-232-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
* s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam2009-11-238-55/+87
| | | | Michael
* s3:idmap_ldap: fix indentation: tab/space mixupMichael Adam2009-11-231-14/+14
| | | | Michael
* Fix bug #6898 - Samba duplicates file content on appendingJeremy Allison2009-11-231-0/+10
| | | | | | Clients using a Windows open call should not be able to set FILE_FLAG_POSIX_SEMANTICS in an open. Jeremy.
* s3-spoolss: Fix GetPrinter level 101.Günther Deschner2009-11-231-1/+1
| | | | Guenther
* Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"Volker Lendecke2009-11-235-18/+10
| | | | This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
* Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵Volker Lendecke2009-11-233-12/+6
| | | | | | explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
* Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"Volker Lendecke2009-11-2310-22/+15
| | | | This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3.
* Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵Volker Lendecke2009-11-233-9/+5
| | | | | | explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
* Revert "s3: Move the global variable Protocol to struct smbd_server_connection"Volker Lendecke2009-11-2319-66/+53
| | | | This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
* s3-winbind: In _wbint_CheckMachineAccount, there is only one child domain everVolker Lendecke2009-11-231-1/+1
|
* s3: Move a variable declaration to its only useVolker Lendecke2009-11-231-1/+1
|
* s3-printing: remove duplicate code while cleaning up driver structs.Günther Deschner2009-11-231-68/+39
| | | | Guenther
* s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they ↵Günther Deschner2009-11-231-67/+0
| | | | | | belong. Guenther
* s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs.Günther Deschner2009-11-231-41/+0
| | | | Guenther
* s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner2009-11-235-375/+362
| | | | Guenther
* s3-printing: use spoolss types and structs while adding drivers.Günther Deschner2009-11-233-484/+184
| | | | Guenther
* s3-spoolss: fix spoolss_EnumPrinterKey client and server code.Günther Deschner2009-11-232-7/+40
| | | | Guenther
* s3: Fix bug 6338 -- net rpc trustdom list always display "none"Volker Lendecke2009-11-221-10/+23
|
* s3: Fix some nonempty blank linesVolker Lendecke2009-11-219-568/+468
|
* s3: Remove a struct typedefVolker Lendecke2009-11-213-9/+9
|
* s3: Make alloc_sub_basic() staticVolker Lendecke2009-11-213-20/+22
|
* s3: Move the global variable Protocol to struct smbd_server_connectionVolker Lendecke2009-11-2119-53/+66
|
* s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicitVolker Lendecke2009-11-213-5/+9
|
* s3: Make the implicit reference to Protocol in is_in_path() explicitVolker Lendecke2009-11-2110-15/+22
|
* s3: Make the implicit reference to Protocol in mask_match_list() explicitVolker Lendecke2009-11-213-6/+12
|
* s3: Make the implicit reference to Protocol in mask_match() explicitVolker Lendecke2009-11-215-10/+18
|