summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-02tsocket: remove DGRAM support from tsocket_contextStefan Metzmacher7-564/+0
metze
2009-04-02libcli/cldap: convert to tsocket_* function to tdgram_*Stefan Metzmacher1-45/+38
metze
2009-04-02tsocket: optimize tdgram_bsd a lotStefan Metzmacher1-27/+54
The desire is to do as less syscalls during the tdgram_sendto_send/recv() and tdgram_recvfrom_send/recv() operations. 1. we first try the sendto()/recvfrom() syscall and only use a fd event if we got EAGAIN. 2. we cache the fd event and only change it's flags if really needed. For the highload case we do almost no epoll_ctl() and epoll_wait()/select() syscalls anymore. This speeds up the LDAP-BENCH-CLDAP test by more than 20%. (With a modified version of this test which let the server skip any ldb calls and just return success I'm getting about 8000 requests per second, while I'm getting just about 6000 requests per second without optimization) metze
2009-04-02tsocket: add tdgram_sendto_queue_send/recv()Stefan Metzmacher2-0/+143
metze
2009-04-02tsocket: split out a smaller tdgram_context abstractionStefan Metzmacher4-0/+1192
The idea is to have a tdgram and a tstream abstraction which only provide tevent_req based io functions. metze
2009-04-02s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner1-5/+238
Guenther
2009-04-01s4 torture: Addition to RAW-BENCH-LOCK to take a configurable number of ↵Zack Kirsch1-1/+19
locks before starting the test This can be useful for benchmarking as well as stress testing.
2009-04-01s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/gZach Loafman4-10/+10
2009-04-01Allow pdbedit to change a user rid/sid. Based on a fix from Alexander ↵Jeremy Allison1-3/+57
Zagrebin <alexz@visp.ru>. Jeremy.
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison4-46/+210
2009-04-01s3 onefs: Quiet a log message about oplocks being requested on streamsTim Prouty1-21/+16
2009-04-01s4 torture: Remove unused parameterTim Prouty1-14/+7
2009-04-01s4 torture: Add new streams oplock testTim Prouty1-0/+176
2009-04-02s3:net conf: don't store share names as lower case, but as given.Michael Adam1-11/+11
Michael
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison12-232/+1297
2009-04-01s3-auth: rename static smb_create_user(). Sorry...Günther Deschner1-2/+2
Guenther
2009-04-01s3-libnet-samsync: return appropriate error code in fetch_sam_entry().Günther Deschner1-22/+25
Guenther
2009-04-01s3-libnet-samsync: use smb_create_user().Günther Deschner1-46/+6
Guenther
2009-04-01s3-passdb: add smb_create_user().Günther Deschner2-0/+63
Guenther
2009-04-01s3-libnet-samsync: some pure cosmetics.Günther Deschner1-0/+30
Guenther
2009-04-01s3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.Günther Deschner1-26/+28
Guenther
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison12-174/+342
2009-04-01s4:torture/smb2: Add torture tests for lease breaks, durable opens.Zach Loafman2-136/+988
2009-04-01s4:smb2: Add lease break support for SMB2.1Zach Loafman6-12/+167
Add the structures and marshalling for the lease break variants of the oplock break / oplock break ack messages.
2009-04-01s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks ↵Günther Deschner1-12/+16
when filled in. Guenther
2009-04-01lib/util: fallback to any id in idr_get_new_random()Stefan Metzmacher1-2/+6
metze
2009-04-01libcli/cldap: fix memory/resource leakStefan Metzmacher1-1/+8
We need to remove the message id, when a search request is finished metze
2009-04-01Print an error if trying a merged build without a system kerberos libVolker Lendecke1-0/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-01s3: fix the fix for bug #6195 - dont let smbd child processes panicMichael Adam1-2/+16
This patch makes sure the original and temporary TDBs are closed _before_ the rename. Originally, the open TDB was renamed, and so the name passdb.tdb.tmp stayed around in the db context. Hence upon client connect, the smbd children died because reinit_after_fork() calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which existed no longer... Michael
2009-04-01s3:build: add targets to show how libraries will be built / linkedMichael Adam1-0/+120
showlibtalloc, showlibtdb, ... and one overall showlibs target. Michael
2009-04-01s3:build: don't build the static libs unconditionallyMichael Adam1-7/+7
Michael
2009-04-01s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to MakefileMichael Adam1-0/+2
for completeness Michael
2009-04-01s3:build: no need to set LIBFOO_STATIC to the object collection any moreMichael Adam1-1/+1
now that the @LIBFOO_STATIC@ entries have vanished from the object lists. Just use the static library. Michael
2009-04-01s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unificationMichael Adam2-31/+31
Michael
2009-04-01s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@Michael Adam2-53/+55
just like for the libs configured with SMB_LIBRARY(). This makes @LIBWBCLIENT_STATIC@ vanish from the object collections. Michael
2009-04-01s3:build: first cut at fixing linking of shared/static libs internallyMichael Adam2-79/+85
This is based on a patch from the debian packages by Steve Langasek <vorlon@debian.org>. It removes the static libs from the object collections. For those libs that are set up with SMB_LIBRARY(). Michael
2009-03-31Tidy up some convert_string_internal error cases, found by Andrew Bartlett.Jeremy Allison1-6/+19
Jeremy.
2009-03-31s3 onefs: Add missing newlines to debug statements in the onefs moduleTim Prouty4-15/+16
2009-03-31s3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while ↵Zack Kirsch1-2/+2
running many of the LOCK torture tests. Return true from the onefs cancel function if we've errored, which can happen when the CBRL domain is configured to only give out 1 lock. :)
2009-03-31tdb: Remove unused variableTim Prouty1-1/+0
2009-03-31Fix an uninitialized variable valgrind errorVolker Lendecke1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-31tsocket: try to fix the build on solaris FIONREAD was missingStefan Metzmacher1-0/+1
metze
2009-03-31s3:build: fix build of pam_winbind.so with static linkingMichael Adam1-1/+1
Static talloc libs were missing since conversion to talloc. Michael
2009-03-31s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebledMichael Adam1-0/+15
Michael
2009-03-31s3:build: line-wrap assignment of FLAGS for readabilityMichael Adam1-1/+10
Michael
2009-03-31change ldb version number (as ldb_module structure has changed)Andrew Tridgell2-2/+2
2009-03-31use the prepare_commit op in the partition codeAndrew Tridgell1-14/+49
This makes multi-partition ldb's much safer
2009-03-31added support for a prepare_commit() op in ldb modulesAndrew Tridgell6-5/+36
This op will be used by the partition module to give us good transaction semantics across the 4 partitions that sam.ldb uses.
2009-03-31up the version to 1.1.4 with the addition ofAndrew Tridgell1-1/+1
tdb_transaction_prepare_commit()
2009-03-31Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell6-4/+74