Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-03-02 | Fix wbclient.c wrt tevent_req changes too. | Simo Sorce | 1 | -4/+3 | |
2009-03-02 | Attempt to fix the build | Volker Lendecke | 1 | -2/+2 | |
Simo, with which compiler did you build this? I'd be curious to learn about the compiler settings that make this build. Thanks, Volker | |||||
2009-03-02 | Make struct tevent_req opaque | Simo Sorce | 4 | -46/+35 | |
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future. | |||||
2009-03-02 | s3-spoolss: PRINTER_STATUS_OK has been moved to IDL. | Günther Deschner | 1 | -3/+0 | |
Guenther | |||||
2009-03-02 | s3-rpcclient: zero out devmode and secdesc in setdriver and setprinter command. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2009-03-02 | Use samba3's own iconv implementation for now, until all changes are | Jelmer Vernooij | 2 | -3/+3 | |
merged. | |||||
2009-03-01 | s3: Fix incompatible type warnings | Tim Prouty | 3 | -3/+3 | |
2009-03-01 | s3 OneFS: Refactor config code and cleanup includes | Tim Prouty | 12 | -387/+455 | |
2009-03-01 | Use shared header file for character sets, remove old definitions from ↵ | Jelmer Vernooij | 2 | -17/+1 | |
samba3 smb.h. | |||||
2009-03-01 | Merge branch 'master' of git://git.samba.org/samba into convenience | Jelmer Vernooij | 8 | -437/+38 | |
2009-03-01 | Use common header file for character set handling in Samba 3 and Samba 4. | Jelmer Vernooij | 6 | -135/+6 | |
2009-03-01 | Add header files for secace and secacl. | Jelmer Vernooij | 2 | -22/+3 | |
2009-03-01 | s4: Use same function signature for convert_* as s3. | Jelmer Vernooij | 1 | -1/+1 | |
2009-03-01 | Move secacl to top-level. | Jelmer Vernooij | 3 | -120/+1 | |
2009-03-01 | Also re-add removed codepoint_t; I'm clearly not having my day today. | Jelmer Vernooij | 1 | -0/+16 | |
2009-03-01 | Keep using Samba3's charset.h for now. | Jelmer Vernooij | 1 | -1/+1 | |
2009-03-01 | Move secace.c to top-level. | Jelmer Vernooij | 4 | -295/+18 | |
2009-03-01 | Merge branch 'master' of git://git.samba.org/samba into convenience | Jelmer Vernooij | 4 | -117/+5 | |
2009-03-01 | Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-next | Jelmer Vernooij | 8 | -20/+17 | |
2009-03-01 | Move next_token_talloc() to top-level. | Jelmer Vernooij | 1 | -112/+0 | |
2009-03-01 | Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents. | Jelmer Vernooij | 3 | -26/+1 | |
2009-03-01 | Only copy sharename up from rap_to_pjobid | Volker Lendecke | 3 | -5/+5 | |
Why?? :-) Another one of the little micro-optimizations that I just came across: If you allocate a variable in a sub-block like the "fstring sharename" in write_file(), gcc even with -O3 will allocate this variable unconditionally on the stack at the beginning of the routine. So with eliminating this fstring we cut 256 bytes of stack in a very hot code path writing to a file. It might make us a bit more cache-friendly. This would probably not be worth a second look if it involved larger code changes, but this one was just too simple to let it pass :-) | |||||
2009-03-01 | Merge branch 'master' of git://git.samba.org/samba into HEAD | Jelmer Vernooij | 1 | -0/+19 | |
2009-03-01 | Eliminate two duplicate SEC_ACE_TYPE constants already provided by | Jelmer Vernooij | 5 | -15/+12 | |
security.idl. | |||||
2009-02-28 | Fix bug #6082 - smbd_gpfs_getacl failed: Windows client can´t rename or | Jeremy Allison | 1 | -0/+19 | |
delete file (directory fix). Jeremy. | |||||
2009-02-28 | Fix async reading winbindd_response | Volker Lendecke | 1 | -1/+1 | |
2009-02-27 | Initialize the id_map status in idmap_ldap to avoid surprise | Bo Yang | 1 | -0/+8 | |
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 | 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 | s3: fix the build JOB_STATUS_BLOCKED -> JOB_STATUS_BLOCKED_DEVQ | Michael Adam | 1 | -1/+1 | |
Günther, please check... Michael | |||||
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 | s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.h | Michael Adam | 1 | -6/+0 | |
Michael |