summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-02-26s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam1-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
2009-02-26s3:registry: wrap deletekey_recursive in one big transaction.Michael Adam1-2/+38
This speeds up "net conf drop" with 2000 shares on my box from 4m40s to 1m50s, leaving virtually only cpu load. Michael
2009-02-26s3:registry: provide transaction_start|commit|cancel fns for the registry tdbMichael Adam2-0/+21
Michael
2009-02-26Wrap creating the sorted subkey cache in a transactionVolker Lendecke1-3/+31
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26Add a comment describing the sorted subkeysVolker Lendecke1-0/+23
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26Add sorted subkey cacheVolker Lendecke2-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>
2009-02-26Add db_tdb_parseVolker Lendecke1-0/+12
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26Add dbwrap->parse_recordVolker Lendecke2-0/+30
Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26Speed up "net conf list"Volker Lendecke1-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>
2009-02-26Speed up "net conf list"Volker Lendecke1-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>
2009-02-25Fix more POSIX path lstat calls. Fix bug where close can returnJeremy Allison1-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.
2009-02-25Use fsp->posix_open in preference if we have it.Jeremy Allison2-7/+7
Jeremy.
2009-02-25s3-spoolss: fix _spoolss_AddJob behaviour.Günther Deschner1-0/+4
Guenther
2009-02-25Ensure ACL modules work with POSIX paths.Jeremy Allison2-22/+79
Jeremy.
2009-02-25s3: Report the correct path when dumping core on FreeBSDTim Prouty1-1/+83
Utilize the kern.corefile sysctl value on FreeBSD
2009-02-25s3: Refactor and cleanup the error paths in dump_core_setupTim Prouty1-42/+49
2009-02-25s3 OneFS: Add .snapshot directory configuration handlingTim Prouty4-27/+201
2009-02-25Fix use of streams modules with CIFSFS client.Jeremy Allison2-4/+25
Jeremy.
2009-02-25s3-rpcclient: add test command to call netr_LogonGetCapabilities (for bug ↵Günther Deschner1-0/+44
#6100). Guenther
2009-02-25Make test for open modes more robust against other bits.Jeremy Allison1-1/+1
Jeremy.
2009-02-25Fix bug in processing of open modes in POSIX open.Jeremy Allison1-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.
2009-02-25s3-rpcclient: support level 2 in spoolss_addform.Günther Deschner1-12/+42
Guenther
2009-02-25s3-spoolss: make us pass the RPC-SPOOLSS torture test w.r.t. directory calls.Günther Deschner1-38/+24
Guenther
2009-02-25s3-spoolss: JOB_ACCESS_READ has moved to idl.Günther Deschner1-1/+0
Guenther
2009-02-25Fix some NetBSD warnings.Jeremy Allison2-3/+5
Jeremy.
2009-02-25s3-spoolss: remove unused decode_printer_info_7.Günther Deschner1-32/+0
Guenther
2009-02-25s3:events: map TEVENT_DEBUG_TRACE to debug level 10Stefan Metzmacher1-1/+1
metze
2009-02-25s3-rpcclient: allow to set level in spoolss getform query and display all ↵Günther Deschner1-6/+41
levels. Guenther
2009-02-25s3-rpcclient: more uses of is_valid_policy_hnd in spoolss and samr commands.Günther Deschner2-45/+12
Guenther
2009-02-25Fix a missing prototypeVolker Lendecke1-0/+4
2009-02-25Fix an incompatible pointer passed to winbind_get_groupsVolker Lendecke1-1/+3
This is the same bug that was fixed in other places of the code a few times already: A C compiler ONLY does automatic type conversions during an assignment. Passing down a pointer to type A to a function taking type B as an argument does NOT do any automatic type conversions. If required, I can dig up the relevant portions of the C standard.
2009-02-25Convert rpc_sock_write to use tevent_req base async_sendVolker Lendecke1-7/+46
2009-02-25Convert rpc_sock_read to use tevent_req base async_readVolker Lendecke1-10/+47
2009-02-25s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.Günther Deschner2-107/+31
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_getprinter.Günther Deschner3-121/+0
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_setprinter.Günther Deschner4-724/+0
Guenther
2009-02-25s3-spoolss: remove rpccli_spoolss_addprinterex.Günther Deschner4-299/+0
Guenther
2009-02-25s3-spoolss: use rpccli_spoolss_addprinterex wrapper.Günther Deschner2-28/+10
Guenther
2009-02-25s3-net: use rpccli_spoolss_getprinter and rpccli_spoolss_SetPrinter.Günther Deschner1-46/+123
Guenther
2009-02-25s3-rpcclient: use rpccli_spoolss_SetPrinter and rpccli_spoolss_getprinter.Günther Deschner1-61/+124
Guenther
2009-02-25s3-spoolss: add rpccli_spoolss_getprinter convenience wrapper.Günther Deschner2-1/+55
Guenther
2009-02-25s3-spoolss: add rpccli_spoolss_addprinterex convenience wrapper.Günther Deschner2-0/+45
Guenther
2009-02-25s3: Fix 'assignment differ in signedness' warningTim Prouty1-1/+1
2009-02-24s3 OneFS: Fix uninitialized variableTim Prouty1-1/+1
2009-02-24Fix guest mountsSteve French1-1/+3
guest session setup, login (user id) as anonymous. This patch is for samba bugzilla bug 4640. Signed-off-by: Shirish Pargaonkar <shirishp@us.ibm.com> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@samba.org>
2009-02-24Allow set attributes on a stream fnum to be redirected to the base filename.Jeremy Allison1-2/+10
Fixes the new RAW-STREAMS torture test. Jeremy.
2009-02-24s3: Rename auth_onefs_wb and pdb_onefs_samDan Sledz4-74/+105
auth_onefs_wb.c -> auth_wbc.c pdb_onefs_sam.c -> pdb_wbc_sam.c No changes to functionality
2009-02-24s3: onefs_acl.c cleanupDan Sledz1-4/+1
Remove some duplicate code. Add a \n to a debugging statement
2009-02-24S3: Add in profile counters for new vfs and syscall entries.todd stecher6-6/+100
2009-02-25s3-spoolss: remove some left-over hand marshalling code and structs.Günther Deschner3-433/+0
Guenther