summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-13s3-spoolss: add macros from s4 spoolss server.Günther Deschner1-0/+10
Guenther
2009-03-12Remove the static "struct client_connection" mess which is part ofJeremy Allison7-139/+117
the problem that stops libsmbclient being thread safe. Subsidiary DFS connections are now hung off a list inside the cli_state struct. Much more to do in order to get libsmbclient to thread safety, but this is a good start. Jeremy.
2009-03-12s3 torture: Fix unitialized variable to avoid closing a random fnumTim Prouty1-1/+1
2009-03-12s3 pdb_wbc_sam: LookupRids should return sAMAccountName, not NT4 namesDan Sledz1-5/+7
Also fix an incorrect TALLOC_FREE
2009-03-12tevent: Fix might be unitialized warningTim Prouty1-1/+1
2009-03-12Fix bug #6186 - map readonly does not workJeremy Allison2-3/+33
Jeremy.
2009-03-12s3-spoolss: make jobname a const char * in print_job_start().Günther Deschner3-3/+3
Guenther
2009-03-12s4:build: try to fix the build with the ibm checker in the build-farmStefan Metzmacher1-1/+1
The problem is that the shell eats the quotes in -DFOO="foo, bar, NULL" metze
2009-03-12tevent: add tevent_loop_until()Stefan Metzmacher2-0/+68
This is only a hack for samba4 and should not be used in new code. metze
2009-03-12tevent: add tevent_loop_set_nesting_hook()Stefan Metzmacher3-1/+50
This is an ugly hack to let the s4 server work arround some bugs related to nested events and uid changing. metze
2009-03-12s4:events: allow nested events until we fixed all code to avoid themStefan Metzmacher1-0/+2
metze
2009-03-12s4:ldb: allow nested events until the code is fixed to avoid themStefan Metzmacher1-1/+3
metze
2009-03-12tevent: don't allow nested tevent_loop_once() anymoreStefan Metzmacher3-1/+53
Incompatible caller should use tevent_loop_allow_nesting() function. metze
2009-03-12s3:events: pass __location__ to event_loop_*()Stefan Metzmacher1-3/+3
metze
2009-03-12tevent: pass __location__ to tevent_loop_once/wait()Stefan Metzmacher6-17/+22
metze
2009-03-12tevent: add tevent_set_abort_fn()Stefan Metzmacher2-0/+21
metze
2009-03-12tevent: add tevent_signal_support()Stefan Metzmacher2-0/+10
Not every tevent backend supports signal events. metze
2009-03-12talloc: add talloc_set_abort_fn()Stefan Metzmacher2-4/+33
metze
2009-03-12s4:ldb: setup tevent debug functions on a selfcreated event contextStefan Metzmacher1-0/+35
metze
2009-03-12Revert "s3:libsmb: add an option to cli_push to let the caller provide the ↵Stefan Metzmacher4-43/+17
buffers" This reverts commit 9579a6f193f570e4ce2af80f4aac7c2f25ae5b22. It's confusing to have a boolean to alter the behavior of cli_push and as the new feature isn't used yet I revert it. We can readd a extra function later. metze
2009-03-12Fix #6167: winbindd -n should disable the winbind idmap cacheVolker Lendecke1-20/+50
2009-03-12Make opt_nocache static to winbindd.cVolker Lendecke4-7/+17
2009-03-12use a base64 encoded password when changing passwordsAndrew Tridgell1-2/+3
This avoids problems with embedded control characters in password changes
2009-03-12fixed more embedded spaces in LDIFAndrew Tridgell1-3/+3
This one added 3 spaces to the end of any new passwords
2009-03-12removed leading spaces from embedded ldifAndrew Tridgell1-10/+10
This fixes the problem with the setpassword command failing like this: Error: First line of ldif must be a dn not ' dn'
2009-03-11Add simple POSIX open, mkdir and rmdir test.Jeremy Allison1-0/+114
Jeremy.
2009-03-11s3 torture: Simple warning fixTim Prouty1-1/+1
2009-03-11fix configure check by avoiding main(main(...))Björn Jacke1-7/+4
AC_TRY_LINK automatically wraps a main(). Double main() causes this test to fail on some compilers.
2009-03-11LDAP-BENCH-CLDAP: also test CLDAP rootdse searches.Stefan Metzmacher1-6/+79
metze
2009-03-11async_sock: fix truncating of the temporary iovec in writev_send/recv()Stefan Metzmacher1-1/+1
Volker: please check! metze
2009-03-11spoolss: fix typo in spoolss_EnumPrintProcessors_info union helper fn.Günther Deschner2-4/+4
Guenther
2009-03-11spoolss: fix typo in spoolss_EnumJobs_info union helper fn.Günther Deschner2-2/+2
Guenther
2009-03-11lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher2-0/+5
This should fix the build on some hosts. metze
2009-03-10Add a vfs_preopen module to hide fs latenciesVolker Lendecke4-1/+578
2009-03-10Update instructions for checking out pidl.Brad Hards1-2/+3
2009-03-10Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslogVolker Lendecke1-5/+5
I think we eventually need to pass down the debuglevel here.
2009-03-10tevent: add tevent_req_callback_data_void() macroStefan Metzmacher1-0/+2
Callers can use it instead of tevent_req_callback_data() if they use a non talloc private pointer. metze
2009-03-10tevent: add tevent_req_received() functionStefan Metzmacher3-2/+29
This function can be called as last action of a _recv() function, it destroys the data attached to the tevent_req. metze
2009-03-10Fix extended operation return path.Simo Sorce1-8/+12
Extended operations return was not going thorugh the same patch as others leaving the ctx around. Plus we were neutralizing the spy too early so that it didn't set the request_terminated flag as it should have. This should hopefully fix the failures in the build farm.
2009-03-10s3:libsmb: add an option to cli_push to let the caller provide the buffersStefan Metzmacher4-17/+43
metze
2009-03-10s3:libsmb: only treat a return 0 as end of fileStefan Metzmacher1-4/+1
metze
2009-03-10s3:libsmb: fix a lot of cli_push() bugsStefan Metzmacher1-95/+107
There were the following problems: 1.) if window_size was a multiple of the chunk_size, we silently dropped the last truncated chunk. 2.) if window_size was 0 pushed only the first chunk to the server and silently dropped the rest. 3.) we had only transferred state->num_reqs writes, even if there would be more data to send. metze
2009-03-10socket_wrapper: wrap readv() and writev()Stefan Metzmacher2-7/+137
metze
2009-03-10fixed a bug in message handling for code the change notify codeAndrew Tridgell1-2/+16
The change notify code registered a separate message handler for each tree connect. This registration uses the global messaging context. The messaging code would consider a 2nd registration for the same messaging type as being an 'update' of the handler, rather than a new handler. It also would only call the first handler in the linked list for a given message type when dispatching messages. This patch changes the messaging code to allow for multiple registrations of the same message type, and allow for multiple calls to different messaging handler for one incoming message. This fixes the problem with the test_notify_tcon() test that I recently committed to the S4 smbtorture
2009-03-10added a test that triggers a bug in the Samba3 notify codeAndrew Tridgell1-0/+169
The Samba3 internal notify code doesn't work correctly when there is more than one tree connect to the same smbd process. This change to the RAW-NOTIFY test triggers the bug.
2009-03-09Fix potential segfaults using freed memory.Simo Sorce4-10/+54
In some code paths ltdb_context was still referenced even after we were returned an error by one of the callbacks. Because the interface assumes that once an error is returned the ldb_request may be freed, and because the ltdb_context was allocated as a child of the request, this might cause access to freed memory. Allocate the ltdb_context on ldb, and keep track of what's going on with the request by adding a spy children on it. This way even if the request is freed before the ltdb_callback is called, we will safely free the ctx and just quietly return.
2009-03-09Fix prototype mismatch.Jelmer Vernooij1-1/+1
2009-03-09Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij50-1834/+2040
2009-03-09use LIB_PATH_VAR in selftest.sh if we have itBjörn Jacke1-6/+7
if we have LIB_PATH_VAR we should use it, otherwise we'll unobtrusively complain about not having it and use the most likely LD_LIBRARY_PATH. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-09s3/packaging: Fix typo in comment.Karolin Seeger1-1/+1
Karolin