summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3:registry: implement create_subkey for the db backend.Michael Adam2009-02-261-0/+67
| | | | Michael
* s3:registry: add a create_subkey method to the backend ops.Michael Adam2009-02-263-0/+11
| | | | | | This is to provide a more atomic means of adding a subkey of a key. Michael
* s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.hMichael Adam2009-02-261-6/+0
| | | | Michael
* s3:net rpc registry: use regsubkey_ctr_init() instead of using talloc directly.Michael Adam2009-02-261-2/+5
| | | | Michael
* s3:registry: hash the list of subkeys in the regsubkey_ctrMichael Adam2009-02-263-27/+108
| | | | | | | | | | This removes many loops over all the arrays (from regsubkey_ctr_key_exists) and thus reduces "net conf drop" from 1m55 to 48seconds and "net conf import" from 1m55 to 58 seconds for 2000 shares on my box. Michael
* s3:registry: remove definition of regsubkey_ctr from the surface.Michael Adam2009-02-262-5/+7
| | | | | | | All access is now through accessor functions in reg_objects.c This allows for performance tuning under the hood in the next step. Michael
* s3:profiles: use regsubkey_ctr_init() instead of using talloc directly.Michael Adam2009-02-261-1/+3
| | | | Michael
* s3:registry: use regsubkey_ctr_init() in reg_eventlog.cMichael Adam2009-02-261-4/+10
| | | | Michael
* s3:services_db: use regsubkey_ctr_init() instead of using talloc directlyMichael Adam2009-02-261-2/+4
| | | | Michael
* s3:registry: use regsubkey_ctr_get_seqnum() in reg_backend_db.cMichael Adam2009-02-261-1/+1
| | | | Michael
* s3:registry: use regsubkey_ctr_set_seqnum() in reg_backend_db.cMichael Adam2009-02-261-1/+4
| | | | Michael
* s3:registry: use regsubkey_ctr_init() in reg_backend_db.cMichael Adam2009-02-261-8/+14
| | | | | | instead of using talloc directly. Michael
* s3:registry: use regsubkey_ctr_init() in reg_api.cMichael Adam2009-02-261-13/+10
| | | | | | instead of using talloc on struct regsubkey_ctr. Michael
* s3:registry: add regsubkey_ctr_get_seqnum() to hide implementationMichael Adam2009-02-262-0/+10
| | | | Michael
* s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller.Michael Adam2009-02-262-0/+12
| | | | Michael
* s3:registry: add a regsubkey_ctr_init function for allocating a regsubkey_ctrMichael Adam2009-02-262-1/+16
| | | | Michael
* s3:registry: fix a commentMichael Adam2009-02-261-3/+3
| | | | Michael
* s3:registry: don't directly access key->subkeys->subkeys[] in reg_backend_db.cMichael Adam2009-02-261-3/+5
| | | | | | Use the reg_objects accessor regsubkey_ctr_specific_key() instead. Michael
* s3:registry: don't directly access key->subkeys->subkeys[] in reg_api.cMichael Adam2009-02-261-2/+5
| | | | | | Use the reg_objects accessor regsubkey_ctr_specific_key() instead. Michael
* s3:registry: don't directly access key->subkeys->num_subkeys in reg_backend_db.Michael Adam2009-02-261-12/+16
| | | | | | Use the reg_objects api instead. Michael
* s3:registry: don't directly access key->subkeys->num_subkeys in reg_api.cMichael Adam2009-02-261-5/+5
| | | | | | Use the reg_objects api instead. Michael
* s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam2009-02-2621-85/+85
| | | | | | | This paves the way for hiding the typedef and the implementation from the surface. Michael
* 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-spoolss: job status defines moved to IDL.Günther Deschner2009-02-262-16/+1
| | | | Guenther
* s3-spoolss: remove some unused defines and structs.Günther Deschner2009-02-262-27/+1
| | | | Guenther
* 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-261-1/+1
|
* 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-261-0/+18
| | | | | | | | | 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-261-0/+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>
* 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
* Ensure ACL modules work with POSIX paths.Jeremy Allison2009-02-252-22/+79
| | | | Jeremy.
* 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