summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* s3: Fix some nonempty blank linesVolker Lendecke2009-11-213-77/+75
|
* s3: Avoid two calls to strcmp()Volker Lendecke2009-11-211-4/+4
|
* s3: Fix a bool/enum mismatchVolker Lendecke2009-11-211-1/+1
|
* s3: Convert cli_get_fs_attr_info to the async APIVolker Lendecke2009-11-216-44/+102
|
* s3: Tune if-conditions in a very hot codepathVolker Lendecke2009-11-211-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.
* s3: Remove a pointless memsetVolker Lendecke2009-11-211-1/+0
| | | | | We are assigning the complete structure now (we used to assign individual fields), so this is obsolete.
* s3: Cache brlock.tdb entries for the fast read&write strict locking code pathVolker Lendecke2009-11-214-17/+74
| | | | | For a netbench run this gains around 2% user-space CPU, fetching a 100MB file takes around 4% less.
* ntlm_auth: use data_blob_talloc() to allocate session keyKai Blin2009-11-211-2/+2
| | | | | Thanks to Shibu Piriyath <shibunair80@ymail.com> for spotting the issue.
* Fix logic bug where high bits tests was beingJeremy Allison2009-11-201-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.
* s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901)Michael Adam2009-11-211-4/+6
| | | | Michael
* s3:fix endianness bug in dbwrap_change_uint32_atomic() (bug #6901)Michael Adam2009-11-211-4/+6
| | | | Michael
* s3-build: delete more object files for "make clean".Günther Deschner2009-11-201-2/+3
| | | | Guenther
* s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_initMichael Adam2009-11-201-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
* s3:idmap_ldap: trim the " chars from the location string in ↵Michael Adam2009-11-201-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
* s3: Avoid races to change the machine password in winbindVolker Lendecke2009-11-191-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.