Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-27 | s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags. | Günther Deschner | 5 | -24/+19 | |
Guenther | |||||
2009-02-27 | Use talloc_tos() in regkey_access_check() | Volker Lendecke | 1 | -13/+2 | |
2009-02-26 | s3: fix guest auth when winbindd is running | Steven Danneman | 1 | -7/+7 | |
This fix is very subtle. If a server is configured with "security = share" and "guest ok = yes" and winbindd is running authorization will fail during tree connect. This is due to our inability to map the guest sid S-1-5-21-X-501 to a uid through sid_to_uid(). Winbindd is unaware of the hard coded mapping between this sid and whatever uid the name in lp_guestaccount() is assigned. So sid_to_uid() fails and we exit create_token_from_username() without ever calling pdb_getsampwsid() which IS aware of the hard coded mapping. This patch just reorganizes the code, moving sid_to_uid() down to the block of code in which it is needed, avoiding this early failure. | |||||
2009-02-26 | s3-rpcclient: add getjob spoolss command. | Günther Deschner | 1 | -0/+119 | |
Guenther | |||||
2009-02-26 | s3-rpcclient: use is_valid_policy_hnd before closing handles. | Günther Deschner | 1 | -20/+5 | |
Guenther | |||||
2009-02-26 | s3-spoolss: remove old rpccli_spoolss_getjob. | Günther Deschner | 3 | -90/+0 | |
Guenther | |||||
2009-02-26 | s3-spoolss: add rpccli_spoolss_getjob convenience wrapper. | Günther Deschner | 2 | -0/+59 | |
Guenther | |||||
2009-02-26 | s3: re-run make samba3-idl. | Günther Deschner | 3 | -5/+1395 | |
Guenther | |||||
2009-02-26 | spoolss: add 2 new SPOOLSS_JOB_CONTROL values. | Günther Deschner | 1 | -1/+3 | |
Guenther | |||||
2009-02-26 | spoolss: add spoolss_JobInfo2, JobInfo3 and JobInfo4 (new in vista). | Günther Deschner | 1 | -3/+63 | |
Guenther | |||||
2009-02-26 | don't hardcode python path | Björn Jacke | 1 | -1/+5 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-02-26 | Make us pass the RAW-RENAME torture test I just added. | Jeremy Allison | 3 | -0/+54 | |
Inside a directory, keep a file open and then renaming the directory should fail with ACCESS_DENIED. Jeremy. | |||||
2009-02-26 | Add another torture test inspired by George @ Apple. | Jeremy Allison | 1 | -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. | |||||
2009-02-26 | lib/torture: fix depency to map_nt_error_from_unix() | Stefan Metzmacher | 1 | -1/+3 | |
This should fix the build on Mac OS 10 metze | |||||
2009-02-26 | s3: fix the build JOB_STATUS_BLOCKED -> JOB_STATUS_BLOCKED_DEVQ | Michael Adam | 1 | -1/+1 | |
Günther, please check... Michael | |||||
2009-02-26 | tevent: add tevent_queue infrastructure | Stefan Metzmacher | 3 | -1/+221 | |
metze | |||||
2009-02-26 | s3:registry: tighten the subkey loop in reg_deletekey_recursive() | Michael Adam | 1 | -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 | |||||
2009-02-26 | s3:registry: use delete_reg_subkey() in reg_deletekey() | Michael Adam | 1 | -15/+1 | |
This further speeds up net conf drop. Michael | |||||
2009-02-26 | s3:registry: implement delete_subkey in the smbconf backend | Michael Adam | 1 | -0/+6 | |
delegating the call to the db backend Michael | |||||
2009-02-26 | s3:registry: implement delete_subkey in the db backend | Michael Adam | 1 | -0/+68 | |
Michael | |||||
2009-02-26 | s3:registry: add a delete_subkey method to the backend ops. | Michael Adam | 3 | -0/+11 | |
This is to provide a more atomic means of deleting a subkey of a key. Michael | |||||
2009-02-26 | s3:registry: refactor deletion of various subkey lists out of regdb_store_keys() | Michael Adam | 1 | -30/+31 | |
Micheal | |||||
2009-02-26 | s3:registry: streamline and cleanup regdb_set_secdesc() somewhat. | Michael Adam | 1 | -15/+5 | |
Michael | |||||
2009-02-26 | s3:registry: refactor deletion of value/secdesc/subkey list tdb records out | Michael Adam | 1 | -43/+73 | |
of regdb_store_values(). Michael | |||||
2009-02-26 | s3:registry: streamline reg_deletekey() somewhat. | Michael Adam | 1 | -25/+19 | |
use W_ERROR_... macros and separate assignments from checks Michael | |||||
2009-02-26 | s3:registry: use create_reg_subkey() in reg_createkey(). | Michael Adam | 1 | -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 | |||||
2009-02-26 | s3:registry: implement create_subkey for the smbconf backend | Michael Adam | 1 | -0/+6 | |
by delegating to the db backend Michael | |||||
2009-02-26 | s3:registry: implement create_subkey for the db backend. | Michael Adam | 1 | -0/+67 | |
Michael | |||||
2009-02-26 | s3:registry: add a create_subkey method to the backend ops. | Michael Adam | 3 | -0/+11 | |
This is to provide a more atomic means of adding a subkey of a key. Michael | |||||
2009-02-26 | libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y) | Michael Adam | 1 | -0/+6 | |
a goto destination can be specified as a second parameter. Michael | |||||
2009-02-26 | s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.h | Michael Adam | 2 | -6/+6 | |
Michael | |||||
2009-02-26 | s3:net rpc registry: use regsubkey_ctr_init() instead of using talloc directly. | Michael Adam | 1 | -2/+5 | |
Michael | |||||
2009-02-26 | s3:registry: hash the list of subkeys in the regsubkey_ctr | Michael Adam | 3 | -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 | |||||
2009-02-26 | s3:registry: remove definition of regsubkey_ctr from the surface. | Michael Adam | 2 | -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 | |||||
2009-02-26 | s3:profiles: use regsubkey_ctr_init() instead of using talloc directly. | Michael Adam | 1 | -1/+3 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_init() in reg_eventlog.c | Michael Adam | 1 | -4/+10 | |
Michael | |||||
2009-02-26 | s3:services_db: use regsubkey_ctr_init() instead of using talloc directly | Michael Adam | 1 | -2/+4 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_get_seqnum() in reg_backend_db.c | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_set_seqnum() in reg_backend_db.c | Michael Adam | 1 | -1/+4 | |
Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_init() in reg_backend_db.c | Michael Adam | 1 | -8/+14 | |
instead of using talloc directly. Michael | |||||
2009-02-26 | s3:registry: use regsubkey_ctr_init() in reg_api.c | Michael Adam | 1 | -13/+10 | |
instead of using talloc on struct regsubkey_ctr. Michael | |||||
2009-02-26 | s3:registry: add regsubkey_ctr_get_seqnum() to hide implementation | Michael Adam | 2 | -0/+10 | |
Michael | |||||
2009-02-26 | s3:registry: add regsubkey_ctr_set_seqnum to hide implementation from caller. | Michael Adam | 2 | -0/+12 | |
Michael | |||||
2009-02-26 | s3:registry: add a regsubkey_ctr_init function for allocating a regsubkey_ctr | Michael Adam | 2 | -1/+16 | |
Michael | |||||
2009-02-26 | s3:registry: fix a comment | Michael Adam | 1 | -3/+3 | |
Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->subkeys[] in reg_backend_db.c | Michael Adam | 1 | -3/+5 | |
Use the reg_objects accessor regsubkey_ctr_specific_key() instead. Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->subkeys[] in reg_api.c | Michael Adam | 1 | -2/+5 | |
Use the reg_objects accessor regsubkey_ctr_specific_key() instead. Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->num_subkeys in reg_backend_db. | Michael Adam | 1 | -12/+16 | |
Use the reg_objects api instead. Michael | |||||
2009-02-26 | s3:registry: don't directly access key->subkeys->num_subkeys in reg_api.c | Michael Adam | 1 | -5/+5 | |
Use the reg_objects api instead. Michael | |||||
2009-02-26 | s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr" | Michael Adam | 21 | -85/+85 | |
This paves the way for hiding the typedef and the implementation from the surface. Michael |