summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Fix a O(n^2) algorithm in regdb_fetch_keys()"Michael Adam2009-02-261-27/+5
| | | | | | | | | | | This reverts commit a13f065bad0f4d21a67e68b743f17f45bf0a4691. This fix is reverted, because the speedup is going to move further down into reg_objects.c. The unsorted list of subkey names is going to be indexed: This O(n^2) search bites us in more places. This re-establishes the abstraction of reg_objects.c. Michael
* Remove a temporary debug message -- sorryVolker Lendecke2009-02-261-1/+0
|
* s3-spoolss: fix search_notify(). sorry...Günther Deschner2009-02-261-1/+1
| | | | Guenther
* s3: re-run make samba3-idl.Günther Deschner2009-02-263-3/+54
| | | | Guenther
* s3-spoolss: job status defines moved to IDL.Günther Deschner2009-02-262-16/+1
| | | | Guenther
* spoolss: add spoolss_JobStatus.Günther Deschner2009-02-261-1/+22
| | | | Guenther
* s3-spoolss: remove some unused defines and structs.Günther Deschner2009-02-262-27/+1
| | | | Guenther
* s4:heimdal_build: correrctly switch closefrom() and get/setprogname() ↵Stefan Metzmacher2009-02-261-4/+6
| | | | | | replacements on and off metze
* Convert open_socket_out to tevent_reqVolker Lendecke2009-02-262-47/+47
|
* Add tevent_req helpers to includes.hVolker Lendecke2009-02-261-0/+2
|
* Add tevent_ntstatusVolker Lendecke2009-02-263-1/+84
|
* s3:net: wrap net conf import into one big transactionMichael Adam2009-02-261-6/+27
| | | | | | | This speeds up "net conf import" of a file with 2000 shares from 11 minutest to 1m50s on my box. Michael
* s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam2009-02-265-0/+57
| | | | | | | | | This is useful for wrapping higher level aggregate operations in transactions. The text backend implementations just return WERR_OK, the registry backend implementatoins use the regdb_transaction_start|commit|cancel routines just added. Michael
* s3:registry: wrap deletekey_recursive in one big transaction.Michael Adam2009-02-261-2/+38
| | | | | | | This speeds up "net conf drop" with 2000 shares on my box from 4m40s to 1m50s, leaving virtually only cpu load. Michael
* s3:registry: provide transaction_start|commit|cancel fns for the registry tdbMichael Adam2009-02-262-0/+21
| | | | Michael
* Wrap creating the sorted subkey cache in a transactionVolker Lendecke2009-02-261-3/+31
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add a comment describing the sorted subkeysVolker Lendecke2009-02-261-0/+23
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add sorted subkey cacheVolker Lendecke2009-02-262-19/+175
| | | | | | On my box this gets net conf list for 1000 records down to .1 seconds Signed-off-by: Michael Adam <obnox@samba.org>
* Add db_tdb_parseVolker Lendecke2009-02-261-0/+12
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add dbwrap->parse_recordVolker Lendecke2009-02-262-0/+30
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Speed up "net conf list"Volker Lendecke2009-02-261-115/+41
| | | | | | For 1000 shares this speeds up net conf list from .6 to .25 seconds on my box Signed-off-by: Michael Adam <obnox@samba.org>
* Speed up "net conf list"Volker Lendecke2009-02-262-4/+3
| | | | | | | With 1000 shares in the registry, this changed the time of "net conf list" from 1.1 seconds to .6 seconds. Signed-off-by: Michael Adam <obnox@samba.org>
* s4:Makefile: try to fix 'make installheaders' on *BSD systemsStefan Metzmacher2009-02-261-1/+1
| | | | metze
* s4:heimdal_build: don't always build setprogname.oStefan Metzmacher2009-02-262-17/+34
| | | | | | | | | | This hopefully fixes the build on Mac OS 10, where setprogname() is available via libc. asn1_compile and compile_et use only .ho files again and don't use socket_wrapper anymore. metze
* libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher2009-02-261-2/+4
| | | | | | -DSOCKET_WRAPPER_DISABLE=1 metze
* s4:ldb_map: include ldb_includes.h first to get replace.h as first headerStefan Metzmacher2009-02-263-0/+3
| | | | | | This should bring the build on AIX one step further. metze
* s4:VERSION: mark as 4.0.0-alpha8 gitsnapshotStefan Metzmacher2009-02-261-2/+2
| | | | metze
* Mark as the Samba 4.0 alpha7 releaseAndrew Bartlett2009-02-261-1/+1
|
* A simple hack to avoid the segfault in #6138Andrew Bartlett2009-02-261-1/+1
| | | | | | | | Thanks to Andrew Kroeger <andrew@id10ts.net> for reporting this. This fix just for the release. A better fix will make it into the master branch soon. Andrew Bartlett
* Fix more POSIX path lstat calls. Fix bug where close can returnJeremy Allison2009-02-251-5/+17
| | | | | | | | | failure if we have a pending modtime and the containing directory of the file has been renamed (there is no POSIX "update time by fd" call). This can't happen on Windows as the rename will fail if there are open files beneath it. Will add a torture test for this. Jeremy.
* Use fsp->posix_open in preference if we have it.Jeremy Allison2009-02-252-7/+7
| | | | Jeremy.
* s3-spoolss: fix _spoolss_AddJob behaviour.Günther Deschner2009-02-251-0/+4
| | | | Guenther
* s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.Günther Deschner2009-02-251-1/+5
| | | | Guenther
* s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.Günther Deschner2009-02-251-0/+29
| | | | Guenther
* Ensure ACL modules work with POSIX paths.Jeremy Allison2009-02-252-22/+79
| | | | Jeremy.
* s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.Günther Deschner2009-02-254-1/+68
| | | | Guenther
* lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() ↵Stefan Metzmacher2009-02-251-0/+5
| | | | | | | | | should be a noop The reason for tdb_reopen_all() is that the seek pointer on fds are shared between parent and child. metze
* s3: Report the correct path when dumping core on FreeBSDTim Prouty2009-02-251-1/+83
| | | | Utilize the kern.corefile sysctl value on FreeBSD
* s3: Refactor and cleanup the error paths in dump_core_setupTim Prouty2009-02-251-42/+49
|
* s3 OneFS: Add .snapshot directory configuration handlingTim Prouty2009-02-254-27/+201
|
* Fix use of streams modules with CIFSFS client.Jeremy Allison2009-02-252-4/+25
| | | | Jeremy.
* s3-rpcclient: add test command to call netr_LogonGetCapabilities (for bug ↵Günther Deschner2009-02-251-0/+44
| | | | | | #6100). Guenther
* Make test for open modes more robust against other bits.Jeremy Allison2009-02-251-1/+1
| | | | Jeremy.
* Fix bug in processing of open modes in POSIX open.Jeremy Allison2009-02-251-0/+2
| | | | | | | Was missing case of "If file exists open. If file doesn't exist error." Damn damn damn. CIFSFS client will have to have fallback cases for this error for a long time. Jeremy.
* s3-rpcclient: support level 2 in spoolss_addform.Günther Deschner2009-02-251-12/+42
| | | | Guenther
* s3-spoolss: make us pass the RPC-SPOOLSS torture test w.r.t. directory calls.Günther Deschner2009-02-251-38/+24
| | | | Guenther
* s3-spoolss: JOB_ACCESS_READ has moved to idl.Günther Deschner2009-02-251-1/+0
| | | | Guenther
* s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.Günther Deschner2009-02-251-32/+42
| | | | Guenther
* s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.Günther Deschner2009-02-251-0/+64
| | | | Guenther
* s3: re-run make samba3-idl.Günther Deschner2009-02-253-7/+247
| | | | Guenther