summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-11-24s3: Always try SamLogonExVolker Lendecke1-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-24s3-spoolss: re-arrange driver info level fillup functions.Günther Deschner1-95/+95
Guenther
2009-11-24s3-spoolss: fixes for _spoolss_EnumPrinterKey client and server.Günther Deschner2-3/+3
Thanks Metze for review! Guenther
2009-11-24s3-registry: use push_reg_multi_sz() in registry_push_value().Günther Deschner1-59/+3
Guenther
2009-11-24s3-registry: remove reg_pull_multi_sz().Günther Deschner3-30/+18
Guenther
2009-11-24s3:torture: use timeval_current/timeval_elapsed instead of start_timer/end_timerStefan Metzmacher2-33/+19
metze
2009-11-24s3:torture/nbio: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher1-2/+5
start_timer/end_timer metze
2009-11-24s3:dbwrap_torture: use timeval_current/timeval_elapsed instead of ↵Stefan Metzmacher1-16/+3
start_timer/end_timer metze
2009-11-24s3:fix the merged build of bin/smbtorture4Michael Adam7-6/+6
Michael
2009-11-23Restore NtCreateX case handling with FILE_FLAG_POSIX_SEMANTICS to the wayJeremy Allison1-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-23Remove unused code.Jeremy Allison2-49/+0
Jeremy.
2009-11-23Proper fix for #6898 - Samba duplicates file content on appending. Pointed ↵Jeremy Allison3-13/+21
out by Volker.Restores the pathname handling for FILE_FLAG_POSIX_SEMANTICS but still prevents the O_APPEND problems. Jeremy.
2009-11-23s3: add dbwrap_torture - a tool to stress test tdb transactions through dbwrapMichael Adam2-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-23s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam8-55/+87
Michael
2009-11-23s3:idmap_ldap: fix indentation: tab/space mixupMichael Adam1-14/+14
Michael
2009-11-23Fix bug #6898 - Samba duplicates file content on appendingJeremy Allison1-0/+10
Clients using a Windows open call should not be able to set FILE_FLAG_POSIX_SEMANTICS in an open. Jeremy.
2009-11-23s3-spoolss: Fix GetPrinter level 101.Günther Deschner1-1/+1
Guenther
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"Volker Lendecke5-18/+10
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc.
2009-11-23Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵Volker Lendecke3-12/+6
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78.
2009-11-23Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit"Volker Lendecke10-22/+15
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3.
2009-11-23Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵Volker Lendecke3-9/+5
explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af.
2009-11-23Revert "s3: Move the global variable Protocol to struct smbd_server_connection"Volker Lendecke19-66/+53
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea.
2009-11-23s3-winbind: In _wbint_CheckMachineAccount, there is only one child domain everVolker Lendecke1-1/+1
2009-11-23s3: Move a variable declaration to its only useVolker Lendecke1-1/+1
2009-11-23s3-printing: remove duplicate code while cleaning up driver structs.Günther Deschner1-68/+39
Guenther
2009-11-23s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they ↵Günther Deschner1-67/+0
belong. Guenther
2009-11-23s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs.Günther Deschner1-41/+0
Guenther
2009-11-23s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner5-375/+362
Guenther
2009-11-23s3-printing: use spoolss types and structs while adding drivers.Günther Deschner3-484/+184
Guenther
2009-11-23s3-spoolss: fix spoolss_EnumPrinterKey client and server code.Günther Deschner2-7/+40
Guenther
2009-11-22s3: Fix bug 6338 -- net rpc trustdom list always display "none"Volker Lendecke1-10/+23
2009-11-21s3: Fix some nonempty blank linesVolker Lendecke9-568/+468
2009-11-21s3: Remove a struct typedefVolker Lendecke3-9/+9
2009-11-21s3: Make alloc_sub_basic() staticVolker Lendecke3-20/+22
2009-11-21s3: Move the global variable Protocol to struct smbd_server_connectionVolker Lendecke19-53/+66
2009-11-21s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicitVolker Lendecke3-5/+9
2009-11-21s3: Make the implicit reference to Protocol in is_in_path() explicitVolker Lendecke10-15/+22
2009-11-21s3: Make the implicit reference to Protocol in mask_match_list() explicitVolker Lendecke3-6/+12
2009-11-21s3: Make the implicit reference to Protocol in mask_match() explicitVolker Lendecke5-10/+18
2009-11-21s3: Fix some nonempty blank linesVolker Lendecke3-77/+75
2009-11-21s3: Avoid two calls to strcmp()Volker Lendecke1-4/+4
2009-11-21s3: Fix a bool/enum mismatchVolker Lendecke1-1/+1
2009-11-21s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke6-44/+102
2009-11-21s3: Tune if-conditions in a very hot codepathVolker Lendecke1-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-21s3: Remove a pointless memsetVolker Lendecke1-1/+0
We are assigning the complete structure now (we used to assign individual fields), so this is obsolete.
2009-11-21s3: Cache brlock.tdb entries for the fast read&write strict locking code pathVolker Lendecke4-17/+74
For a netbench run this gains around 2% user-space CPU, fetching a 100MB file takes around 4% less.
2009-11-21ntlm_auth: use data_blob_talloc() to allocate session keyKai Blin1-2/+2
Thanks to Shibu Piriyath <shibunair80@ymail.com> for spotting the issue.
2009-11-20Fix logic bug where high bits tests was beingJeremy Allison1-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-21s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901)Michael Adam1-4/+6
Michael
2009-11-21s3:fix endianness bug in dbwrap_change_uint32_atomic() (bug #6901)Michael Adam1-4/+6
Michael