summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | s3-spoolss: remove old rpccli_spoolss_getjob.Günther Deschner2009-02-263-90/+0
| | | | | | | | Guenther
* | s3-spoolss: add rpccli_spoolss_getjob convenience wrapper.Günther Deschner2009-02-262-0/+59
| | | | | | | | Guenther
* | s3: re-run make samba3-idl.Günther Deschner2009-02-263-5/+1395
| | | | | | | | Guenther
* | spoolss: add 2 new SPOOLSS_JOB_CONTROL values.Günther Deschner2009-02-261-1/+3
| | | | | | | | Guenther
* | spoolss: add spoolss_JobInfo2, JobInfo3 and JobInfo4 (new in vista).Günther Deschner2009-02-261-3/+63
| | | | | | | | Guenther
* | don't hardcode python pathBjörn Jacke2009-02-261-1/+5
| | | | | | | | Signed-off-by: Michael Adam <obnox@samba.org>
* | Make us pass the RAW-RENAME torture test I just added.Jeremy Allison2009-02-263-0/+54
| | | | | | | | | | | | | | Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. Jeremy.
* | Add another torture test inspired by George @ Apple.Jeremy Allison2009-02-261-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. This is connected to the test case where the close was failing due to a delayed write on a file not being able to succeed when Samba allowed the containing directory to be renamed. I will fix this in the server shortly (this should be done across connections also but with will be very hard in Samba - would need a full scan of the open file db on every directory rename) - so I will fix for the local case first (scanning local file opens inside an smbd is cheap). Jeremy.
* | lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher2009-02-261-1/+3
| | | | | | | | | | | | This should fix the build on Mac OS 10 metze
* | s3: fix the build JOB_STATUS_BLOCKED -> JOB_STATUS_BLOCKED_DEVQMichael Adam2009-02-261-1/+1
| | | | | | | | | | | | Günther, please check... Michael
* | tevent: add tevent_queue infrastructureStefan Metzmacher2009-02-263-1/+221
| | | | | | | | metze
* | s3:registry: tighten the subkey loop in reg_deletekey_recursive()Michael Adam2009-02-261-16/+13
| | | | | | | | | | | | | | | | | | | | and loop from the end to the beginning so that we don't need to rehash the subkeys... This gets "net conf drop" with 2000 shares down to 14 seconds on my box. Michael
* | s3:registry: use delete_reg_subkey() in reg_deletekey()Michael Adam2009-02-261-15/+1
| | | | | | | | | | | | This further speeds up net conf drop. Michael
* | s3:registry: implement delete_subkey in the smbconf backendMichael Adam2009-02-261-0/+6
| | | | | | | | | | | | delegating the call to the db backend Michael
* | s3:registry: implement delete_subkey in the db backendMichael Adam2009-02-261-0/+68
| | | | | | | | Michael
* | s3:registry: add a delete_subkey method to the backend ops.Michael Adam2009-02-263-0/+11
| | | | | | | | | | | | This is to provide a more atomic means of deleting a subkey of a key. Michael
* | s3:registry: refactor deletion of various subkey lists out of regdb_store_keys()Michael Adam2009-02-261-30/+31
| | | | | | | | Micheal
* | s3:registry: streamline and cleanup regdb_set_secdesc() somewhat.Michael Adam2009-02-261-15/+5
| | | | | | | | Michael
* | s3:registry: refactor deletion of value/secdesc/subkey list tdb records outMichael Adam2009-02-261-43/+73
| | | | | | | | | | | | of regdb_store_values(). Michael
* | s3:registry: streamline reg_deletekey() somewhat.Michael Adam2009-02-261-25/+19
| | | | | | | | | | | | use W_ERROR_... macros and separate assignments from checks Michael
* | s3:registry: use create_reg_subkey() in reg_createkey().Michael Adam2009-02-261-8/+2
| | | | | | | | | | | | | | | | | | Instead of calling store_reg_keys() On my box, importing 2000 shares into an empty smbconf key now takes some 32 seconds. Michael
* | s3:registry: implement create_subkey for the smbconf backendMichael Adam2009-02-261-0/+6
| | | | | | | | | | | | by delegating to the db backend Michael
* | 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
* | libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y)Michael Adam2009-02-261-0/+6
| | | | | | | | | | | | a goto destination can be specified as a second parameter. Michael
* | s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.hMichael Adam2009-02-262-6/+6
| | | | | | | | 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: 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