summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-03-16Add some appropriate const.Jeremy Allison1-8/+8
Jeremy.
2009-03-16Remove unused async_req references from wb_reqtrans.cVolker Lendecke1-37/+0
2009-03-16Convert wb_trans to tevent_reqVolker Lendecke1-63/+49
2009-03-16Remove an unnecessary variableVolker Lendecke1-5/+4
2009-03-16Make struct wb_context private to wbclient.cVolker Lendecke1-0/+6
2009-03-16Use tevent_wakeup_send in wb_transVolker Lendecke1-15/+13
2009-03-16Convert open_socket_out_defer to tevent_reqVolker Lendecke1-29/+29
2009-03-16Use tevent_wakeup_send in open_socket_out_deferVolker Lendecke1-22/+15
2009-03-15Add queue argument to wb_resp_writeVolker Lendecke1-2/+3
2009-03-12Remove the static "struct client_connection" mess which is part ofJeremy Allison1-12/+16
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:events: pass __location__ to event_loop_*()Stefan Metzmacher1-3/+3
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-09Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij5-308/+227
2009-03-09s3:lib: interfaces.c isn't used in the configure tests anymoreStefan Metzmacher1-73/+1
libreplace always provides the getifaddr() function. This fixes the build on sles8. metze
2009-03-09fix "dubious escape" warning of Studio compilerBjörn Jacke1-1/+1
2009-03-08Don't copy the winbindd_request in wb_transVolker Lendecke1-30/+2
2009-03-08Convert wb_open_pipe to tevent_reqVolker Lendecke1-51/+47
2009-03-08Convert wb_connect to tevent_reqVolker Lendecke1-38/+30
2009-03-08Convert wb_int_trans to tevent_reqVolker Lendecke1-69/+63
2009-03-08Add parameter "queue" to wb_int_trans_sendVolker Lendecke1-6/+7
2009-03-08Move "struct req_read_state" where it belongsVolker Lendecke1-5/+5
2009-03-08Convert wb_resp_write to tevent_reqVolker Lendecke1-13/+12
2009-03-08Convert wb_resp_read to tevent_reqVolker Lendecke2-25/+22
2009-03-08Convert wb_req_read to tevent_reqVolker Lendecke1-17/+16
2009-03-08Convert wb_req_write to tevent_reqVolker Lendecke2-27/+28
2009-03-08Add tevent_req wbc helpersVolker Lendecke1-0/+37
2009-03-08Add "queue" to writev_sendVolker Lendecke1-2/+2
Unless higher levels queue themselves somehow, writev will *always* be queued. So the queueing should be done at the right level.
2009-03-08Revert accidental reintroduction of void ** bug.Jelmer Vernooij1-1/+1
2009-03-06s3:errormap: add ECANCELED, ERRDOS/ERRbadfid, NT_STATUS_CANCELLED mappingStefan Metzmacher1-0/+3
If someone knows a better dos error, please tell me... metze
2009-03-04s3:dbwrap_ctdb_marshall_add: don't leak the ctdb_rec_data to the outsideMichael Adam1-6/+6
Michael
2009-03-04s3:smbconf: move smbconf_share_exists checks into backendMichael Adam1-4/+9
Michael
2009-03-04s3: Remove madvise supportSteven Danneman1-7/+0
This reverts 193be432. The MADVISE_PROTECT is inherited by all child processes and cannot be unset. The intention of the original patch was to protect the parent process, but allow children to be killed in low memory. Since this isn't possible with the current API, reverting the whole feature.
2009-03-04s3: Fix a memleak in dbwrap_rbt.Michael Adam1-4/+4
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of the db context. This is a quick fix using talloc instead of malloc for allocation of the node data. Since malloc was originally used for performance reasons, one might want to reverse to malloc and create a talloc destructor that walks the tree and frees all the node data if this talloc approach proves to be too slow.. Michael
2009-03-03Fix "ignore return" warning.Jeremy Allison1-2/+3
Jeremy.
2009-03-02Fix wbclient.c wrt tevent_req changes too.Simo Sorce1-4/+3
2009-03-02Attempt to fix the buildVolker Lendecke1-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-02Make struct tevent_req opaqueSimo Sorce2-30/+23
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-02Use samba3's own iconv implementation for now, until all changes areJelmer Vernooij1-2/+2
merged.
2009-03-01s3: Fix incompatible type warningsTim Prouty1-1/+1
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij3-411/+16
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij2-3/+3
2009-03-01Move secacl to top-level.Jelmer Vernooij1-118/+0
2009-03-01Move secace.c to top-level.Jelmer Vernooij2-293/+16
2009-03-01Merge branch 'master' of ssh://git.samba.org/data/git/samba into talloc-nextJelmer Vernooij1-4/+4
2009-03-01Move next_token_talloc() to top-level.Jelmer Vernooij1-112/+0
2009-03-01Eliminate two duplicate SEC_ACE_TYPE constants already provided byJelmer Vernooij1-4/+4
security.idl.
2009-02-28Fix async reading winbindd_responseVolker Lendecke1-1/+1
2009-02-26Remove a temporary debug message -- sorryVolker Lendecke1-1/+0
2009-02-26Convert open_socket_out to tevent_reqVolker Lendecke1-41/+41
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