summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-03-24wbclient: Fix use of wb_int_trans_send, queue parameter must not be NULLKai Blin1-6/+6
2009-03-23Add tevent avahi bindingVolker Lendecke1-0/+268
2009-03-20s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-20s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-20s3-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner1-7/+3
Guenther
2009-03-19add a versiontest program to print samba_version_string().Michael Adam1-0/+26
This is to allow for testing samba_version_string() without the need to compile any of the larger binaries like smbd or net... Michael
2009-03-19s3: Fix a free of an uninitialized variable in winbind_get_sid_aliasesDan Sledz1-1/+0
2009-03-19s3:lib/util_sock: use sys_recv() instead of sys_read() on socketsStefan Metzmacher1-2/+2
This ways the pcap support in socket wrapper sees the received data. metze
2009-03-18s3: remove POLICY_HND.Günther Deschner3-10/+10
Guenther
2009-03-18s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner1-16/+0
Guenther
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2-16/+56
callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
2009-03-17s3:events: add support for immediate eventsStefan Metzmacher1-9/+15
metze
2009-03-17s3:events: make use of tevent_common_loop_wait()Stefan Metzmacher1-12/+1
metze
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.